Netflix Addon not installing

Dear All

I have had a Vero 4k for the last year or so and love it. One thing I miss is the ability to use Netflix on the same device. So I bought a Vero 4k + and moved to the nightly build as per these instructions

https://discourse.osmc.tv/t/testing-kodi-18-leia-builds-for-raspberry-pi/20631

As far as I can see all went OK and “dpkg -l | grep mediacenter-osmc | awk ‘{ print $3 }’” reports version 17.8-339

I then attempted to install Netflix Addon using these instructions.

https://makingstuffwork.net/technology/install-netflix-amazon-prime-video-plex-raspberry-pi-kodi-osmc/

The repository is installed but when I try to install the addon I choose the latest version (‘0.13.15’).

Then at the next step I get the following screenshot:

I click OK (instructions seem to suggest this is fixed (!!))

The install fails with the following error messages in the log:

07:49:08.669 T:4068041312 DEBUG: CAddonInstaller: installing ‘plugin.video.netflix’ version ‘0.13.15’ from repository ‘repository.netflix’
07:49:08.682 T:3817599728 DEBUG: Thread JobWorker start, auto delete: true
07:49:08.690 T:3817599728 DEBUG: CAddonInstallJob[plugin.video.netflix]: requires script.module.requests version 2.12.4 which is not available
07:49:08.691 T:3817599728 ERROR: CAddonInstallJob[plugin.video.netflix]: The dependency on script.module.requests version 2.12.4 could not be satisfied.
07:49:08.748 T:4068041312 DEBUG: Repository Kodi Add-on repository uses plain HTTP for add-on downloads - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
07:49:08.765 T:4068041312 DEBUG: CGUIMediaWindow::GetDirectory (addons://repository.netflix/xbmc.addon.video)
07:49:08.765 T:4068041312 DEBUG: ParentPath = [addons://repository.netflix/xbmc.addon.video]
07:49:08.766 T:3945788144 DEBUG: Thread waiting start, auto delete: false
07:49:08.768 T:3945788144 DEBUG: CAddonDatabase: SELECT repo.id FROM repo … took 0 ms
07:49:08.770 T:3945788144 DEBUG: CAddonDatabase: query SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (3) ORDER BY addons.addonID returned 45 rows in 2 ms
07:49:08.777 T:3945788144 DEBUG: CAddonDatabase::GetAddons took 9 ms
07:49:08.786 T:3945788144 DEBUG: Repository Kodi Add-on repository uses plain HTTP for add-on downloads - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
07:49:08.809 T:3945788144 DEBUG: CAddonMgr::GetAvailableUpdates took 32 ms
07:49:08.810 T:3945788144 DEBUG: Thread waiting 3945788144 terminating
07:49:08.815 T:3945788144 DEBUG: Thread BackgroundLoader start, auto delete: false
07:49:08.816 T:4068041312 DEBUG: ------ Window Init (DialogNotification.xml) ------
07:49:08.817 T:3817599728 INFO: easy_acquire - Created session to https://johtru.com
07:49:08.818 T:3945788144 DEBUG: Thread BackgroundLoader 3945788144 terminating
07:49:09.263 T:3817599728 DEBUG: GetImageHash - unable to stat url https://johtru.com/repo/repo_files/plugin.video.netflix/resources/icon.png
07:49:14.159 T:4068041312 DEBUG: ------ Window Deinit (DialogNotification.xml) ------
07:49:39.265 T:3817599728 DEBUG: Thread JobWorker 3817599728 terminating (autodelete)
07:49:39.488 T:4068041312 INFO: CheckIdle - Closing session to https://johtru.com (easy=0xf1e16f48, multi=(nil))
07:52:08.593 T:4068037360 DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc

It seems to be a version issue with one of the python modules.

Any help on fixing this problem (sorry That’s about the limit of my python knowledge so request is vague)?

Also there is an issue with:

DEBUG: GetImageHash - unable to stat url https://johtru.com/repo/repo_files/plugin.video.netflix/resources/icon.png

If I check the url then the folder containing icon.png (resources) is misnamed (ressources).

I assume this is not the issue but a secondary issue but is it possible to let the maintainer of the addon know that he has a problem?

Many thanks

P

Sorry should also say equally happy to repost this in a different forum (OSMC, Kodi or even the addon) if someone tells me I’ve posted in the wrong place.

If so apologies.

Thanks

P

I don’t know the instructions you followed, but here is instructions that worked for me yesterday:

Hi Joakim

Many thanks for the help.

I followed your instructions and had the following results:

“sudo pip install pycryptodomex” downloaded and installed pycryptodomex

but all the other python commands stated latest version was already installed.

On trying to install the addon I get the same error messages:

10:12:06.316 T:4068041312 DEBUG: CAddonInstaller: installing from zip ‘/home/osmc/plugin.video.netflix.zip’
10:12:06.318 T:3945788144 DEBUG: Thread JobWorker start, auto delete: true
10:12:06.320 T:3945788144 DEBUG: CAddonInstallJob[plugin.video.netflix]: requires script.module.requests version 2.12.4 which is not available
10:12:06.320 T:3945788144 ERROR: CAddonInstallJob[plugin.video.netflix]: The dependency on script.module.requests version 2.12.4 could not be satisfied.
10:12:06.338 T:4068041312 DEBUG: Repository Kodi Add-on repository uses plain HTTP for add-on downloads - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
10:12:06.346 T:4068041312 DEBUG: CGUIMediaWindow::GetDirectory (addons://)
10:12:06.346 T:4068041312 DEBUG: ParentPath =
10:12:06.346 T:3974701808 DEBUG: Thread waiting start, auto delete: false
10:12:06.355 T:3974701808 DEBUG: Repository Kodi Add-on repository uses plain HTTP for add-on downloads - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
10:12:06.378 T:3974701808 DEBUG: CAddonMgr::GetAvailableUpdates took 31 ms
10:12:06.392 T:3974701808 DEBUG: Repository Kodi Add-on repository uses plain HTTP for add-on downloads - this is insecure and will make your Kodi installation vulnerable to attacks if enabled!
10:12:06.417 T:3974701808 DEBUG: Previous line repeats 1 times.
10:12:06.418 T:3974701808 DEBUG: Thread waiting 3974701808 terminating
10:12:06.421 T:3974701808 DEBUG: Thread BackgroundLoader start, auto delete: false
10:12:06.421 T:4068041312 DEBUG: ------ Window Init (DialogNotification.xml) ------
10:12:06.423 T:3974701808 DEBUG: Thread BackgroundLoader 3974701808 terminating
10:12:11.777 T:4068041312 DEBUG: ------ Window Deinit (DialogNotification.xml) ------

The issue remains the script.module.requests I think

Thanks

P

Look at post 142 in the same thread, there is instructions on how to get the plugins needed. Seems like you’re missing some dependencies. If this a clean install i recommend the second option in post 142.

Hi Joakim

Thanks again for your help. With it I was able to figure out that the issue is with the python “requests” module

https://www.pythonforbeginners.com/requests/using-requests-in-python

Issuing the command “pip install requests” gives:

Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages

If I run " pip freeze | grep requests" I get:

requests==2.12.4

So it seems version is correct but that addon can’t find the module.

“Now why is that?” is the next question.

Any ideas?

Thanks

P

If it isn’t to much effort from you, i’d suggest you start over with a new image and follow my instructions in the thread i posted before. And in a new install you can easily use alternative 2 in post 142 to get it to install properly, even do it before trying to install Netflix addon

OK - Good plan :smiley:

I’ve reinstalled Vero 4k + then will use your netflix install instructions and see if that fixes things.

Will let you know shortly how I get on.

Thanks for your patience.

P

Hi Joakim

Did as you suggested, re-imaged, reinstalled as per your instructions.

Still had same issue so then tried alternative 2 in 142 (your post dated 12 May 2018).

Still same issue so now trying alternative 1 in 142.

How do I install the modules manually once I have the zip file?

Thanks

P

Like any other add-on, Settings->Add-on browser->Install from zip file

Navigate to where you have the files stored, I usually have them in home folder (either via wget or transferring em from a pc to osmc’s home folder)

Excellent thanks

Will let you know how I get on.

P

Remember the order of installing them =)

OK that fixed it!!

Mostly in alphabetic order but needed urllib, then requests and then inputstreamhelper in that order.

Thanks for all your help.

P

We’re going to need to streamline the Netflix setup for v18.

Sam