Plugin.video.netflix: Addon open/login fails with KeyError 'lolomo'

Created on 17 Jun 2020  ยท  67Comments  ยท  Source: CastagnaIT/plugin.video.netflix

Bug report

Your Environment

  • Netflix add-on version: 1.4.1
  • Operating system version/name: MacOSX
  • Device model:

Used Operating system:

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

Describe the bug




Login fails with KeyError.

https://paste.kodi.tv/awisikaboh.kodi

Expected behavior



Expect to be able to login.

Actual behavior



I get an error dialog box.

Steps to reproduce the behavior

  1. Install addon
  2. Run addon
  3. Try and login

Possible fix


Debug log


The debug log can be found from this link:

Additional context or screenshots (if appropriate)

Installation

  • [ ] I'm using other Netflix Repo
  • [ ] I'm using a different source

Other information


Screenshots

Fixed Confirmed

Most helpful comment

Temporary update fix

I have temporary fixed the error on app opening, but i think that netflix will make Lolomo lists deprecated, the signals are there.

This means that in the next few days or weeks (...when netflix will change...) also the main menu will be completely non-working and also other menu lists.

More extensive modifications are required, i will be performing some tests in the next days to understand better way to get the main menu

I attach a temporary fix but WARNING:

  • Can happen that raise unexpected errors
  • If you use "Sync of watched status with netflix" can happen that stop working or raise errors

Kodi 18.x: plugin.video.netflix_1.4.1_20200618_t1.zip
Kodi 19.x: plugin.video.netflix_1.4.1+matrix.1_20200618_t1.zip

All 67 comments

Started having the same issue today. Netflix plugin Version 1.4.1 running on Linux Elementary OS, Kodi 18.7.

Also having this issue on a Pi 4 running LibreELEC and version 1.4.1 of this addon that was first installed yesterday and working earlier today.

I also got an error that said u'lolomo' at one point but I haven't been able to replicate it, and I'm unsure if it's related.

I'm not sure where the data for this check is gotten, but I was able to get the addon to load again by bypassing the isLocoSupported check in websites.py. Specifically line 105 I changed:

if user_data.get('isLocoSupported'):

to

if True:

That forces the added to use loco instead of lolomo (whatever that means). At least for me that allows the addon to load as normal. Unfortunately after that nothing plays, so whatever the issue is, it's deeper in Netflix.

Same here, OSMC, Kodi 18.7, Netflix 1.4.1

./resources/lib/services/nfsession/nfsession_requests.py
And in ./resources/lib/api/website.py:

What is the path to these on Linux (OSMC, Pi 3B+)?

Likely in your /home/osmc/.kodi folder, you can use find to see.

osmc@osmc:~$ find /home/osmc -name website.py
/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/api/website.py

I haven't tried it on my OSMC box, using Windows at the moment.

It might be the issue is just isLocoSupported was removed, so maybe the hack is to force a value to false. Yeah it appears this will work as well:

in ./resources/lib/api/website.py:
before line 104 add:
user_data['isLocoSupported'] = 'false' # ADD LINE
g.LOCAL_DB.set_value('is_loco_supported', user_data.get('isLocoSupported'), TABLE_SESSION)
if user_data.get('isLocoSupported'):

