Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Diagnostic info
- ----------------------------------------------------------------------------------------------------
- Exception type : HTTPError
- Exception value : HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/270578/extended
- System info : uname_result(system='Windows', node='Lounge', release='10', version='10.0.19045', machine='AMD64', processor='Intel64 Family 6 Model 142 Stepping 9, GenuineIntel')
- Python version : 3.8.15 (default, Oct 17 2022, 02:39:57) [MSC v.1929 64 bit (AMD64)]
- Kodi version : 21.0 (21.0.0) Git:20240406-60c4500054
- sys.argv : ['plugin://metadata.tvshows.thetvdb.com.v4.python/',
- '1',
- '?action=getdetails&url=270578&pathSettings=%7b%22gender%22%3a%22Other%22%2c%22language%22%3a%22English%22%2c%22pin%22%3a%22%22%2c%22season_type%22%3a%221%22%2c%22uuid%22%3a%229acd4ec3-73a5-4c99-a431-996b44bf4f34%22%2c%22year%22%3a1900%7d',
- 'resume:false']
- ----------------------------------------------------------------------------------------------------
- sys.path:
- ['C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python',
- 'C:\\Program Files\\Kodi\\system\\python\\DLLs',
- 'C:\\Program Files\\Kodi\\system\\python\\Lib',
- 'C:\\Program Files\\Kodi\\system\\python\\Lib\\site-packages']
- ####################################################################################################
- Stack Trace
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\exception_logger.py:134
- ----------------------------------------------------------------------------------------------------
- Code context:
- 132: """
- 133: try:
- 134:> yield
- 135: except Exception as exc:
- 136: stack_trace = ''
- ----------------------------------------------------------------------------------------------------
- Local variables:
- exc = HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/270578/extended
- frame_info = FrameInfo(frame=<frame at 0x000001AB84F189A0, file 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\exception_logger.py', line 138, code log_exception>, filename='C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\exception_logger.py', lineno=134, function='log_exception', code_context=[' """\n', ' try:\n', ' yield\n', ' except Exception as exc:\n', " stack_trace = ''\n"], index=2)
- logger_func = <function logger.error at 0x000001AB82DCE5E0>
- stack_trace = ''
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py:4
- ----------------------------------------------------------------------------------------------------
- Code context:
- 1: from resources.lib import actions, exception_logger
- 2:
- 3: with exception_logger.log_exception():
- 4:> actions.run()
- ----------------------------------------------------------------------------------------------------
- Local variables:
- actions = <module 'resources.lib.actions' from 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\actions.py'>
- exception_logger = <module 'resources.lib.exception_logger' from 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\exception_logger.py'>
- sys = <module 'sys' (built-in)>
- xbmc = <module 'xbmc' (built-in)>
- xbmcout = <class '__main__.xbmcout'>
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py:46
- ----------------------------------------------------------------------------------------------------
- Code context:
- 44: elif action == 'getdetails' and 'url' in params:
- 45: logger.debug("about to call get series details")
- 46:> get_series_details(
- 47: urllib.parse.unquote_plus(params["url"]), settings, handle)
- 48: elif action == 'getepisodelist' and 'url' in params:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- _action = 'getdetails'
- _settings = '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}'
- _title = ''
- action = 'getdetails'
- handle = 1
- params = {'action': 'getdetails',
- 'pathSettings': '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}',
- 'url': '270578'}
- qs = 'action=getdetails&url=270578&pathSettings=%7b%22gender%22%3a%22Other%22%2c%22language%22%3a%22English%22%2c%22pin%22%3a%22%22%2c%22season_type%22%3a%221%22%2c%22uuid%22%3a%229acd4ec3-73a5-4c99-a431-996b44bf4f34%22%2c%22year%22%3a1900%7d'
- settings = {'gender': 'Other',
- 'language': 'English',
- 'pin': '',
- 'season_type': '1',
- 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
- 'year': 1900}
- title = ''
- uuid = '9acd4ec3-73a5-4c99-a431-996b44bf4f34'
- year = None
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py:69
- ----------------------------------------------------------------------------------------------------
- Code context:
- 67: logger.debug(f'Find info of tvshow with id {id}')
- 68: tvdb_client = tvdb.Client(settings)
- 69:> show = tvdb_client.get_series_details_api(id, settings)
- 70: if not show:
- 71: xbmcplugin.setResolvedUrl(
- ----------------------------------------------------------------------------------------------------
- Local variables:
- handle = 1
- id = '270578'
- settings = {'gender': 'Other',
- 'language': 'English',
- 'pin': '',
- 'season_type': '1',
- 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
- 'year': 1900}
- tvdb_client = <resources.lib.tvdb.TVDB object at 0x000001AB832C9DC0>
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:437
- ----------------------------------------------------------------------------------------------------
- Code context:
- 435: def get_series_details_api(self, id, settings=None) -> dict:
- 436: settings = settings or {}
- 437:> series = self.get_series_extended(id)
- 438: language = get_language(settings)
- 439: try:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- id = '270578'
- self = <resources.lib.tvdb.TVDB object at 0x000001AB832C9DC0>
- settings = {'gender': 'Other',
- 'language': 'English',
- 'pin': '',
- 'season_type': '1',
- 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
- 'year': 1900}
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:326
- ----------------------------------------------------------------------------------------------------
- Code context:
- 324: """Returns an series extended dictionary"""
- 325: url = self.url.series_url(id, True)
- 326:> return self.request.make_api_request(url)
- 327:
- 328: def get_series_translation(self, id: int, lang: str) -> dict:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- id = '270578'
- self = <resources.lib.tvdb.TVDB object at 0x000001AB832C9DC0>
- url = 'https://api4.thetvdb.com/v4/series/270578/extended'
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:75
- ----------------------------------------------------------------------------------------------------
- Code context:
- 73: response = requests.get(url, headers=headers)
- 74: if not response.ok:
- 75:> response.raise_for_status()
- 76: data = response.json()['data']
- 77: self.cache[url] = data
- ----------------------------------------------------------------------------------------------------
- Local variables:
- data = None
- headers = {'Accept': 'application/json',
- 'Authorization': 'Bearer '
- 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZ2UiOiIiLCJhcGlrZXkiOiJlZGFlNjBkYy0xYjQ0LTRiYWMtOGRiNy02NWMwYWFmNTI1OGIiLCJjb21tdW5pdHlfc3VwcG9ydGVkIjpmYWxzZSwiZXhwIjoxNzIyMzY0MDk3LCJnZW5kZXIiOiJPdGhlciIsImhpdHNfcGVyX2RheSI6MTAwMDAwMDAwLCJoaXRzX3Blcl9tb250aCI6MTAwMDAwMDAwLCJpZCI6IjEiLCJpc19tb2QiOnRydWUsImlzX3N5c3RlbV9rZXkiOmZhbHNlLCJpc190cnVzdGVkIjpmYWxzZSwicGluIjpudWxsLCJyb2xlcyI6WyJNb2QiXSwidGVuYW50IjoidHZkYiIsInV1aWQiOiI5YWNkNGVjMy03M2E1LTRjOTktYTQzMS05OTZiNDRiZjRmMzQifQ.KuBGY69muXn672cTfe9b2lk6GhBPJM08KJg8Af-VmJKx7Dk944-1RVq4N9IjXjjgorJGjWipSdo_YKK_AygC4CJQAHh8sckgOy_uQiXYaj9WRRqkBiayiLXGpeSMXXs6SaLfqfrB682nxOdpGz481a1lPD_S1xWEtxr7Dz9RW5mwbKj_ZqgmmOqvzm8H14yo1Yw4RODNwUmg-6FUyrT-n5TCZQ6pagoftFT85HOJoa1Zlh_2MC1BmDqIzM0jX1RISf1M61ahE2MH34EBeEdCjwzxMMkz2C4RexK7A6LRjnwe0NJNsOYKpIa9BfteCejDcP83gf0BCUd-BxRn15O-hUuuW6EujdOP4toUOsQ-NgytN5hjrnbKfBjXy5c9v_P7v53EaYj15Ou5_9qQo70_-MoIhEeqR2fIGbjEvB6GrV3DA_pIFPyIWa3SaC5J3pc_wbXmEirAsQ-f8orY8GM9E1Ol1gv8gASUMX5OqgQYTfl7ZYOco5CRH6Y6v8Jhw6aw7L6bP4Vd-HA0QvLViy08wjkL2VvCJMe6Urfzek_PTLiySLynjjA96Aoh1m5AMupGz19m1pf7n9d_y5vuFGyzjvXraSr35QCd36LoS2qcJqGet7w2KJc-bLAKpE5Q023gBMqs6HpsmzMhVtO_2w1rtHdtzUb2irRo6IGnbM0NEUg',
- 'User-Agent': 'TheTVDB v.4 TV Scraper for Kodi'}
- response = <Response [404]>
- self = <resources.lib.tvdb.Request object at 0x000001AB93918FD0>
- url = 'https://api4.thetvdb.com/v4/series/270578/extended'
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\simple_requests.py:132
- ----------------------------------------------------------------------------------------------------
- Code context:
- 130: def raise_for_status(self) -> None:
- 131: if not self.ok:
- 132:> raise HTTPError(self)
- 133:
- 134:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- self = <Response [404]>
- ====================================================================================================
- ************************************* End of diagnostic info ***************************************
- 2024-06-30 18:32:30.496 T:1616 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
- Error Type: <class 'resources.lib.simple_requests.HTTPError'>
- Error Contents: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/270578/extended
- Traceback (most recent call last):
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py", line 4, in <module>
- actions.run()
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py", line 46, in run
- get_series_details(
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py", line 69, in get_series_details
- show = tvdb_client.get_series_details_api(id, settings)
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 437, in get_series_details_api
- series = self.get_series_extended(id)
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 326, in get_series_extended
- return self.request.make_api_request(url)
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 75, in make_api_request
- response.raise_for_status()
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\simple_requests.py", line 132, in raise_for_status
- raise HTTPError(self)
- resources.lib.simple_requests.HTTPError: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/270578/extended
- -->End of Python script error report<--
- 2024-06-30 18:32:38.148 T:2612 warning <general>: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
- 2024-06-30 18:32:38.154 T:7460 warning <general>: ListItem.setUniqueIDs() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setUniqueIDs().
- 2024-06-30 18:32:38.155 T:2612 warning <general>: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
- 2024-06-30 18:32:38.759 T:7460 error <general>: [metadata.tvshows.thetvdb.com.v4.python (1.1.6)]:
- *********************************** Unhandled exception detected ***********************************
- ####################################################################################################
- Diagnostic info
- ----------------------------------------------------------------------------------------------------
- Exception type : HTTPError
- Exception value : HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/272206/extended
- System info : uname_result(system='Windows', node='Lounge', release='10', version='10.0.19045', machine='AMD64', processor='Intel64 Family 6 Model 142 Stepping 9, GenuineIntel')
- Python version : 3.8.15 (default, Oct 17 2022, 02:39:57) [MSC v.1929 64 bit (AMD64)]
- Kodi version : 21.0 (21.0.0) Git:20240406-60c4500054
- sys.argv : ['plugin://metadata.tvshows.thetvdb.com.v4.python/',
- '2',
- '?action=getdetails&url=272206&pathSettings=%7b%22gender%22%3a%22Other%22%2c%22language%22%3a%22English%22%2c%22pin%22%3a%22%22%2c%22season_type%22%3a%221%22%2c%22uuid%22%3a%229acd4ec3-73a5-4c99-a431-996b44bf4f34%22%2c%22year%22%3a1900%7d',
- 'resume:false']
- ----------------------------------------------------------------------------------------------------
- sys.path:
- ['C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python',
- 'C:\\Program Files\\Kodi\\system\\python\\DLLs',
- 'C:\\Program Files\\Kodi\\system\\python\\Lib',
- 'C:\\Program Files\\Kodi\\system\\python\\Lib\\site-packages']
- ####################################################################################################
- Stack Trace
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\exception_logger.py:134
- ----------------------------------------------------------------------------------------------------
- Code context:
- 132: """
- 133: try:
- 134:> yield
- 135: except Exception as exc:
- 136: stack_trace = ''
- ----------------------------------------------------------------------------------------------------
- Local variables:
- exc = HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/272206/extended
- frame_info = FrameInfo(frame=<frame at 0x000001AB8DCD1D90, file 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\exception_logger.py', line 138, code log_exception>, filename='C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\exception_logger.py', lineno=134, function='log_exception', code_context=[' """\n', ' try:\n', ' yield\n', ' except Exception as exc:\n', " stack_trace = ''\n"], index=2)
- logger_func = <function logger.error at 0x000001AB847060D0>
- stack_trace = ''
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py:4
- ----------------------------------------------------------------------------------------------------
- Code context:
- 1: from resources.lib import actions, exception_logger
- 2:
- 3: with exception_logger.log_exception():
- 4:> actions.run()
- ----------------------------------------------------------------------------------------------------
- Local variables:
- actions = <module 'resources.lib.actions' from 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\actions.py'>
- exception_logger = <module 'resources.lib.exception_logger' from 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\exception_logger.py'>
- sys = <module 'sys' (built-in)>
- xbmc = <module 'xbmc' (built-in)>
- xbmcout = <class '__main__.xbmcout'>
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py:46
- ----------------------------------------------------------------------------------------------------
- Code context:
- 44: elif action == 'getdetails' and 'url' in params:
- 45: logger.debug("about to call get series details")
- 46:> get_series_details(
- 47: urllib.parse.unquote_plus(params["url"]), settings, handle)
- 48: elif action == 'getepisodelist' and 'url' in params:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- _action = 'getdetails'
- _settings = '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}'
- _title = ''
- action = 'getdetails'
- handle = 2
- params = {'action': 'getdetails',
- 'pathSettings': '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}',
- 'url': '272206'}
- qs = 'action=getdetails&url=272206&pathSettings=%7b%22gender%22%3a%22Other%22%2c%22language%22%3a%22English%22%2c%22pin%22%3a%22%22%2c%22season_type%22%3a%221%22%2c%22uuid%22%3a%229acd4ec3-73a5-4c99-a431-996b44bf4f34%22%2c%22year%22%3a1900%7d'
- settings = {'gender': 'Other',
- 'language': 'English',
- 'pin': '',
- 'season_type': '1',
- 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
- 'year': 1900}
- title = ''
- uuid = '9acd4ec3-73a5-4c99-a431-996b44bf4f34'
- year = None
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py:69
- ----------------------------------------------------------------------------------------------------
- Code context:
- 67: logger.debug(f'Find info of tvshow with id {id}')
- 68: tvdb_client = tvdb.Client(settings)
- 69:> show = tvdb_client.get_series_details_api(id, settings)
- 70: if not show:
- 71: xbmcplugin.setResolvedUrl(
- ----------------------------------------------------------------------------------------------------
- Local variables:
- handle = 2
- id = '272206'
- settings = {'gender': 'Other',
- 'language': 'English',
- 'pin': '',
- 'season_type': '1',
- 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
- 'year': 1900}
- tvdb_client = <resources.lib.tvdb.TVDB object at 0x000001AB82C121C0>
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:437
- ----------------------------------------------------------------------------------------------------
- Code context:
- 435: def get_series_details_api(self, id, settings=None) -> dict:
- 436: settings = settings or {}
- 437:> series = self.get_series_extended(id)
- 438: language = get_language(settings)
- 439: try:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- id = '272206'
- self = <resources.lib.tvdb.TVDB object at 0x000001AB82C121C0>
- settings = {'gender': 'Other',
- 'language': 'English',
- 'pin': '',
- 'season_type': '1',
- 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
- 'year': 1900}
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:326
- ----------------------------------------------------------------------------------------------------
- Code context:
- 324: """Returns an series extended dictionary"""
- 325: url = self.url.series_url(id, True)
- 326:> return self.request.make_api_request(url)
- 327:
- 328: def get_series_translation(self, id: int, lang: str) -> dict:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- id = '272206'
- self = <resources.lib.tvdb.TVDB object at 0x000001AB82C121C0>
- url = 'https://api4.thetvdb.com/v4/series/272206/extended'
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:75
- ----------------------------------------------------------------------------------------------------
- Code context:
- 73: response = requests.get(url, headers=headers)
- 74: if not response.ok:
- 75:> response.raise_for_status()
- 76: data = response.json()['data']
- 77: self.cache[url] = data
- ----------------------------------------------------------------------------------------------------
- Local variables:
- data = None
- headers = {'Accept': 'application/json',
- 'Authorization': 'Bearer '
- 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZ2UiOiIiLCJhcGlrZXkiOiJlZGFlNjBkYy0xYjQ0LTRiYWMtOGRiNy02NWMwYWFmNTI1OGIiLCJjb21tdW5pdHlfc3VwcG9ydGVkIjpmYWxzZSwiZXhwIjoxNzIyMzY0MzU5LCJnZW5kZXIiOiJPdGhlciIsImhpdHNfcGVyX2RheSI6MTAwMDAwMDAwLCJoaXRzX3Blcl9tb250aCI6MTAwMDAwMDAwLCJpZCI6IjEiLCJpc19tb2QiOnRydWUsImlzX3N5c3RlbV9rZXkiOmZhbHNlLCJpc190cnVzdGVkIjpmYWxzZSwicGluIjpudWxsLCJyb2xlcyI6WyJNb2QiXSwidGVuYW50IjoidHZkYiIsInV1aWQiOiI5YWNkNGVjMy03M2E1LTRjOTktYTQzMS05OTZiNDRiZjRmMzQifQ.nlPd5efc9pkW1dLARLmrolDGWYetdnlEoyU5BX_ew0DjSsa_IpFgVLPZsqS-8xQiMrJnyyEqCErSq8EvcDQp-waGc0dtbuBjNWbG3p22Ff0q9IZUXBpsnaj39K5_9LT30_SuvyQ-rQdP4P9E4maCEePzMRrLUKkq6m8daNTZf9oA1HvBC0TAU_w8dTLR8-fpRu0QMI1oMqBfhpmtdlDAp62FMBoqlMGaLHg7liL0pSfE9x5rS7sEXldFETX0HrPfYIygWMxMgpHYV0nJ9UTSOUjFy_GisNwh--ZCzBLL6um7weartWwF5YOTcbD5rJgbFea1qhGYfTR263w8cbcFJs-vqoOk3q3NtrcSm4D9HDBv0L557xZ6UncFDd28w_V9zdK5P2F7Xl3a--1dmijxxwd3gJpedzyHhxqIUKyg5ktcvRaTERsk4o5taGT34E1nVsgzmApsmeqInTn4o2x48dtUv_cNITECAEsxfmwB1g-lbefmbIxGqh4LYKHd2_pxWcF-ipbmc3diUM2ShyVuiAjG-Q0i6eGM4_nEt0ND0gyd7KJ3TPFmccowebqiIU29nLcZ4Frw4is80gUo-T4nIbvPo_ReLtj5v81--4a7tfAE-BzyDbGYMTBMgG1LeX24GUVzndZrjHZlQFTabvsjKIFvspdxMdZXH3uC-mXpykI',
- 'User-Agent': 'TheTVDB v.4 TV Scraper for Kodi'}
- response = <Response [404]>
- self = <resources.lib.tvdb.Request object at 0x000001AB845DAB20>
- url = 'https://api4.thetvdb.com/v4/series/272206/extended'
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\simple_requests.py:132
- ----------------------------------------------------------------------------------------------------
- Code context:
- 130: def raise_for_status(self) -> None:
- 131: if not self.ok:
- 132:> raise HTTPError(self)
- 133:
- 134:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- self = <Response [404]>
- ====================================================================================================
- ************************************* End of diagnostic info ***************************************
- 2024-06-30 18:32:38.772 T:7460 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
- Error Type: <class 'resources.lib.simple_requests.HTTPError'>
- Error Contents: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/272206/extended
- Traceback (most recent call last):
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py", line 4, in <module>
- actions.run()
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py", line 46, in run
- get_series_details(
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py", line 69, in get_series_details
- show = tvdb_client.get_series_details_api(id, settings)
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 437, in get_series_details_api
- series = self.get_series_extended(id)
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 326, in get_series_extended
- return self.request.make_api_request(url)
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 75, in make_api_request
- response.raise_for_status()
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\simple_requests.py", line 132, in raise_for_status
- raise HTTPError(self)
- resources.lib.simple_requests.HTTPError: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/272206/extended
- -->End of Python script error report<--
- 2024-06-30 18:32:39.953 T:9916 error <general>: CCurlFile::XFILE::CCurlFile::Stat - <https://artworks.thetvdb.com/banners/series/395141/posters/6016bf89e6805.jpg> Failed: HTTP response code said error(22)
- 2024-06-30 18:32:40.179 T:2612 info <general>: Parsing ASX
- 2024-06-30 18:32:40.653 T:9916 error <general>: CCurlFile::CReadState::XFILE::CCurlFile::CReadState::FillBuffer - (0x1ab83498930) Failed: HTTP returned code 403
- 2024-06-30 18:32:40.653 T:9916 error <general>: CCurlFile::XFILE::CCurlFile::Open - <https://artworks.thetvdb.com/banners/series/395141/posters/6016bf89e6805.jpg> Failed with code 403:
- 2024-06-30 18:32:41.897 T:9772 error <general>: CCurlFile::XFILE::CCurlFile::Stat - <https://artworks.thetvdb.com/banners/series/367227/posters/5f739dfdead65.jpg> Failed: HTTP response code said error(22)
- 2024-06-30 18:32:42.065 T:2612 warning <general>: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
- 2024-06-30 18:32:42.540 T:9772 error <general>: CCurlFile::CReadState::XFILE::CCurlFile::CReadState::FillBuffer - (0x1ab834991f0) Failed: HTTP returned code 403
- 2024-06-30 18:32:42.541 T:9772 error <general>: CCurlFile::XFILE::CCurlFile::Open - <https://artworks.thetvdb.com/banners/series/367227/posters/5f739dfdead65.jpg> Failed with code 403:
- 2024-06-30 18:32:42.664 T:868 warning <general>: ListItem.setUniqueIDs() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setUniqueIDs().
- 2024-06-30 18:32:42.665 T:2612 warning <general>: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
- 2024-06-30 18:32:43.300 T:868 error <general>: [metadata.tvshows.thetvdb.com.v4.python (1.1.6)]:
- *********************************** Unhandled exception detected ***********************************
- ####################################################################################################
- Diagnostic info
- ----------------------------------------------------------------------------------------------------
- Exception type : HTTPError
- Exception value : HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/145731/extended
- System info : uname_result(system='Windows', node='Lounge', release='10', version='10.0.19045', machine='AMD64', processor='Intel64 Family 6 Model 142 Stepping 9, GenuineIntel')
- Python version : 3.8.15 (default, Oct 17 2022, 02:39:57) [MSC v.1929 64 bit (AMD64)]
- Kodi version : 21.0 (21.0.0) Git:20240406-60c4500054
- sys.argv : ['plugin://metadata.tvshows.thetvdb.com.v4.python/',
- '3',
- '?action=getdetails&url=145731&pathSettings=%7b%22gender%22%3a%22Other%22%2c%22language%22%3a%22English%22%2c%22pin%22%3a%22%22%2c%22season_type%22%3a%221%22%2c%22uuid%22%3a%229acd4ec3-73a5-4c99-a431-996b44bf4f34%22%2c%22year%22%3a1900%7d',
- 'resume:false']
- ----------------------------------------------------------------------------------------------------
- sys.path:
- ['C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python',
- 'C:\\Program Files\\Kodi\\system\\python\\DLLs',
- 'C:\\Program Files\\Kodi\\system\\python\\Lib',
- 'C:\\Program Files\\Kodi\\system\\python\\Lib\\site-packages']
- ####################################################################################################
- Stack Trace
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\exception_logger.py:134
- ----------------------------------------------------------------------------------------------------
- Code context:
- 132: """
- 133: try:
- 134:> yield
- 135: except Exception as exc:
- 136: stack_trace = ''
- ----------------------------------------------------------------------------------------------------
- Local variables:
- exc = HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/145731/extended
- frame_info = FrameInfo(frame=<frame at 0x000001AB874C5080, file 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\exception_logger.py', line 138, code log_exception>, filename='C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\exception_logger.py', lineno=134, function='log_exception', code_context=[' """\n', ' try:\n', ' yield\n', ' except Exception as exc:\n', " stack_trace = ''\n"], index=2)
- logger_func = <function logger.error at 0x000001AB939BB0D0>
- stack_trace = ''
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py:4
- ----------------------------------------------------------------------------------------------------
- Code context:
- 1: from resources.lib import actions, exception_logger
- 2:
- 3: with exception_logger.log_exception():
- 4:> actions.run()
- ----------------------------------------------------------------------------------------------------
- Local variables:
- actions = <module 'resources.lib.actions' from 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\actions.py'>
- exception_logger = <module 'resources.lib.exception_logger' from 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\exception_logger.py'>
- sys = <module 'sys' (built-in)>
- xbmc = <module 'xbmc' (built-in)>
- xbmcout = <class '__main__.xbmcout'>
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py:46
- ----------------------------------------------------------------------------------------------------
- Code context:
- 44: elif action == 'getdetails' and 'url' in params:
- 45: logger.debug("about to call get series details")
- 46:> get_series_details(
- 47: urllib.parse.unquote_plus(params["url"]), settings, handle)
- 48: elif action == 'getepisodelist' and 'url' in params:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- _action = 'getdetails'
- _settings = '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}'
- _title = ''
- action = 'getdetails'
- handle = 3
- params = {'action': 'getdetails',
- 'pathSettings': '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}',
- 'url': '145731'}
- qs = 'action=getdetails&url=145731&pathSettings=%7b%22gender%22%3a%22Other%22%2c%22language%22%3a%22English%22%2c%22pin%22%3a%22%22%2c%22season_type%22%3a%221%22%2c%22uuid%22%3a%229acd4ec3-73a5-4c99-a431-996b44bf4f34%22%2c%22year%22%3a1900%7d'
- settings = {'gender': 'Other',
- 'language': 'English',
- 'pin': '',
- 'season_type': '1',
- 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
- 'year': 1900}
- title = ''
- uuid = '9acd4ec3-73a5-4c99-a431-996b44bf4f34'
- year = None
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py:69
- ----------------------------------------------------------------------------------------------------
- Code context:
- 67: logger.debug(f'Find info of tvshow with id {id}')
- 68: tvdb_client = tvdb.Client(settings)
- 69:> show = tvdb_client.get_series_details_api(id, settings)
- 70: if not show:
- 71: xbmcplugin.setResolvedUrl(
- ----------------------------------------------------------------------------------------------------
- Local variables:
- handle = 3
- id = '145731'
- settings = {'gender': 'Other',
- 'language': 'English',
- 'pin': '',
- 'season_type': '1',
- 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
- 'year': 1900}
- tvdb_client = <resources.lib.tvdb.TVDB object at 0x000001AB845D1B50>
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:437
- ----------------------------------------------------------------------------------------------------
- Code context:
- 435: def get_series_details_api(self, id, settings=None) -> dict:
- 436: settings = settings or {}
- 437:> series = self.get_series_extended(id)
- 438: language = get_language(settings)
- 439: try:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- id = '145731'
- self = <resources.lib.tvdb.TVDB object at 0x000001AB845D1B50>
- settings = {'gender': 'Other',
- 'language': 'English',
- 'pin': '',
- 'season_type': '1',
- 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
- 'year': 1900}
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:326
- ----------------------------------------------------------------------------------------------------
- Code context:
- 324: """Returns an series extended dictionary"""
- 325: url = self.url.series_url(id, True)
- 326:> return self.request.make_api_request(url)
- 327:
- 328: def get_series_translation(self, id: int, lang: str) -> dict:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- id = '145731'
- self = <resources.lib.tvdb.TVDB object at 0x000001AB845D1B50>
- url = 'https://api4.thetvdb.com/v4/series/145731/extended'
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:75
- ----------------------------------------------------------------------------------------------------
- Code context:
- 73: response = requests.get(url, headers=headers)
- 74: if not response.ok:
- 75:> response.raise_for_status()
- 76: data = response.json()['data']
- 77: self.cache[url] = data
- ----------------------------------------------------------------------------------------------------
- Local variables:
- data = None
- headers = {'Accept': 'application/json',
- 'Authorization': 'Bearer '
- 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZ2UiOiIiLCJhcGlrZXkiOiJlZGFlNjBkYy0xYjQ0LTRiYWMtOGRiNy02NWMwYWFmNTI1OGIiLCJjb21tdW5pdHlfc3VwcG9ydGVkIjpmYWxzZSwiZXhwIjoxNzIyMzY0MzY0LCJnZW5kZXIiOiJPdGhlciIsImhpdHNfcGVyX2RheSI6MTAwMDAwMDAwLCJoaXRzX3Blcl9tb250aCI6MTAwMDAwMDAwLCJpZCI6IjEiLCJpc19tb2QiOnRydWUsImlzX3N5c3RlbV9rZXkiOmZhbHNlLCJpc190cnVzdGVkIjpmYWxzZSwicGluIjpudWxsLCJyb2xlcyI6WyJNb2QiXSwidGVuYW50IjoidHZkYiIsInV1aWQiOiI5YWNkNGVjMy03M2E1LTRjOTktYTQzMS05OTZiNDRiZjRmMzQifQ.HGwuK5rl9Od_tsUWW8U8UPrRcmwH84HEZnO0kP8Jq756WRFUHiemqNWz9OItlPF0mt1I0ZSUQTKQXIumZykV1Q4glrlAlRXSj2uOWFaaek8cKNjCxZMYfXgbAFveI7iI3tadVgBXZAtWsqTTtlt68I5ypCDtTZBQD-XPBTa1SWyveMDkHPBk2K4Am4K40ClUt37qQoKg8llIvVx87qKeOW6iC_qrc7AAsnOafJxogPJDZ4Zu1KD3MVw3Mu0va1i7mBtfc64JuWIV2Rq_4_C-WokEJS4cS8Fjn2VKnRYEBMZXMJtZxmCsZiF2eDkRL_qZjC5bk5LC8BLgWYvf610shvpvHRig57yV4LOvIXk8g-RvkEb_O9Tuo2Z3OGkDosUv3HZ2dY6iiPa7piEDONUAiA4P_4OOOYH3dvXSdcko6mSxOyI5ntQTuTXh9usw8lyBnOIQRmWee6jpIfZMD1XP4V3OS6s6XFP7IbXEwCoP1NO4XsZohxiD-kvx64udB4A1I-o5aT1tm1yiC1dhgNwolI008wfK7SEL19FHvyvOpI3YEDeDn4ovy0m9qbDYPHnhGY8gR_9PobKwADozEGa4yFmCDKDHmHMngip3-HYE9oL0ZTgZ1yz5tCTE9xw8zvGExe3IC1guj1OJ0ihZDTOFqvwAXsPfv2Rr21jyVBv6JYQ',
- 'User-Agent': 'TheTVDB v.4 TV Scraper for Kodi'}
- response = <Response [404]>
- self = <resources.lib.tvdb.Request object at 0x000001AB93F5E6D0>
- url = 'https://api4.thetvdb.com/v4/series/145731/extended'
- ====================================================================================================
- File:
- C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\simple_requests.py:132
- ----------------------------------------------------------------------------------------------------
- Code context:
- 130: def raise_for_status(self) -> None:
- 131: if not self.ok:
- 132:> raise HTTPError(self)
- 133:
- 134:
- ----------------------------------------------------------------------------------------------------
- Local variables:
- self = <Response [404]>
- ====================================================================================================
- ************************************* End of diagnostic info ***************************************
- 2024-06-30 18:32:43.308 T:868 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
- Error Type: <class 'resources.lib.simple_requests.HTTPError'>
- Error Contents: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/145731/extended
- Traceback (most recent call last):
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py", line 4, in <module>
- actions.run()
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py", line 46, in run
- get_series_details(
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py", line 69, in get_series_details
- show = tvdb_client.get_series_details_api(id, settings)
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 437, in get_series_details_api
- series = self.get_series_extended(id)
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 326, in get_series_extended
- return self.request.make_api_request(url)
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 75, in make_api_request
- response.raise_for_status()
- File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\simple_requests.py", line 132, in raise_for_status
- raise HTTPError(self)
- resources.lib.simple_requests.HTTPError: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/145731/extended
- -->End of Python script error report<--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement