asciidisco / plugin.video.netflix

Inputstream based Netflix plugin for Kodi
MIT License
1.24k stars 226 forks source link

Error after addon installation #664

Closed arturdulewicz closed 5 years ago

arturdulewicz commented 5 years ago

I'm submitting a ...

General infomration

Prerequisites

Description

After installing Netflix repo and launching the addon im getting an error. I can't even login or change the credentials at addons settings. Im getting an error right after the installation, after trying to launch the addon, and right after the RPI reboot.

Steps to Reproduce

  1. install netflix add-on on rpi3 osmc (fully updated)
  2. open netflix add-on
  3. error

Installation

Operating System

Debug log

https://pastebin.com/gkZR1Zr5

jakermx commented 5 years ago

please share the compleate log file

arturdulewicz commented 5 years ago

please share the compleate log file

https://pastebin.com/iLcwWpFr

jakermx commented 5 years ago

from Cryptodome.Random import get_random_bytes ImportError: No module named Cryptodome.Random

install script.module.pycryptodomex to fix it

jakermx commented 5 years ago

In order to get our add-ons working correctly, we need to add some additional dependencies and their recommended packages.

sudo apt-get install python-pip python-crypto build-essential -y sudo apt-get install python-all-dev python-setuptools python-wheel -y sudo apt-get install python-crypto-dbg python-crypto-doc python-pip-whl -y

Now lets install our Python cryptography dependency.

pip install pycryptodomex

To make sure our add-ons are finding our pycryptodomex module, lets add a symbolic link to the location.

sudo ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome

arturdulewicz commented 5 years ago

In order to get our add-ons working correctly, we need to add some additional dependencies and their recommended packages.

sudo apt-get install python-pip python-crypto build-essential -y sudo apt-get install python-all-dev python-setuptools python-wheel -y sudo apt-get install python-crypto-dbg python-crypto-doc python-pip-whl -y

Now lets install our Python cryptography dependency.

pip install pycryptodomex

To make sure our add-ons are finding our pycryptodomex module, lets add a symbolic link to the location.

sudo ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome

Works like a charm. Thank you so much!