That fixed the KeyError on my Mac, but not playback. On my OSMC device it does seem to work now (although in my brief tests I can only get 540p streams - I'll look at that next). Now that I think about it, Netflix has never worked on my Mac.

Yeah 540p is another issue, seems to only affect ARM devices and it something on the Netflix end.
See #655 for more on the 540p problem.

also happening on my RasPi4 running current xbian with addon v1.4.1 in kodi 18.7
the WideVine update yesterday wouldn't have anything to do with this, would it?

Also happening on my Raspberry Pi 3 B with LE9.2 and on PC with Kodi 18.7:
image

KeyError with Pi4 on LibreELEC 9.2.1.
Plugin version 1.4.1

Same error here. Windows 10 Kodi Leia. Working fine with no changes yesterday.

Same issue on pi 3 with both LibreELEC and osmc as OS. Got it working by reverting to here LAva version 0.16.1 on LibreELEC, guess I will run with that until this gets fixed

It might be the issue is just isLocoSupported was removed, so maybe the hack is to force a value to false. Yeah it appears this will work as well:

in ./resources/lib/api/website.py:
before line 104 add:
user_data['isLocoSupported'] = 'false' # ADD LINE
g.LOCAL_DB.set_value('is_loco_supported', user_data.get('isLocoSupported'), TABLE_SESSION)
if user_data.get('isLocoSupported'):

this worked for me. Thank you.

I'm not sure where the data for this check is gotten, but I was able to get the addon to load again by bypassing the isLocoSupported check in websites.py. Specifically line 105 I changed:

if user_data.get('isLocoSupported'):

to

if True:

That forces the added to use loco instead of lolomo (whatever that means). At least for me that allows the addon to load as normal. Unfortunately after that nothing plays, so whatever the issue is, it's deeper in Netflix.

It might be the issue is just isLocoSupported was removed, so maybe the hack is to force a value to false. Yeah it appears this will work as well:

in ./resources/lib/api/website.py:
before line 104 add:
user_data['isLocoSupported'] = 'false' # ADD LINE
g.LOCAL_DB.set_value('is_loco_supported', user_data.get('isLocoSupported'), TABLE_SESSION)
if user_data.get('isLocoSupported'):

Yeah, looks like neither of those are working for me, hopefully we get an update fixing this soon. I'm running OSMC, Rpi 3B+, Kodi 18.7.

@pkscout you have not follow the instruction to get a right log
i need a new log

@maurerr follow the rules or all your post will be banned

well, seem that today netflix roll out the website changes also to my country,
i will check better what changes is needed

Same issue for me.
Rollback version 1.1.1 is ok under windows 10 and android 9.0.

I can confirm that the plugin loads and functions correctly when changing line 105 to if True:
If there is anything I can do @CastagnaIT just gimme a shout.

I'm not sure where the data for this check is gotten, but I was able to get the addon to load again by bypassing the isLocoSupported check in websites.py. Specifically line 105 I changed:

if user_data.get('isLocoSupported'):

to

if True:

That forces the added to use loco instead of lolomo (whatever that means). At least for me that allows the addon to load as normal. Unfortunately after that nothing plays, so whatever the issue is, it's deeper in Netflix.

this seems to work for me.
Thanks

I advice people to wait for #703 to be merged and update the plugin. #703 resolves a bit more than just changing line number 105.

Temporary update fix

I have temporary fixed the error on app opening, but i think that netflix will make Lolomo lists deprecated, the signals are there.

This means that in the next few days or weeks (...when netflix will change...) also the main menu will be completely non-working and also other menu lists.

More extensive modifications are required, i will be performing some tests in the next days to understand better way to get the main menu

I attach a temporary fix but WARNING:

  • Can happen that raise unexpected errors
  • If you use "Sync of watched status with netflix" can happen that stop working or raise errors

Kodi 18.x: plugin.video.netflix_1.4.1_20200618_t1.zip
Kodi 19.x: plugin.video.netflix_1.4.1+matrix.1_20200618_t1.zip

Thanks for the quick update!

I installed the fix for Kodi18.x.
Now I can enter (after logging in Netflix) and see my profile and lists but when I play any movie I get the following error:
Playback error: Email or password is incorrect
and it logs me out (need to log in again and still does not work).

Debug log: http://ix.io/2pum

Great work. WAF restored! Thanks

Great work. WAF restored! Thanks

yup WAF levels are restored to normal

Great work. WAF restored! Thanks

What is WAF?

@MartChic

Wife Acceptance Factor

Thanks for the work! Had the same issue with LibreELEC on a Raspberry Pi 4. I can confirm that the hotfix is working. Thanks a lot! :+1:

worked for me as well, thanks! ๐Ÿ’ช

raspberryPi3, kodi 18.6

Bug report

Your Environment

  • Netflix add-on version: 1.4.1
  • Operating system version/name: LibreELEC 9.2.3
  • Device model: Raspi 4
  • Kodi version: 18.7.1 (Git:Leia-pi4_18.7.1.-Leia)

Used Operating system:

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

Describe the bug

Login fails with KeyError.

Expected behavior

Expect to be able to login.

Actual behavior

I get an error dialog box.

Steps to reproduce the behavior

  1. Start Netflix addon
  2. Error appears

Possible fix

Additional context or screenshots (if appropriate)

Installation

  • [x] I'm using other Netflix Repo
  • [ ] I'm using a different source

Other information

Screenshots

Bug report

Your Environment

  • Netflix add-on version: 1.4.1
  • Operating system version/name: LibreELEC 9.2.3
  • Device model: Raspi 4
  • Kodi version: 18.7.1 (Git:Leia-pi4_18.7.1.-Leia)

Used Operating system:

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

Describe the bug

Login fails with KeyError.

Expected behavior

Expect to be able to login.

Actual behavior

I get an error dialog box.

Update with: Kodi 18.x: plugin.video.netflix_1.4.1_20200618_t1.zip did help and playback is working again, no issues so far.

Kodi 18.x: plugin.video.netflix_1.4.1_20200618_t1.zip

Hotfix version working for CoreElec 9.2.3 on Odroid N2. Thanks for that!

Version 1.4.1, I am also getting KeyError message on Nvidia Shield, Kodi 18.7.

Yesterday was working though.

This new version worked for me as well. I hope Netflix better supports this sort of thing in the future and that this temporary fix can be more permanent (otherwise they may lose a customer).

Here's a reminder of how to install Kodi add-ons from zip files.

The Kodi 18.x file I installed had the following stats:

filename: plugin.video.netflix_1.4.1_20200618_t1.zip
size:     1497878
md5:      3ae0169754c955dfe617b4393104968f
sha1:     1dabc3e78f3d4ec95dbae6d944aee5f94eaa59dc
sha256:   5a6e76818f00921b9029a60dfe807048ff1ecfcdf5e5d0a87c4d53bd3aa2c005

I hope Netflix better supports this sort of thing in the future and that this temporary fix can be more permanent (otherwise they may lose a customer).

Kind of a moving target, Netflix is probably not very concerned with supporting non-mainstream devices. I can tolerate it as long as the guys graciously supporting the add-on can keep up. Only lost a day of use. I think this is only the second time I've had trouble with the add-on since I've been using it.

It might be the issue is just isLocoSupported was removed, so maybe the hack is to force a value to false. Yeah it appears this will work as well:

in ./resources/lib/api/website.py:
before line 104 add:
user_data['isLocoSupported'] = 'false' # ADD LINE
g.LOCAL_DB.set_value('is_loco_supported', user_data.get('isLocoSupported'), TABLE_SESSION)
if user_data.get('isLocoSupported'):

This fix worked for me as well, thanks

The fix worked on leia 18.7 on windows 10.
Thanks :)

