Hi @
sualfred I have decided to switch from extendedinfo script to this one in the new version of Aeon Tajo for Matrix. It works great!
Thanks for your efforts in this tool, much appreciated.
I'm getting an error message in Matrix very often and Kodi closes. The log reads...
xml:
2020-09-11 22:32:27.449 T:6756 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'bytes' object has no attribute 'tzinfo'
Traceback (most recent call last):
File "C:\Matrix2\portable_data\addons\script.embuary.info\plugin.py", line 5, in <module>
from resources.lib.widgets import *
File "C:\Matrix2\portable_data\addons\script.embuary.info\resources\lib\widgets.py", line 11, in <module>
from resources.lib.helper import *
File "C:\Matrix2\portable_data\addons\script.embuary.info\resources\lib\helper.py", line 15, in <module>
import arrow
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\__init__.py", line 3, in <module>
from .api import get, now, utcnow
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\api.py", line 10, in <module>
from arrow.factory import ArrowFactory
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\factory.py", line 19, in <module>
from arrow.arrow import Arrow
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\arrow.py", line 1395, in <module>
Arrow.min = Arrow.fromdatetime(datetime.min)
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\arrow.py", line 217, in fromdatetime
if dt.tzinfo is None:
AttributeError: 'bytes' object has no attribute 'tzinfo'
-->End of Python script error report<--
Kodi is sitting idle in the home menu and the widgets are not even active. Thanks!
@
manfeed
It's a known and hard bug to reproduce for the guys on our end which are possible able to solve it. It has something to do with exception namings but without being able to reproduce it 100% it's just guessing. Not everyone is facing it.
Can you try this?
Change this line of the script.module.urllib3 script
https://github.com/xbmc/repo-scripts/blo...nse.py#L55
from
to
Thanks, I will try it and report back.
Bad news... after the change the bug keeps appearing:
xml:
2020-09-19 17:40:03.241 T:12752 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'datetime.timedelta' object has no attribute 'tzinfo'
Traceback (most recent call last):
File "C:\Matrix2\portable_data\addons\script.embuary.info\plugin.py", line 5, in <module>
from resources.lib.widgets import *
File "C:\Matrix2\portable_data\addons\script.embuary.info\resources\lib\widgets.py", line 11, in <module>
from resources.lib.helper import *
File "C:\Matrix2\portable_data\addons\script.embuary.info\resources\lib\helper.py", line 15, in <module>
import arrow
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\__init__.py", line 3, in <module>
from .api import get, now, utcnow
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\api.py", line 10, in <module>
from arrow.factory import ArrowFactory
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\factory.py", line 19, in <module>
from arrow.arrow import Arrow
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\arrow.py", line 1396, in <module>
Arrow.max = Arrow.fromdatetime(datetime.max)
File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\arrow.py", line 217, in fromdatetime
if dt.tzinfo is None:
AttributeError: 'datetime.timedelta' object has no attribute 'tzinfo'
-->End of Python script error report<--
Strange, all my problems were solved after changing that line. Anyway, it's not something I can fix in my script. It's a Kodi thing atm.
(2020-09-19, 17:48)sualfred Wrote: [ -> ]Strange, all my problems were solved after changing that line. Anyway, it's not something I can fix in my script. It's a Kodi thing atm.
Ok, thanks for looking at it anyway... I must say it's not happening all the time, today it only appeared once in a couple of hours coding and reloading my skin...
Hi,
is it possible to add custom onclick-actions? "Dialog.Close(all,force)" - especially in the youtube list "10054" wouldt be nice. So you could close all open dialogs like "DialoVideoInfo.xml", when playing a video.
Maybe it's not working just for me, when i add a onclick-action, i dont know.
TVDB is now charging money for their API. Because of this I switched to TMDB for episode data of the Next Aired feature. Sadly the TMDB isn't as rich as TVDB so we have to expect less results. Sorry mates, but I don't wanna deal with their decision.
Same error too (memory leaks)
Oops.
Fixed on GitHub. PR is on the way to the repo.
I get an similar error to what's posted above, using CE on a N2+.
epajesoqar.kodi (paste)