2018-02-04, 23:29
instead of logging a proper traceback when an addon crashes, traceback itself seems to crash...
i guess this is something that needs to be fixed in kodi?
it's currently kind of hard to port addons to python 3 without having proper error logging ;-)
i guess this is something that needs to be fixed in kodi?
Quote:19:43:13.232 T:139977184810752 ERROR: Traceback (most recent call last):
19:43:13.232 T:139977184810752 ERROR: File "/usr/lib/python3.6/traceback.py", line 117, in format_exception
19:43:13.232 T:139977184810752 ERROR: type(value), value, tb, limit=limit).format(chain=chain))
19:43:13.232 T:139977184810752 ERROR: File "/usr/lib/python3.6/traceback.py", line 465, in __init__
19:43:13.232 T:139977184810752 ERROR: if (exc_value and exc_value.__cause__ is not None
19:43:13.232 T:139977184810752 ERROR: AttributeError
19:43:13.232 T:139977184810752 ERROR: :
19:43:13.232 T:139977184810752 ERROR: 'str' object has no attribute '__cause__'
19:43:13.232 T:139977184810752 ERROR: CPythonInvoker(11, /home/ronie/.kodi/addons/script.test/default.py): failed to run the gc to clean up after running prior to shutting down the Interpreter
it's currently kind of hard to port addons to python 3 without having proper error logging ;-)