Funciono en Raspberry pi3 kodi 18.7 en libreelec 9.2.3

It might be the issue is just isLocoSupported was removed, so maybe the hack is to force a value to false. Yeah it appears this will work as well:

in ./resources/lib/api/website.py:
before line 104 add:
user_data['isLocoSupported'] = 'false' # ADD LINE
g.LOCAL_DB.set_value('is_loco_supported', user_data.get('isLocoSupported'), TABLE_SESSION)
if user_data.get('isLocoSupported'):

Thanks for the quick fix. I try this and succeed.

For folks that might have overlooked it, there is a fix from the author in this comment.
https://github.com/CastagnaIT/plugin.video.netflix/issues/701#issuecomment-645910348

Yes the fix worked on 18.7

Thanks a lot. Fix is working in Kodi 18.7, Ubuntu 18.04.

I'm happy that the temporary fix works,
but this is not a forum where each one can talk freely, this is a development section

therefore post not related to the problem will be moderated
to give space to those who really have problems,
thanks to all

Thanks for the quick update!

I installed the fix for Kodi18.x.
Now I can enter (after logging in Netflix) and see my profile and lists but when I play any movie I get the following error:
Playback error: Email or password is incorrect
and it logs me out (need to log in again and still does not work).

Debug log: http://ix.io/2pum

