2019-10-14, 15:16
Please reply below if you find any Library modules that still need to be be updated to Python 3.
Feel free to discuss ones that are complete as well.
Feel free to discuss ones that are complete as well.
log:EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: parse() got an unexpected keyword argument 'transport_encoding'
Traceback (most recent call last):
File "…\script.module.mechanize\lib\mechanize\_html.py", line 189, in content_parser
from html5_parser import parse
ModuleNotFoundError: No module named 'html5_parser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "…\plugin.video.amazon-test\resources\lib\network.py", line 460, in LogIn
if 'signIn' not in [i.name for i in br.forms()]:
File "…\script.module.mechanize\lib\mechanize\_mechanize.py", line 526, in forms
return self._factory.forms()
File "…\script.module.mechanize\lib\mechanize\_html.py", line 320, in forms
self._current_forms, self._current_global_form = self._get_forms()
File "…\script.module.mechanize\lib\mechanize\_html.py", line 335, in _get_forms
if self.root is None:
File "…\script.module.mechanize\lib\mechanize\_html.py", line 300, in root
transport_encoding=transport_encoding)
File "…\script.module.mechanize\lib\mechanize\_html.py", line 195, in content_parser
return parse(data, **kw)
TypeError: parse() got an unexpected keyword argument 'transport_encoding'
-->End of Python script error report<--
python:
try:
from Cryptodome import Random
from Cryptodome.Cipher import AES
from Cryptodome.Util import Padding
except ImportError:
# no Cryptodome gracefully fail with an informative message
log:
2019-10-16 23:51:18.628 T:13504 DEBUG: [plugin.video.hbogoeu] MISSING Cryptodome dependency...exiting...Traceback (most recent call last):
File "D:\KodiPython3\Kodi\portable_data\addons\plugin.video.hbogoeu\hbogolib\handler.py", line 32, in <module>
from Cryptodome import Random
ModuleNotFoundError: No module named 'Cryptodome'
(2019-10-17, 09:00)arvvoid Wrote: I done more testing on different platforms with the hbo go eu add-on (https://github.com/arvvoid/plugin.video.hbogoeu) and found out there is a problem with pycryptodomex (script.module.pycryptodome) on windows.