error with addon on python 3
#3
Thanx, will try. After I removed PIL (because it is really not needed in my addon except for debugging purposes) I get a lot of hashlib errors, but my addon is not mentioned in any of the lines... is this something that aslo has yet to be implemented in kodi or my error?
Quote:10:44:18.077 T:10444   DEBUG: CPythonInvoker(1, C:\Program Files (x86)\KodiP3\portable_data\addons\service.yeemee\service.py): the source file to load is "C:\Program Files (x86)\KodiP3\portable_data\addons\service.yeemee\service.py"
10:44:18.077 T:10444   DEBUG: CPythonInvoker(1, C:\Program Files (x86)\KodiP3\portable_data\addons\service.yeemee\service.py): setting the Python path to C:\Program Files (x86)\KodiP3\portable_data\addons\service.yeemee;C:\Program Files (x86)\KodiP
10:44:18.077 T:10444   DEBUG: CPythonInvoker(1, C:\Program Files (x86)\KodiP3\portable_data\addons\service.yeemee\service.py): entering source directory C:\Program Files (x86)\KodiP3\portable_data\addons\service.yeemee
10:44:18.088 T:10444   DEBUG: CPythonInvoker(1, C:\Program Files (x86)\KodiP3\portable_data\addons\service.yeemee\service.py): instantiating addon using automatically obtained id of "service.yeemee" dependent on version 2.1.0 of the xbmc.python api
10:44:18.360 T:10444   ERROR: ERROR:root:code for hash blake2b was not found.
                                            Traceback (most recent call last):
                                              File "<frozen importlib._bootstrap>", line 879, in _find_spec
                                            AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 243, in <module>
                                                globals()[__func_name] = __get_hash(__func_name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 119, in __get_openssl_constructor
                                                return __get_builtin_constructor(name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 113, in __get_builtin_constructor
                                                raise ValueError('unsupported hash type ' + name)
                                            ValueError: unsupported hash type blake2b
10:44:18.360 T:10444   DEBUG: .
10:44:18.363 T:10444   ERROR: ERROR:root:code for hash blake2s was not found.
                                            Traceback (most recent call last):
                                              File "<frozen importlib._bootstrap>", line 879, in _find_spec
                                            AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 243, in <module>
                                                globals()[__func_name] = __get_hash(__func_name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 119, in __get_openssl_constructor
                                                return __get_builtin_constructor(name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 113, in __get_builtin_constructor
                                                raise ValueError('unsupported hash type ' + name)
                                            ValueError: unsupported hash type blake2s
10:44:18.363 T:10444   DEBUG: .
10:44:18.367 T:10444   ERROR: ERROR:root:code for hash sha3_224 was not found.
                                            Traceback (most recent call last):
                                              File "<frozen importlib._bootstrap>", line 879, in _find_spec
                                            AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 121, in __get_openssl_constructor
                                                f = getattr(_hashlib, 'openssl_' + name)
                                            AttributeError: module '_hashlib' has no attribute 'openssl_sha3_224'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 243, in <module>
                                                globals()[__func_name] = __get_hash(__func_name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 128, in __get_openssl_constructor
                                                return __get_builtin_constructor(name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 113, in __get_builtin_constructor
                                                raise ValueError('unsupported hash type ' + name)
                                            ValueError: unsupported hash type sha3_224
10:44:18.367 T:10444   DEBUG: .
10:44:18.370 T:10444   ERROR: ERROR:root:code for hash sha3_256 was not found.
                                            Traceback (most recent call last):
                                              File "<frozen importlib._bootstrap>", line 879, in _find_spec
                                            AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 121, in __get_openssl_constructor
                                                f = getattr(_hashlib, 'openssl_' + name)
                                            AttributeError: module '_hashlib' has no attribute 'openssl_sha3_256'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 243, in <module>
                                                globals()[__func_name] = __get_hash(__func_name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 128, in __get_openssl_constructor
                                                return __get_builtin_constructor(name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 113, in __get_builtin_constructor
                                                raise ValueError('unsupported hash type ' + name)
                                            ValueError: unsupported hash type sha3_256
10:44:18.370 T:10444   DEBUG: .
10:44:18.373 T:10444   ERROR: ERROR:root:code for hash sha3_384 was not found.
                                            Traceback (most recent call last):
                                              File "<frozen importlib._bootstrap>", line 879, in _find_spec
                                            AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 121, in __get_openssl_constructor
                                                f = getattr(_hashlib, 'openssl_' + name)
                                            AttributeError: module '_hashlib' has no attribute 'openssl_sha3_384'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 243, in <module>
                                                globals()[__func_name] = __get_hash(__func_name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 128, in __get_openssl_constructor
                                                return __get_builtin_constructor(name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 113, in __get_builtin_constructor
                                                raise ValueError('unsupported hash type ' + name)
                                            ValueError: unsupported hash type sha3_384
10:44:18.373 T:10444   DEBUG: .
10:44:18.376 T:10444   ERROR: ERROR:root:code for hash sha3_512 was not found.
                                            Traceback (most recent call last):
                                              File "<frozen importlib._bootstrap>", line 879, in _find_spec
                                            AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 121, in __get_openssl_constructor
                                                f = getattr(_hashlib, 'openssl_' + name)
                                            AttributeError: module '_hashlib' has no attribute 'openssl_sha3_512'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 243, in <module>
                                                globals()[__func_name] = __get_hash(__func_name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 128, in __get_openssl_constructor
                                                return __get_builtin_constructor(name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 113, in __get_builtin_constructor
                                                raise ValueError('unsupported hash type ' + name)
                                            ValueError: unsupported hash type sha3_512
10:44:18.376 T:10444   DEBUG: .
10:44:18.379 T:10444   ERROR: ERROR:root:code for hash shake_128 was not found.
                                            Traceback (most recent call last):
                                              File "<frozen importlib._bootstrap>", line 879, in _find_spec
                                            AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 121, in __get_openssl_constructor
                                                f = getattr(_hashlib, 'openssl_' + name)
                                            AttributeError: module '_hashlib' has no attribute 'openssl_shake_128'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 243, in <module>
                                                globals()[__func_name] = __get_hash(__func_name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 128, in __get_openssl_constructor
                                                return __get_builtin_constructor(name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 113, in __get_builtin_constructor
                                                raise ValueError('unsupported hash type ' + name)
                                            ValueError: unsupported hash type shake_128
10:44:18.379 T:10444   DEBUG: .
10:44:18.382 T:10444   ERROR: ERROR:root:code for hash shake_256 was not found.
                                            Traceback (most recent call last):
                                              File "<frozen importlib._bootstrap>", line 879, in _find_spec
                                            AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 121, in __get_openssl_constructor
                                                f = getattr(_hashlib, 'openssl_' + name)
                                            AttributeError: module '_hashlib' has no attribute 'openssl_shake_256'
                                            
                                            During handling of the above exception, another exception occurred:
                                            
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 243, in <module>
                                                globals()[__func_name] = __get_hash(__func_name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 128, in __get_openssl_constructor
                                                return __get_builtin_constructor(name)
                                              File "C:\Program Files (x86)\KodiP3\system\python\Lib\hashlib.py", line 113, in __get_builtin_constructor
                                                raise ValueError('unsupported hash type ' + name)
                                            ValueError: unsupported hash type shake_256
10:44:18.382 T:10444   DEBUG: .
10:44:18.809 T:10444   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'AttributeError'>
                                            Error Contents: 'str' object has no attribute 'decode'
                                            -->End of Python script error report<--
10:44:18.809 T:10444   ERROR: Traceback (most recent call last):
10:44:18.809 T:10444   ERROR:   File "C:\Program Files (x86)\KodiP3\system\python\Lib\traceback.py", line 117, in format_exception
10:44:18.812 T:10444   ERROR: type(value), value, tb, limit=limit).format(chain=chain))
10:44:18.812 T:10444   ERROR:   File "C:\Program Files (x86)\KodiP3\system\python\Lib\traceback.py", line 465, in __init__
10:44:18.813 T:10444   ERROR: if (exc_value and exc_value.__cause__ is not None
10:44:18.813 T:10444   ERROR: AttributeError
10:44:18.813 T:10444   ERROR: :
10:44:18.813 T:10444   ERROR: 'str' object has no attribute '__cause__'
10:44:18.813 T:10444   ERROR: CPythonInvoker(1, C:\Program Files (x86)\KodiP3\portable_data\addons\service.yeemee\service.py): failed to run the gc to clean up after running prior to shutting down the Interpreter
Reply


Messages In This Thread
error with addon on python 3 - by User 325245 - 2018-02-01, 11:32
RE: error with addon on python 3 - by User 325245 - 2018-02-01, 11:53
RE: error with addon on python 3 - by Klojum - 2018-02-01, 12:15
RE: error with addon on python 3 - by ronie - 2018-02-02, 02:56
RE: error with addon on python 3 - by ronie - 2018-02-02, 12:09
RE: error with addon on python 3 - by ronie - 2018-02-05, 01:49
Logout Mark Read Team Forum Stats Members Help
error with addon on python 30