2017-02-07, 01:14
Newest background code has a problem (background helper 1.0.17, main helper 1.0.146). Observations: background at Kodi start is always the same, a different background -- but also always the same -- is selected next (not very random), and the third background (also different but always the same) crashes the script with:
18:02:16.816 T:336 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\oattes\AppData\Roaming\Kodi\addons\script.skin.helper.backgrounds\service.py", line 10, in <module>
BackgroundsUpdater().run()
File "C:\Users\oattes\AppData\Roaming\Kodi\addons\script.skin.helper.backgrounds\resources\lib\backgrounds_updater.py", line 94, in run
self.update_backgrounds()
File "C:\Users\oattes\AppData\Roaming\Kodi\addons\script.skin.helper.backgrounds\resources\lib\backgrounds_updater.py", line 320, in update_backgrounds
label=32012)
File "C:\Users\oattes\AppData\Roaming\Kodi\addons\script.skin.helper.backgrounds\resources\lib\backgrounds_updater.py", line 280, in set_background
image = images[next_index]
IndexError: list index out of range
-->End of Python script error report<--
18:02:16.816 T:336 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\oattes\AppData\Roaming\Kodi\addons\script.skin.helper.backgrounds\service.py", line 10, in <module>
BackgroundsUpdater().run()
File "C:\Users\oattes\AppData\Roaming\Kodi\addons\script.skin.helper.backgrounds\resources\lib\backgrounds_updater.py", line 94, in run
self.update_backgrounds()
File "C:\Users\oattes\AppData\Roaming\Kodi\addons\script.skin.helper.backgrounds\resources\lib\backgrounds_updater.py", line 320, in update_backgrounds
label=32012)
File "C:\Users\oattes\AppData\Roaming\Kodi\addons\script.skin.helper.backgrounds\resources\lib\backgrounds_updater.py", line 280, in set_background
image = images[next_index]
IndexError: list index out of range
-->End of Python script error report<--