Tvshows.themoviedb.org error

I updated 2 Vero’s to the November update yesterday, and now both units are failing on updating TV Shows with a Python script error. Cannot recall the last time I ran a Library update , but perhaps a week ago. So I cannot be sure this is related to the Nov. update.

The “Process Directory” does not exist warning , is false.

2024-11-06 21:27:00.579 T:3067 info : VideoInfoScanner: Starting scan …
2024-11-06 21:27:00.828 T:3067 warning : Process directory ‘/mnt/fred_drv1/TV Shows/Banshee/’ does not exist - skipping scan.
2024-11-06 21:27:12.094 T:3077 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class ‘NameError’>
Error Contents: name ‘TMDB_CLOWNCAR’ is not defined
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/metadata.tvshows.themoviedb.org.python/main.py”, line 27, in
from libs.actions import router
File “/home/osmc/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/actions.py”, line 30, in
from . import tmdb, data_utils
File “/home/osmc/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/tmdb.py”, line 26, in
from . import cache, data_utils, api_utils, settings, imdbratings, traktratings
File “/home/osmc/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/data_utils.py”, line 30, in
from . import settings, api_utils
File “/home/osmc/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/settings.py”, line 107, in
IMAGEROOTURL, PREVIEWROOTURL = _load_base_urls()
File “/home/osmc/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/settings.py”, line 43, in _load_base_urls
conf = _get_configuration()
File “/home/osmc/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/settings.py”, line 34, in _get_configuration
return api_utils.load_info(‘https://api.themoviedb.org/3/configuration’, params={‘api_key’: TMDB_CLOWNCAR}, verboselog=VERBOSELOG)
NameError: name ‘TMDB_CLOWNCAR’ is not defined
–>End of Python script error report<–

Looks like you just need to try again

https://forum.kodi.tv/showthread.php?tid=379378&pid=3215137#pid3215137

@pkscout would be best to advice

The fix got pushed to the repo last night, so if folks have auto update on, the scraper should have updated to 1.7.1. If you don’t have 1.7.1, please go to SETTINGS > ADDONS and then check for updates. The check for update location is going to vary some skin to skin. In Estuary it’s in the lefthand hidden blade (so left arrow to open it).

3 Likes

Auto update picked up the fix overnight, and all is good.

I ended up with some duplicate entries in the library, but they cleaned out with no issues.

Yea, sometimes if the scraper crashes midway it leaves some artifacts in the database that have to be dealt with manually.

1 Like