2015-11-06, 16:34
Hello Stefan,
I got an error while updating the addon database. It stops at "checking fanart.tv for artwork..."
Here is the log:
15:28:23 T:4920 DEBUG: [cdART Manager] - Finished Storing lalist
15:28:23 T:4920 DEBUG: [cdART Manager] - Checking artist MBID: 7244c5d4-5980-4acd-9103-c5e7c25906e9
15:28:23 T:4920 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'htmlsource' referenced before assignment
Traceback (most recent call last):
File "C:\Users\Toby\AppData\Roaming\Kodi\addons\script.cdartmanager-NG\resources\lib\gui.py", line 1387, in onClick
first_check(all_artists, local_artists, background=False, update_db=True)
File "C:\Users\Toby\AppData\Roaming\Kodi\addons\script.cdartmanager-NG\resources\lib\fanarttv_scraper.py", line 374, in first_check
match["has_art"] = check_art(artist["musicbrainz_artistid"], artist_type="all_artist")
File "C:\Users\Toby\AppData\Roaming\Kodi\addons\script.cdartmanager-NG\resources\lib\fanarttv_scraper.py", line 312, in check_art
if htmlsource == "null":
UnboundLocalError: local variable 'htmlsource' referenced before assignment
-->End of Python script error report<--
Do you have any idea how to fix this?
I got an error while updating the addon database. It stops at "checking fanart.tv for artwork..."
Here is the log:
15:28:23 T:4920 DEBUG: [cdART Manager] - Finished Storing lalist
15:28:23 T:4920 DEBUG: [cdART Manager] - Checking artist MBID: 7244c5d4-5980-4acd-9103-c5e7c25906e9
15:28:23 T:4920 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'htmlsource' referenced before assignment
Traceback (most recent call last):
File "C:\Users\Toby\AppData\Roaming\Kodi\addons\script.cdartmanager-NG\resources\lib\gui.py", line 1387, in onClick
first_check(all_artists, local_artists, background=False, update_db=True)
File "C:\Users\Toby\AppData\Roaming\Kodi\addons\script.cdartmanager-NG\resources\lib\fanarttv_scraper.py", line 374, in first_check
match["has_art"] = check_art(artist["musicbrainz_artistid"], artist_type="all_artist")
File "C:\Users\Toby\AppData\Roaming\Kodi\addons\script.cdartmanager-NG\resources\lib\fanarttv_scraper.py", line 312, in check_art
if htmlsource == "null":
UnboundLocalError: local variable 'htmlsource' referenced before assignment
-->End of Python script error report<--
Do you have any idea how to fix this?