This problem is not related to this issue,
You can try follow instruction on wiki:
https://github.com/CastagnaIT/plugin.video.netflix/wiki/FAQ-%28Errors%29#email-or-password-is-incorrect

or also follow the issue thread already opened with title:
_Can't login on Netflix plugin - Incorrect password_

Temporary update fix

I have temporary fixed the error on app opening, but i think that netflix will make Lolomo lists deprecated, the signals are there.

This means that in the next few days or weeks (...when netflix will change...) also the main menu will be completely non-working and also other menu lists.

More extensive modifications are required, i will be performing some tests in the next days to understand better way to get the main menu

I attach a temporary fix but WARNING:

* Can happen that raise unexpected errors

* If you use "Sync of watched status with netflix" can happen that stop working or raise errors

Kodi 18.x: plugin.video.netflix_1.4.1_20200618_t1.zip
Kodi 19.x: plugin.video.netflix_1.4.1+matrix.1_20200618_t1.zip

works nice for the moment, thx for your work!!
(Tested on kodi 18.6 raspberry pi)

Hey
Fix works perfectly on CoreELEC 9.2.3
Thanks a lot

the fix worked wonderfully, excellent work @CastagnaIT
My device raspberry pi 2+ Kodi version 18.6 Leia SO: Libreelec

Thanks for the quick update!
I installed the fix for Kodi18.x.
Now I can enter (after logging in Netflix) and see my profile and lists but when I play any movie I get the following error:
Playback error: Email or password is incorrect
and it logs me out (need to log in again and still does not work).
Debug log: http://ix.io/2pum

This problem is not related to this issue,
You can try follow instruction on wiki:
https://github.com/CastagnaIT/plugin.video.netflix/wiki/FAQ-%28Errors%29#email-or-password-is-incorrect

or also follow the issue thread already opened with title:
_Can't login on Netflix plugin - Incorrect password_

Thanks for the reply.

I managed to fix the problem. It was not related to anything mentioned in the suggested thread, though.
I noticed that there was a trailing space at the end of my email. Although, it DID log me in correctly in my profile, when I started a movie it brought the error message. Removing the trailing space resolved the issue. Weird, though.

thanks for the info! i will check

Why is the resolution still 960x540 after upgrading to plugin.video.netflix-1.4.1? How to set it to reach 720p?
My environment is: Coreelec 9.2.0

Temporary update fix

I have temporary fixed the error on app opening, but i think that netflix will make Lolomo lists deprecated, the signals are there.

This means that in the next few days or weeks (...when netflix will change...) also the main menu will be completely non-working and also other menu lists.

More extensive modifications are required, i will be performing some tests in the next days to understand better way to get the main menu

I attach a temporary fix but WARNING:

  • Can happen that raise unexpected errors
  • If you use "Sync of watched status with netflix" can happen that stop working or raise errors

Kodi 18.x: plugin.video.netflix_1.4.1_20200618_t1.zip
Kodi 19.x: plugin.video.netflix_1.4.1+matrix.1_20200618_t1.zip

This is really help! Thank you, it solved my problem!

This is to confirm that the hotfix works on Debian 10.4 with Kodi 18.6. Thank you for addressing the issue promptly.

Will the plugin still receive updates after installing the temporary fix?

Temporary update fix

I have temporary fixed the error on app opening, but i think that netflix will make Lolomo lists deprecated, the signals are there.

This means that in the next few days or weeks (...when netflix will change...) also the main menu will be completely non-working and also other menu lists.

More extensive modifications are required, i will be performing some tests in the next days to understand better way to get the main menu

I attach a temporary fix but WARNING:

  • Can happen that raise unexpected errors
  • If you use "Sync of watched status with netflix" can happen that stop working or raise errors

Kodi 18.x: plugin.video.netflix_1.4.1_20200618_t1.zip

Kodi 19.x: plugin.video.netflix_1.4.1+matrix.1_20200618_t1.zip

This is really help! Thank you, it solved my problem!

Can you achieve at least 720p resolution after updating plugin.video.netflix_1.4.1_20200618_t1.zip? Why is mine only 960*540?

