Describe the bug
Seeing these errors/exceptions in Kodi logs.
2020-10-31 10:39:09.578 T:12775 ERROR: Exception in thread Thread-1: Traceback (most recent call last): File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 275, in run cache_and_update(widget_id) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 288, in cache_and_update utils.cache_files(widget_path) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/common/utils.py", line 381, in cache_files hash = hashlib.sha1(path).hexdigest() TypeError: sha1() argument 1 must be string or buffer, not list 2020-10-31 10:39:11.012 T:12767 NOTICE: plugin.program.autowidget: Read cache (exp in -14189.8583541s): 6c7b2a438533047e3d6ec9eaabf84d81de5d6121 2020-10-31 10:39:11.012 T:12767 NOTICE: plugin.program.autowidget: Queue cache update for: 6c7b2a438533047e3d6ec9eaabf84d81de5d6121 2020-10-31 10:39:11.026 T:12780 ERROR: Exception in thread Thread-2: Traceback (most recent call last): File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 275, in run cache_and_update(widget_id) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 288, in cache_and_update utils.cache_files(widget_path) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/common/utils.py", line 381, in cache_files hash = hashlib.sha1(path).hexdigest() TypeError: sha1() argument 1 must be string or buffer, not list 2020-10-31 10:39:11.457 T:12781 NOTICE: plugin.program.autowidget: [ action: merged ][ group: recently_added-1602388236.31 ][ mode: path ][ id: 23bc1887-4a36-4bf1-829f-3e92d392176c ] 2020-10-31 10:39:11.695 T:12781 NOTICE: plugin.program.autowidget: Read cache (exp in -14181.3558881s): fb598fe8b72a34f4c351e591867c58e624ff5544 2020-10-31 10:39:11.695 T:12781 NOTICE: plugin.program.autowidget: Queue cache update for: fb598fe8b72a34f4c351e591867c58e624ff5544 2020-10-31 10:39:11.821 T:12785 ERROR: Exception in thread Thread-1: Traceback (most recent call last): File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 275, in run cache_and_update(widget_id) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 288, in cache_and_update utils.cache_files(widget_path) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/common/utils.py", line 381, in cache_files hash = hashlib.sha1(path).hexdigest() TypeError: sha1() argument 1 must be string or buffer, not list
Details:
- What version of Kodi? 18.8
- What skin is being used? Arctic Horizon
- What device? (PC, Smartphone, Fire TV, Nvidia Shield, etc...) Nvidia Shield
- What platform? (Android, iOS, Windows, OS X, Linux, etc...) Android TV
Describe the bug
Seeing these errors/exceptions in Kodi logs.
2020-10-31 10:39:09.578 T:12775 ERROR: Exception in thread Thread-1: Traceback (most recent call last): File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 275, in run cache_and_update(widget_id) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 288, in cache_and_update utils.cache_files(widget_path) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/common/utils.py", line 381, in cache_files hash = hashlib.sha1(path).hexdigest() TypeError: sha1() argument 1 must be string or buffer, not list 2020-10-31 10:39:11.012 T:12767 NOTICE: plugin.program.autowidget: Read cache (exp in -14189.8583541s): 6c7b2a438533047e3d6ec9eaabf84d81de5d6121 2020-10-31 10:39:11.012 T:12767 NOTICE: plugin.program.autowidget: Queue cache update for: 6c7b2a438533047e3d6ec9eaabf84d81de5d6121 2020-10-31 10:39:11.026 T:12780 ERROR: Exception in thread Thread-2: Traceback (most recent call last): File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 275, in run cache_and_update(widget_id) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 288, in cache_and_update utils.cache_files(widget_path) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/common/utils.py", line 381, in cache_files hash = hashlib.sha1(path).hexdigest() TypeError: sha1() argument 1 must be string or buffer, not list 2020-10-31 10:39:11.457 T:12781 NOTICE: plugin.program.autowidget: [ action: merged ][ group: recently_added-1602388236.31 ][ mode: path ][ id: 23bc1887-4a36-4bf1-829f-3e92d392176c ] 2020-10-31 10:39:11.695 T:12781 NOTICE: plugin.program.autowidget: Read cache (exp in -14181.3558881s): fb598fe8b72a34f4c351e591867c58e624ff5544 2020-10-31 10:39:11.695 T:12781 NOTICE: plugin.program.autowidget: Queue cache update for: fb598fe8b72a34f4c351e591867c58e624ff5544 2020-10-31 10:39:11.821 T:12785 ERROR: Exception in thread Thread-1: Traceback (most recent call last): File "/home/jenkins/workspace/Android-ARM64-Leia/tools/depends/xbmc-depends/aarch64-linux-android-21-release/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 275, in run cache_and_update(widget_id) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/refresh.py", line 288, in cache_and_update utils.cache_files(widget_path) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/common/utils.py", line 381, in cache_files hash = hashlib.sha1(path).hexdigest() TypeError: sha1() argument 1 must be string or buffer, not listDetails: