plugin.video.netflix icon indicating copy to clipboard operation
plugin.video.netflix copied to clipboard

KeyError and KeyError lolomo after select profile

Open jamtwister opened this issue 6 years ago • 41 comments

Bug report

Starting netflix addon, immediately after select profile, results in KeyError. Please look at log for more details.

Your Environment

  • Netflix add-on version: Version 1.3.2
  • Operating system version/name: OSMC 2020.03-1 with Kodi 18.6
  • Device model: Raspberry Pi 3 Model B Rev 1.2

Used Operating system:

  • [ ] Android
  • [ ] iOS
  • [ ] Linux
  • [ ] OSX
  • [x] Raspberry-Pi OSMC
  • [ ] Windows

Describe the bug

After selecting the profile, the KeyError is shown. It worked 2 days ago with version 1.3.1. I tried it with version 1.3.0 / 1.3.1 / 1.3.2. The result is always the same -> KeyError For more details please have a look at the log file.

Expected behavior

No KeyError should be raised when selecting the profile.

Actual behavior

After selecting the profile, the KeyError is shown. After error confirmation, it stays at the profile selection

Steps to reproduce the behavior

  1. open video addons
  2. select netflix and confirm
  3. select your profile and confirm

Possible fix

Debug log

The debug log can be found from this link: https://paste.kodi.tv/ewujemosiw.kodi

Additional context or screenshots (if appropriate)

Installation

  • [ ] I'm using other Netflix Repo
  • [ ] I'm using a different source
  • [x] installed from repository castagnait with was added with repository.castagnait-1.0.1.zip

Other information

Screenshots

jamtwister avatar May 21 '20 19:05 jamtwister

Hi i need a new log updated with this: [DELETED] plugin.video.netflix_1.3.2_20200522_t2.zip

CastagnaIT avatar May 22 '20 06:05 CastagnaIT

Hi here is the new log. I hope it contains the info you need ;) https://paste.kodi.tv/iwaroketub.kodi

jamtwister avatar May 23 '20 07:05 jamtwister

well seem that netflix has changed again some data...

I believe that the rollout of this new change is slow, in my country there's still no sign of this change

you will have to wait and see how to proceed because as i can see from your data, there will be other problems to solve as well

CastagnaIT avatar May 23 '20 10:05 CastagnaIT

@CastagnaIT If it helps you, Im having the same error. I'm attaching my logs here as well: log-2020-05-23-20.10.54.zip

The above build is for Leia, doesn't run on my Kodi Matrix. If you would provide me with a build for Matrix, I can repeat that test.

I could also test debug builds for you.

I guess, unless you have a fix, there is no workaround for the problem.

tweimer avatar May 23 '20 20:05 tweimer

the only way to understand what these new changes consist of is to debug the browser communications, so i will have to wait for these changes to be implemented to the whole netflix community

if you do not using the sync of watched status, i think is possible try to exclude part of the source code

CastagnaIT avatar May 24 '20 06:05 CastagnaIT

Same problem on LibreElec 9.2.2 x64 with Netflix add-on 1.3.0/1.3.1/1.3.2 in Germany. If you need an additional log file, grab this one:

https://paste.ubuntu.com/p/htNSpczmGb/

Thanks!

orclex avatar May 25 '20 08:05 orclex

i found some info from website, with this should start netflix but i need to fix the sync of watched status

then i need a new verbose debug log, in this way:

CastagnaIT avatar May 25 '20 12:05 CastagnaIT

@CastagnaIT Do you have it for Matrix too?

tweimer avatar May 25 '20 14:05 tweimer

Added to the post

CastagnaIT avatar May 25 '20 14:05 CastagnaIT

Wow, that looks good. Here are the logs. log-2020-05-25-17.41.33.zip

tweimer avatar May 25 '20 17:05 tweimer

i need a nf debug log instruction in readme

CastagnaIT avatar May 25 '20 18:05 CastagnaIT

Sorry. Is this verbose enough?

log-2020-05-25-18.26.39.zip

tweimer avatar May 25 '20 18:05 tweimer

seem that LE do not output print command try use this: plugin.video.netflix_1.3.2+matrix.1_20200525_t3edited.zip

CastagnaIT avatar May 25 '20 18:05 CastagnaIT

Here you go: log-2020-05-25-18.40.16.zip

tweimer avatar May 25 '20 18:05 tweimer

now i see the data but there is no what i assumed

please try reboot the device and get a new log after opened a profile

CastagnaIT avatar May 25 '20 18:05 CastagnaIT

This is a complete login sequence on a clean install: log-2020-05-25-19.00.55.zip

tweimer avatar May 25 '20 19:05 tweimer

no sad.... if you have reinstalled the addon by deleting also addon data you have reset the web session, i need a pre existent web session active or do not return different data

now you have to reboot kodi again and get another log...

CastagnaIT avatar May 25 '20 19:05 CastagnaIT

Okay, I made two new logs. Am I doing it right this time? log-2020-05-25-19.13.42.zip log-2020-05-25-19.15.58.zip

tweimer avatar May 25 '20 19:05 tweimer

I can not know for sure because i can not make comparisons, in my country there are not yet these changes, i can make only suppositions

so the data is there, but netflix doesn't seem to provide the lists i need anymore, at least for now...(locos list is empty)

I think there are two solutions:

  • temporary disable "sync watched status with netflix" with the accounts that use the new method, until in my country netflix rollout the changes
  • try to implement a temporary workaround, perhaps i can resume old code but need testers offering to test changes

CastagnaIT avatar May 26 '20 07:05 CastagnaIT

Well, I can test things for you.

tweimer avatar May 26 '20 07:05 tweimer