Issues with arrow
#1
I am migrating skin.helper.service.widgets, and I am running into this issue with arrow:

xml:

2019-12-22 16:46:30.300 T:17192   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: 'bytes' object has no attribute 'tzinfo'
                                            Traceback (most recent call last):
                                              File "C:\Program Files\Kodi\addons\script.skin.helper.widgets\plugin.py", line 9, in <module>
                                                import main
                                              File "C:\Program Files\Kodi\addons\script.skin.helper.widgets\resources\lib\main.py", line 17, in <module>
                                                from metadatautils import MetadataUtils
                                              File "C:\Program Files\Kodi\addons\script.module.metadatautils\lib\metadatautils.py", line 9, in <module>
                                                import helpers.kodi_constants as kodi_constants
                                              File "C:\Program Files\Kodi\addons\script.module.metadatautils\lib\helpers\kodi_constants.py", line 9, in <module>
                                                from .utils import KODI_VERSION
                                              File "C:\Program Files\Kodi\addons\script.module.metadatautils\lib\helpers\utils.py", line 13, in <module>
                                                import arrow
                                              File "C:\Program Files\Kodi\addons\script.module.arrow\lib\arrow\__init__.py", line 3, in <module>
                                                from .api import get, now, utcnow
                                              File "C:\Program Files\Kodi\addons\script.module.arrow\lib\arrow\api.py", line 10, in <module>
                                                from arrow.factory import ArrowFactory
                                              File "C:\Program Files\Kodi\addons\script.module.arrow\lib\arrow\factory.py", line 19, in <module>
                                                from arrow.arrow import Arrow
                                              File "C:\Program Files\Kodi\addons\script.module.arrow\lib\arrow\arrow.py", line 1396, in <module>
                                                Arrow.max = Arrow.fromdatetime(datetime.max)
                                              File "C:\Program Files\Kodi\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<--

I am using the latest arrow version, 0.15.5.  Any ideas? Thank you for any help provided.

Regards,

Bart
Reply


Messages In This Thread
Issues with arrow - by bsoriano - 2019-12-22, 22:50
RE: Issues with arrow - by ronie - 2019-12-22, 23:00
RE: Issues with arrow - by bsoriano - 2019-12-22, 23:07
RE: Issues with arrow - by Razze - 2019-12-22, 23:21
RE: Issues with arrow - by bsoriano - 2019-12-29, 14:01
RE: Issues with arrow - by Razze - 2019-12-30, 11:51
RE: Issues with arrow - by syd3n - 2021-03-09, 23:18
RE: Issues with arrow - by Fuzzard - 2021-03-10, 01:27
RE: Issues with arrow - by RB0135 - 2021-04-01, 04:00
RE: Issues with arrow - by Karellen - 2021-04-01, 04:37
RE: Issues with arrow - by RB0135 - 2021-04-01, 05:31
RE: Issues with arrow - by Wanilton - 2021-04-01, 04:59
RE: Issues with arrow - by RB0135 - 2021-04-01, 05:29
RE: Issues with arrow - by Wanilton - 2021-04-01, 05:40
RE: Issues with arrow - by RB0135 - 2021-04-01, 07:01
RE: Issues with arrow - by RB0135 - 2021-04-01, 08:39
RE: Issues with arrow - by perspicacia - 2023-09-06, 17:23
RE: Issues with arrow - by izprtxqkft - 2023-09-06, 19:02
RE: Issues with arrow - by perspicacia - 2023-09-06, 21:43
RE: Issues with arrow - by izprtxqkft - 2023-09-06, 22:25
RE: Issues with arrow - by manfeed - 2023-09-06, 23:24
RE: Issues with arrow - by Fuchs2468 - 2023-09-07, 01:11
RE: Issues with arrow - by perspicacia - 2023-09-07, 17:36
RE: Issues with arrow - by perspicacia - 2023-09-09, 16:24
RE: Issues with arrow - by perspicacia - 2023-09-12, 23:07
Logout Mark Read Team Forum Stats Members Help
Issues with arrow0