It might be the issue is just isLocoSupported was removed, so maybe the hack is to force a value to false. Yeah it appears this will work as well:
in ./resources/lib/api/website.py:
before line 104 add:
user_data['isLocoSupported'] = 'false' # ADD LINE
g.LOCAL_DB.set_value('is_loco_supported', user_data.get('isLocoSupported'), TABLE_SESSION)
if user_data.get('isLocoSupported'):

That fixed the KeyError on my Mac, but not playback. On my OSMC device it does seem to work now (although in my brief tests I can only get 540p streams - I'll look at that next). Now that I think about it, Netflix has never worked on my Mac.

I have applied this workaround and it works well.
Thank you.

It might be the issue is just isLocoSupported was removed, so maybe the hack is to force a value to false. Yeah it appears this will work as well:
in ./resources/lib/api/website.py:
before line 104 add:
user_data['isLocoSupported'] = 'false' # ADD LINE
g.LOCAL_DB.set_value('is_loco_supported', user_data.get('isLocoSupported'), TABLE_SESSION)
if user_data.get('isLocoSupported'):

this worked for me. Thank you.

I have applied this workaround and it works well. Now the menus, lists, video views, etc, running fine.

Thank you.

New add-on release is available

@CastagnaIT Great to have a new release so fast! ๐Ÿ’จ I know what you did this weekend.. ;) Plz. don't forget to close this issue ๐Ÿ˜‰ (Just installed the patch, only then found out there was a new release)

Thanks for your speed. ๐Ÿ‘

Agreed! Thank you for getting to this so quickly!


From: Marco notifications@github.com
Sent: Sunday, June 21, 2020 1:18:58 PM
To: CastagnaIT/plugin.video.netflix plugin.video.netflix@noreply.github.com
Cc: Oss oss001@hotmail.com; Comment comment@noreply.github.com
Subject: Re: [CastagnaIT/plugin.video.netflix] Addon open/login fails with KeyError 'lolomo' (#701)

Thanks for your speed. ๐Ÿ‘

โ€”
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/CastagnaIT/plugin.video.netflix/issues/701#issuecomment-647176544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEDAOBWZFB7HXQF6AILGPM3RXZTLFANCNFSM4OAZTQJA.

I tried to update via Kodi addons but didn't get your new release. How do I install your new release?

Can confirm the version 1.5.0 is working, thank you!!

I tried to update via Kodi addons but didn't get your new release. How do I install your new release?

Looks like the channel isn't updated yet.

You can wait for the channel to be updated with the new release, or you can download the zip file from the releases tab and install the addon from the zip file.

I can also confirm that version 1.5 has solved this issue. Everything is working fine again.
@CastagnaIT thanjk you very much !!!!

@beatschubser wrote:

Will the plugin still receive updates after installing the temporary fix?

My system (Ubuntu 20.04 on amd64, Kodi 18.7 via team-xbmc PPA) successfully auto-updated to Netflix add-on version 1.5 from the manually-installed .zip update in this thread.

Everything looks good.
Thanks @CastagnaIT!

The channel is updated now. 1.5.0 is all good. Thanks for your help.

On Mon, 22 Jun 2020, 14:57 Adam Katz, notifications@github.com wrote:

Will the plugin still receive updates after installing the temporary fix?

My system (Ubuntu 20.04, Kodi 18.7 via team-xbmc PPA
http://ppa.launchpad.net/team-xbmc/ppa/ubuntu) successfully
auto-updated to Netflix add-on version 1.5 from the manually-installed .zip
update in this thread. Everything looks good. Thanks, @CastagnaIT
https://github.com/CastagnaIT!

โ€”
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/CastagnaIT/plugin.video.netflix/issues/701#issuecomment-647765435,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AENGBXUZ7P3EL5DFK3LGE5TRX7AR5ANCNFSM4OAZTQJA
.

When can we expect a patch for Matrix (Kodi 19)?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ciwy85 picture ciwy85  ยท  15Comments

dagwieers picture dagwieers  ยท  13Comments

Smeulf picture Smeulf  ยท  7Comments

DanilosTeam picture DanilosTeam  ยท  17Comments

kjetilk picture kjetilk  ยท  5Comments