2019-11-17, 22:24
I get following error with the 2.0.5 amazon plugin
2019-11-17 21:23:02.792 T:956 NOTICE: [Amazon] Starting DBUpdate (1970-01-01 00:00:00 / 2019-11-17 21:23:02.789740)
2019-11-17 21:23:04.417 T:1001 NOTICE: [Amazon] Args: {'mode': 'appfeed', 'sitemode': 'updateAll'}
2019-11-17 21:23:04.498 T:1001 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: key: expected bytes or bytearray, but got 'str'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.amazon/default.py", line 52, in <module>
modes()
File "/storage/.kodi/addons/plugin.video.amazon/default.py", line 48, in modes
exec('import resources.lib.{} as sitemodule'.format(var.args.get('mode')))
File "<string>", line 1, in <module>
File "/storage/.kodi/addons/plugin.video.amazon/resources/lib/appfeed.py", line 34, in <module>
deviceID = gen_id()
File "/storage/.kodi/addons/plugin.video.amazon/resources/lib/common.py", line 433, in gen_id
guid = hmac.new(getConfig('UserAgent'), uuid.uuid4().bytes, hashlib.sha224).hexdigest()
File "/usr/lib/python3.7/hmac.py", line 153, in new
File "/usr/lib/python3.7/hmac.py", line 49, in __init__
TypeError: key: expected bytes or bytearray, but got 'str'
-->End of Python script error report<--
may be this helps
2019-11-17 21:23:02.792 T:956 NOTICE: [Amazon] Starting DBUpdate (1970-01-01 00:00:00 / 2019-11-17 21:23:02.789740)
2019-11-17 21:23:04.417 T:1001 NOTICE: [Amazon] Args: {'mode': 'appfeed', 'sitemode': 'updateAll'}
2019-11-17 21:23:04.498 T:1001 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: key: expected bytes or bytearray, but got 'str'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.amazon/default.py", line 52, in <module>
modes()
File "/storage/.kodi/addons/plugin.video.amazon/default.py", line 48, in modes
exec('import resources.lib.{} as sitemodule'.format(var.args.get('mode')))
File "<string>", line 1, in <module>
File "/storage/.kodi/addons/plugin.video.amazon/resources/lib/appfeed.py", line 34, in <module>
deviceID = gen_id()
File "/storage/.kodi/addons/plugin.video.amazon/resources/lib/common.py", line 433, in gen_id
guid = hmac.new(getConfig('UserAgent'), uuid.uuid4().bytes, hashlib.sha224).hexdigest()
File "/usr/lib/python3.7/hmac.py", line 153, in new
File "/usr/lib/python3.7/hmac.py", line 49, in __init__
TypeError: key: expected bytes or bytearray, but got 'str'
-->End of Python script error report<--
may be this helps