(2020-09-12, 17:24)CastagnaIT Wrote: These:
Quote:ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome
pip install Padding
are very wrong thing to do
point a package to other name could break other scripts and also the package itself may have unexpected errors with some internal operations
Crypto and Cryptodome are similar but are two different packages
as you can see here:
https://github.com/CastagnaIT/plugin.vid...o-packages
Well, I definitely installed the cryptodomex (with the X at the end!) package. Nonetheless in the directory
/usr/lib/python2.7/dist-packages/ only a folder named
Crypto could be found and your Plugin kept complaining about the missing library.
So since
someone in this thread on github posted the symbolic link as a solution, I gave it a try and and it worked. (He got 16 thumbs up for this comment, so I would have never assumed that this was such a wrong thing to do)
Regarding the pip install Padding: I can take that out, since on my second re-run it didn't seem to be necessary. Then again I only un-installed HD Station and am not sure, if everything installed in the HD Station was automatically removed as well. So it might be that some residue of the previous Padding installation had stuck. That's why I left the command in there.
Quote:if you have import errors means that you have a sort of mix of packages installed
then you have to remove ALL crypto packages, and if possible install only: pycryptodomex
I do not have any errors at all anymore, after downloading the Padding.py
as suggested by the person in this post a bit below the previous post, which resolved the last error message, everything works perfectly now.
Quote:if qnap also needs to have also the package pycrypto installed
pycryptodomex can coexist with it then you can install without problem,
but i think it would be better if i reverse the imports in the NF add-on
so as to give importance first to pycryptodomex and fallback to pycrypto
This is the modified version:
https://www.dropbox.com/s/3ngmpc3ettxmw1...x.zip?dl=0
after this i will try to elaborate your instruction
when i have done i will send you a PM
so you can read and correct any errors
and then send me back the correct document
thanks for the instructions, you succeeded where many would have abandoned
Yes, that sounds like a good plan. But I am not sure why you would want me to uninstall and re-install pycryptodomex again. I don't know why the installation of pycryptodomex did not result in a folder called Cryptodome in the expected place. Maybe the pip install --user pycryptodomex command installed it somewhere else?
But whatever happened, I can run KODI and the Netflix plugin from any account. I don't have to login as "admin" and also not as the user having installed "KODI" on my QNAP. So so far everything seems to work for me.
The only issue I experience is a slight flickering of the subtitles. But @
thomas.rehberg suggested that this might be caused by HD Station 4.0.10 and that I should downgrade back to 4.09 or earlier.
So how should I proceed now?