Advertisement
kchambers

Kodi 404 Error

Jun 30th, 2024
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.54 KB | None | 0 0
  1.  
  2. Diagnostic info
  3. ----------------------------------------------------------------------------------------------------
  4. Exception type : HTTPError
  5. Exception value : HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/270578/extended
  6. 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')
  7. Python version : 3.8.15 (default, Oct 17 2022, 02:39:57) [MSC v.1929 64 bit (AMD64)]
  8. Kodi version : 21.0 (21.0.0) Git:20240406-60c4500054
  9. sys.argv : ['plugin://metadata.tvshows.thetvdb.com.v4.python/',
  10. '1',
  11. '?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',
  12. 'resume:false']
  13. ----------------------------------------------------------------------------------------------------
  14. sys.path:
  15. ['C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python',
  16. 'C:\\Program Files\\Kodi\\system\\python\\DLLs',
  17. 'C:\\Program Files\\Kodi\\system\\python\\Lib',
  18. 'C:\\Program Files\\Kodi\\system\\python\\Lib\\site-packages']
  19. ####################################################################################################
  20. Stack Trace
  21. ====================================================================================================
  22. File:
  23. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\exception_logger.py:134
  24. ----------------------------------------------------------------------------------------------------
  25. Code context:
  26. 132: """
  27. 133: try:
  28. 134:> yield
  29. 135: except Exception as exc:
  30. 136: stack_trace = ''
  31.  
  32. ----------------------------------------------------------------------------------------------------
  33. Local variables:
  34. exc = HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/270578/extended
  35. 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)
  36. logger_func = <function logger.error at 0x000001AB82DCE5E0>
  37. stack_trace = ''
  38. ====================================================================================================
  39. File:
  40. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py:4
  41. ----------------------------------------------------------------------------------------------------
  42. Code context:
  43. 1: from resources.lib import actions, exception_logger
  44. 2:
  45. 3: with exception_logger.log_exception():
  46. 4:> actions.run()
  47.  
  48. ----------------------------------------------------------------------------------------------------
  49. Local variables:
  50. actions = <module 'resources.lib.actions' from 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\actions.py'>
  51. 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'>
  52. sys = <module 'sys' (built-in)>
  53. xbmc = <module 'xbmc' (built-in)>
  54. xbmcout = <class '__main__.xbmcout'>
  55. ====================================================================================================
  56. File:
  57. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py:46
  58. ----------------------------------------------------------------------------------------------------
  59. Code context:
  60. 44: elif action == 'getdetails' and 'url' in params:
  61. 45: logger.debug("about to call get series details")
  62. 46:> get_series_details(
  63. 47: urllib.parse.unquote_plus(params["url"]), settings, handle)
  64. 48: elif action == 'getepisodelist' and 'url' in params:
  65.  
  66. ----------------------------------------------------------------------------------------------------
  67. Local variables:
  68. _action = 'getdetails'
  69. _settings = '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}'
  70. _title = ''
  71. action = 'getdetails'
  72. handle = 1
  73. params = {'action': 'getdetails',
  74. 'pathSettings': '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}',
  75. 'url': '270578'}
  76. 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'
  77. settings = {'gender': 'Other',
  78. 'language': 'English',
  79. 'pin': '',
  80. 'season_type': '1',
  81. 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
  82. 'year': 1900}
  83. title = ''
  84. uuid = '9acd4ec3-73a5-4c99-a431-996b44bf4f34'
  85. year = None
  86. ====================================================================================================
  87. File:
  88. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py:69
  89. ----------------------------------------------------------------------------------------------------
  90. Code context:
  91. 67: logger.debug(f'Find info of tvshow with id {id}')
  92. 68: tvdb_client = tvdb.Client(settings)
  93. 69:> show = tvdb_client.get_series_details_api(id, settings)
  94. 70: if not show:
  95. 71: xbmcplugin.setResolvedUrl(
  96.  
  97. ----------------------------------------------------------------------------------------------------
  98. Local variables:
  99. handle = 1
  100. id = '270578'
  101. settings = {'gender': 'Other',
  102. 'language': 'English',
  103. 'pin': '',
  104. 'season_type': '1',
  105. 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
  106. 'year': 1900}
  107. tvdb_client = <resources.lib.tvdb.TVDB object at 0x000001AB832C9DC0>
  108. ====================================================================================================
  109. File:
  110. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:437
  111. ----------------------------------------------------------------------------------------------------
  112. Code context:
  113. 435: def get_series_details_api(self, id, settings=None) -> dict:
  114. 436: settings = settings or {}
  115. 437:> series = self.get_series_extended(id)
  116. 438: language = get_language(settings)
  117. 439: try:
  118.  
  119. ----------------------------------------------------------------------------------------------------
  120. Local variables:
  121. id = '270578'
  122. self = <resources.lib.tvdb.TVDB object at 0x000001AB832C9DC0>
  123. settings = {'gender': 'Other',
  124. 'language': 'English',
  125. 'pin': '',
  126. 'season_type': '1',
  127. 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
  128. 'year': 1900}
  129. ====================================================================================================
  130. File:
  131. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:326
  132. ----------------------------------------------------------------------------------------------------
  133. Code context:
  134. 324: """Returns an series extended dictionary"""
  135. 325: url = self.url.series_url(id, True)
  136. 326:> return self.request.make_api_request(url)
  137. 327:
  138. 328: def get_series_translation(self, id: int, lang: str) -> dict:
  139.  
  140. ----------------------------------------------------------------------------------------------------
  141. Local variables:
  142. id = '270578'
  143. self = <resources.lib.tvdb.TVDB object at 0x000001AB832C9DC0>
  144. url = 'https://api4.thetvdb.com/v4/series/270578/extended'
  145. ====================================================================================================
  146. File:
  147. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:75
  148. ----------------------------------------------------------------------------------------------------
  149. Code context:
  150. 73: response = requests.get(url, headers=headers)
  151. 74: if not response.ok:
  152. 75:> response.raise_for_status()
  153. 76: data = response.json()['data']
  154. 77: self.cache[url] = data
  155.  
  156. ----------------------------------------------------------------------------------------------------
  157. Local variables:
  158. data = None
  159. headers = {'Accept': 'application/json',
  160. 'Authorization': 'Bearer '
  161. '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',
  162. 'User-Agent': 'TheTVDB v.4 TV Scraper for Kodi'}
  163. response = <Response [404]>
  164. self = <resources.lib.tvdb.Request object at 0x000001AB93918FD0>
  165. url = 'https://api4.thetvdb.com/v4/series/270578/extended'
  166. ====================================================================================================
  167. File:
  168. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\simple_requests.py:132
  169. ----------------------------------------------------------------------------------------------------
  170. Code context:
  171. 130: def raise_for_status(self) -> None:
  172. 131: if not self.ok:
  173. 132:> raise HTTPError(self)
  174. 133:
  175. 134:
  176.  
  177. ----------------------------------------------------------------------------------------------------
  178. Local variables:
  179. self = <Response [404]>
  180. ====================================================================================================
  181.  
  182. ************************************* End of diagnostic info ***************************************
  183.  
  184. 2024-06-30 18:32:30.496 T:1616 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
  185. - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
  186. Error Type: <class 'resources.lib.simple_requests.HTTPError'>
  187. Error Contents: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/270578/extended
  188. Traceback (most recent call last):
  189. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py", line 4, in <module>
  190. actions.run()
  191. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py", line 46, in run
  192. get_series_details(
  193. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py", line 69, in get_series_details
  194. show = tvdb_client.get_series_details_api(id, settings)
  195. 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
  196. series = self.get_series_extended(id)
  197. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 326, in get_series_extended
  198. return self.request.make_api_request(url)
  199. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 75, in make_api_request
  200. response.raise_for_status()
  201. 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
  202. raise HTTPError(self)
  203. resources.lib.simple_requests.HTTPError: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/270578/extended
  204. -->End of Python script error report<--
  205.  
  206. 2024-06-30 18:32:38.148 T:2612 warning <general>: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
  207. 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().
  208. 2024-06-30 18:32:38.155 T:2612 warning <general>: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
  209. 2024-06-30 18:32:38.759 T:7460 error <general>: [metadata.tvshows.thetvdb.com.v4.python (1.1.6)]:
  210. *********************************** Unhandled exception detected ***********************************
  211. ####################################################################################################
  212. Diagnostic info
  213. ----------------------------------------------------------------------------------------------------
  214. Exception type : HTTPError
  215. Exception value : HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/272206/extended
  216. 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')
  217. Python version : 3.8.15 (default, Oct 17 2022, 02:39:57) [MSC v.1929 64 bit (AMD64)]
  218. Kodi version : 21.0 (21.0.0) Git:20240406-60c4500054
  219. sys.argv : ['plugin://metadata.tvshows.thetvdb.com.v4.python/',
  220. '2',
  221. '?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',
  222. 'resume:false']
  223. ----------------------------------------------------------------------------------------------------
  224. sys.path:
  225. ['C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python',
  226. 'C:\\Program Files\\Kodi\\system\\python\\DLLs',
  227. 'C:\\Program Files\\Kodi\\system\\python\\Lib',
  228. 'C:\\Program Files\\Kodi\\system\\python\\Lib\\site-packages']
  229. ####################################################################################################
  230. Stack Trace
  231. ====================================================================================================
  232. File:
  233. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\exception_logger.py:134
  234. ----------------------------------------------------------------------------------------------------
  235. Code context:
  236. 132: """
  237. 133: try:
  238. 134:> yield
  239. 135: except Exception as exc:
  240. 136: stack_trace = ''
  241.  
  242. ----------------------------------------------------------------------------------------------------
  243. Local variables:
  244. exc = HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/272206/extended
  245. 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)
  246. logger_func = <function logger.error at 0x000001AB847060D0>
  247. stack_trace = ''
  248. ====================================================================================================
  249. File:
  250. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py:4
  251. ----------------------------------------------------------------------------------------------------
  252. Code context:
  253. 1: from resources.lib import actions, exception_logger
  254. 2:
  255. 3: with exception_logger.log_exception():
  256. 4:> actions.run()
  257.  
  258. ----------------------------------------------------------------------------------------------------
  259. Local variables:
  260. actions = <module 'resources.lib.actions' from 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\actions.py'>
  261. 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'>
  262. sys = <module 'sys' (built-in)>
  263. xbmc = <module 'xbmc' (built-in)>
  264. xbmcout = <class '__main__.xbmcout'>
  265. ====================================================================================================
  266. File:
  267. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py:46
  268. ----------------------------------------------------------------------------------------------------
  269. Code context:
  270. 44: elif action == 'getdetails' and 'url' in params:
  271. 45: logger.debug("about to call get series details")
  272. 46:> get_series_details(
  273. 47: urllib.parse.unquote_plus(params["url"]), settings, handle)
  274. 48: elif action == 'getepisodelist' and 'url' in params:
  275.  
  276. ----------------------------------------------------------------------------------------------------
  277. Local variables:
  278. _action = 'getdetails'
  279. _settings = '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}'
  280. _title = ''
  281. action = 'getdetails'
  282. handle = 2
  283. params = {'action': 'getdetails',
  284. 'pathSettings': '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}',
  285. 'url': '272206'}
  286. 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'
  287. settings = {'gender': 'Other',
  288. 'language': 'English',
  289. 'pin': '',
  290. 'season_type': '1',
  291. 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
  292. 'year': 1900}
  293. title = ''
  294. uuid = '9acd4ec3-73a5-4c99-a431-996b44bf4f34'
  295. year = None
  296. ====================================================================================================
  297. File:
  298. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py:69
  299. ----------------------------------------------------------------------------------------------------
  300. Code context:
  301. 67: logger.debug(f'Find info of tvshow with id {id}')
  302. 68: tvdb_client = tvdb.Client(settings)
  303. 69:> show = tvdb_client.get_series_details_api(id, settings)
  304. 70: if not show:
  305. 71: xbmcplugin.setResolvedUrl(
  306.  
  307. ----------------------------------------------------------------------------------------------------
  308. Local variables:
  309. handle = 2
  310. id = '272206'
  311. settings = {'gender': 'Other',
  312. 'language': 'English',
  313. 'pin': '',
  314. 'season_type': '1',
  315. 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
  316. 'year': 1900}
  317. tvdb_client = <resources.lib.tvdb.TVDB object at 0x000001AB82C121C0>
  318. ====================================================================================================
  319. File:
  320. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:437
  321. ----------------------------------------------------------------------------------------------------
  322. Code context:
  323. 435: def get_series_details_api(self, id, settings=None) -> dict:
  324. 436: settings = settings or {}
  325. 437:> series = self.get_series_extended(id)
  326. 438: language = get_language(settings)
  327. 439: try:
  328.  
  329. ----------------------------------------------------------------------------------------------------
  330. Local variables:
  331. id = '272206'
  332. self = <resources.lib.tvdb.TVDB object at 0x000001AB82C121C0>
  333. settings = {'gender': 'Other',
  334. 'language': 'English',
  335. 'pin': '',
  336. 'season_type': '1',
  337. 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
  338. 'year': 1900}
  339. ====================================================================================================
  340. File:
  341. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:326
  342. ----------------------------------------------------------------------------------------------------
  343. Code context:
  344. 324: """Returns an series extended dictionary"""
  345. 325: url = self.url.series_url(id, True)
  346. 326:> return self.request.make_api_request(url)
  347. 327:
  348. 328: def get_series_translation(self, id: int, lang: str) -> dict:
  349.  
  350. ----------------------------------------------------------------------------------------------------
  351. Local variables:
  352. id = '272206'
  353. self = <resources.lib.tvdb.TVDB object at 0x000001AB82C121C0>
  354. url = 'https://api4.thetvdb.com/v4/series/272206/extended'
  355. ====================================================================================================
  356. File:
  357. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:75
  358. ----------------------------------------------------------------------------------------------------
  359. Code context:
  360. 73: response = requests.get(url, headers=headers)
  361. 74: if not response.ok:
  362. 75:> response.raise_for_status()
  363. 76: data = response.json()['data']
  364. 77: self.cache[url] = data
  365.  
  366. ----------------------------------------------------------------------------------------------------
  367. Local variables:
  368. data = None
  369. headers = {'Accept': 'application/json',
  370. 'Authorization': 'Bearer '
  371. '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',
  372. 'User-Agent': 'TheTVDB v.4 TV Scraper for Kodi'}
  373. response = <Response [404]>
  374. self = <resources.lib.tvdb.Request object at 0x000001AB845DAB20>
  375. url = 'https://api4.thetvdb.com/v4/series/272206/extended'
  376. ====================================================================================================
  377. File:
  378. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\simple_requests.py:132
  379. ----------------------------------------------------------------------------------------------------
  380. Code context:
  381. 130: def raise_for_status(self) -> None:
  382. 131: if not self.ok:
  383. 132:> raise HTTPError(self)
  384. 133:
  385. 134:
  386.  
  387. ----------------------------------------------------------------------------------------------------
  388. Local variables:
  389. self = <Response [404]>
  390. ====================================================================================================
  391.  
  392. ************************************* End of diagnostic info ***************************************
  393.  
  394. 2024-06-30 18:32:38.772 T:7460 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
  395. - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
  396. Error Type: <class 'resources.lib.simple_requests.HTTPError'>
  397. Error Contents: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/272206/extended
  398. Traceback (most recent call last):
  399. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py", line 4, in <module>
  400. actions.run()
  401. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py", line 46, in run
  402. get_series_details(
  403. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py", line 69, in get_series_details
  404. show = tvdb_client.get_series_details_api(id, settings)
  405. 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
  406. series = self.get_series_extended(id)
  407. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 326, in get_series_extended
  408. return self.request.make_api_request(url)
  409. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 75, in make_api_request
  410. response.raise_for_status()
  411. 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
  412. raise HTTPError(self)
  413. resources.lib.simple_requests.HTTPError: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/272206/extended
  414. -->End of Python script error report<--
  415.  
  416. 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)
  417. 2024-06-30 18:32:40.179 T:2612 info <general>: Parsing ASX
  418. 2024-06-30 18:32:40.653 T:9916 error <general>: CCurlFile::CReadState::XFILE::CCurlFile::CReadState::FillBuffer - (0x1ab83498930) Failed: HTTP returned code 403
  419. 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:
  420.  
  421. 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)
  422. 2024-06-30 18:32:42.065 T:2612 warning <general>: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
  423. 2024-06-30 18:32:42.540 T:9772 error <general>: CCurlFile::CReadState::XFILE::CCurlFile::CReadState::FillBuffer - (0x1ab834991f0) Failed: HTTP returned code 403
  424. 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:
  425.  
  426. 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().
  427. 2024-06-30 18:32:42.665 T:2612 warning <general>: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
  428. 2024-06-30 18:32:43.300 T:868 error <general>: [metadata.tvshows.thetvdb.com.v4.python (1.1.6)]:
  429. *********************************** Unhandled exception detected ***********************************
  430. ####################################################################################################
  431. Diagnostic info
  432. ----------------------------------------------------------------------------------------------------
  433. Exception type : HTTPError
  434. Exception value : HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/145731/extended
  435. 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')
  436. Python version : 3.8.15 (default, Oct 17 2022, 02:39:57) [MSC v.1929 64 bit (AMD64)]
  437. Kodi version : 21.0 (21.0.0) Git:20240406-60c4500054
  438. sys.argv : ['plugin://metadata.tvshows.thetvdb.com.v4.python/',
  439. '3',
  440. '?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',
  441. 'resume:false']
  442. ----------------------------------------------------------------------------------------------------
  443. sys.path:
  444. ['C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python',
  445. 'C:\\Program Files\\Kodi\\system\\python\\DLLs',
  446. 'C:\\Program Files\\Kodi\\system\\python\\Lib',
  447. 'C:\\Program Files\\Kodi\\system\\python\\Lib\\site-packages']
  448. ####################################################################################################
  449. Stack Trace
  450. ====================================================================================================
  451. File:
  452. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\exception_logger.py:134
  453. ----------------------------------------------------------------------------------------------------
  454. Code context:
  455. 132: """
  456. 133: try:
  457. 134:> yield
  458. 135: except Exception as exc:
  459. 136: stack_trace = ''
  460.  
  461. ----------------------------------------------------------------------------------------------------
  462. Local variables:
  463. exc = HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/145731/extended
  464. 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)
  465. logger_func = <function logger.error at 0x000001AB939BB0D0>
  466. stack_trace = ''
  467. ====================================================================================================
  468. File:
  469. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py:4
  470. ----------------------------------------------------------------------------------------------------
  471. Code context:
  472. 1: from resources.lib import actions, exception_logger
  473. 2:
  474. 3: with exception_logger.log_exception():
  475. 4:> actions.run()
  476.  
  477. ----------------------------------------------------------------------------------------------------
  478. Local variables:
  479. actions = <module 'resources.lib.actions' from 'C:\\Users\\Media\\AppData\\Roaming\\Kodi\\addons\\metadata.tvshows.thetvdb.com.v4.python\\resources\\lib\\actions.py'>
  480. 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'>
  481. sys = <module 'sys' (built-in)>
  482. xbmc = <module 'xbmc' (built-in)>
  483. xbmcout = <class '__main__.xbmcout'>
  484. ====================================================================================================
  485. File:
  486. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py:46
  487. ----------------------------------------------------------------------------------------------------
  488. Code context:
  489. 44: elif action == 'getdetails' and 'url' in params:
  490. 45: logger.debug("about to call get series details")
  491. 46:> get_series_details(
  492. 47: urllib.parse.unquote_plus(params["url"]), settings, handle)
  493. 48: elif action == 'getepisodelist' and 'url' in params:
  494.  
  495. ----------------------------------------------------------------------------------------------------
  496. Local variables:
  497. _action = 'getdetails'
  498. _settings = '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}'
  499. _title = ''
  500. action = 'getdetails'
  501. handle = 3
  502. params = {'action': 'getdetails',
  503. 'pathSettings': '{"gender":"Other","language":"English","pin":"","season_type":"1","uuid":"9acd4ec3-73a5-4c99-a431-996b44bf4f34","year":1900}',
  504. 'url': '145731'}
  505. 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'
  506. settings = {'gender': 'Other',
  507. 'language': 'English',
  508. 'pin': '',
  509. 'season_type': '1',
  510. 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
  511. 'year': 1900}
  512. title = ''
  513. uuid = '9acd4ec3-73a5-4c99-a431-996b44bf4f34'
  514. year = None
  515. ====================================================================================================
  516. File:
  517. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py:69
  518. ----------------------------------------------------------------------------------------------------
  519. Code context:
  520. 67: logger.debug(f'Find info of tvshow with id {id}')
  521. 68: tvdb_client = tvdb.Client(settings)
  522. 69:> show = tvdb_client.get_series_details_api(id, settings)
  523. 70: if not show:
  524. 71: xbmcplugin.setResolvedUrl(
  525.  
  526. ----------------------------------------------------------------------------------------------------
  527. Local variables:
  528. handle = 3
  529. id = '145731'
  530. settings = {'gender': 'Other',
  531. 'language': 'English',
  532. 'pin': '',
  533. 'season_type': '1',
  534. 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
  535. 'year': 1900}
  536. tvdb_client = <resources.lib.tvdb.TVDB object at 0x000001AB845D1B50>
  537. ====================================================================================================
  538. File:
  539. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:437
  540. ----------------------------------------------------------------------------------------------------
  541. Code context:
  542. 435: def get_series_details_api(self, id, settings=None) -> dict:
  543. 436: settings = settings or {}
  544. 437:> series = self.get_series_extended(id)
  545. 438: language = get_language(settings)
  546. 439: try:
  547.  
  548. ----------------------------------------------------------------------------------------------------
  549. Local variables:
  550. id = '145731'
  551. self = <resources.lib.tvdb.TVDB object at 0x000001AB845D1B50>
  552. settings = {'gender': 'Other',
  553. 'language': 'English',
  554. 'pin': '',
  555. 'season_type': '1',
  556. 'uuid': '9acd4ec3-73a5-4c99-a431-996b44bf4f34',
  557. 'year': 1900}
  558. ====================================================================================================
  559. File:
  560. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:326
  561. ----------------------------------------------------------------------------------------------------
  562. Code context:
  563. 324: """Returns an series extended dictionary"""
  564. 325: url = self.url.series_url(id, True)
  565. 326:> return self.request.make_api_request(url)
  566. 327:
  567. 328: def get_series_translation(self, id: int, lang: str) -> dict:
  568.  
  569. ----------------------------------------------------------------------------------------------------
  570. Local variables:
  571. id = '145731'
  572. self = <resources.lib.tvdb.TVDB object at 0x000001AB845D1B50>
  573. url = 'https://api4.thetvdb.com/v4/series/145731/extended'
  574. ====================================================================================================
  575. File:
  576. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py:75
  577. ----------------------------------------------------------------------------------------------------
  578. Code context:
  579. 73: response = requests.get(url, headers=headers)
  580. 74: if not response.ok:
  581. 75:> response.raise_for_status()
  582. 76: data = response.json()['data']
  583. 77: self.cache[url] = data
  584.  
  585. ----------------------------------------------------------------------------------------------------
  586. Local variables:
  587. data = None
  588. headers = {'Accept': 'application/json',
  589. 'Authorization': 'Bearer '
  590. 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZ2UiOiIiLCJhcGlrZXkiOiJlZGFlNjBkYy0xYjQ0LTRiYWMtOGRiNy02NWMwYWFmNTI1OGIiLCJjb21tdW5pdHlfc3VwcG9ydGVkIjpmYWxzZSwiZXhwIjoxNzIyMzY0MzY0LCJnZW5kZXIiOiJPdGhlciIsImhpdHNfcGVyX2RheSI6MTAwMDAwMDAwLCJoaXRzX3Blcl9tb250aCI6MTAwMDAwMDAwLCJpZCI6IjEiLCJpc19tb2QiOnRydWUsImlzX3N5c3RlbV9rZXkiOmZhbHNlLCJpc190cnVzdGVkIjpmYWxzZSwicGluIjpudWxsLCJyb2xlcyI6WyJNb2QiXSwidGVuYW50IjoidHZkYiIsInV1aWQiOiI5YWNkNGVjMy03M2E1LTRjOTktYTQzMS05OTZiNDRiZjRmMzQifQ.HGwuK5rl9Od_tsUWW8U8UPrRcmwH84HEZnO0kP8Jq756WRFUHiemqNWz9OItlPF0mt1I0ZSUQTKQXIumZykV1Q4glrlAlRXSj2uOWFaaek8cKNjCxZMYfXgbAFveI7iI3tadVgBXZAtWsqTTtlt68I5ypCDtTZBQD-XPBTa1SWyveMDkHPBk2K4Am4K40ClUt37qQoKg8llIvVx87qKeOW6iC_qrc7AAsnOafJxogPJDZ4Zu1KD3MVw3Mu0va1i7mBtfc64JuWIV2Rq_4_C-WokEJS4cS8Fjn2VKnRYEBMZXMJtZxmCsZiF2eDkRL_qZjC5bk5LC8BLgWYvf610shvpvHRig57yV4LOvIXk8g-RvkEb_O9Tuo2Z3OGkDosUv3HZ2dY6iiPa7piEDONUAiA4P_4OOOYH3dvXSdcko6mSxOyI5ntQTuTXh9usw8lyBnOIQRmWee6jpIfZMD1XP4V3OS6s6XFP7IbXEwCoP1NO4XsZohxiD-kvx64udB4A1I-o5aT1tm1yiC1dhgNwolI008wfK7SEL19FHvyvOpI3YEDeDn4ovy0m9qbDYPHnhGY8gR_9PobKwADozEGa4yFmCDKDHmHMngip3-HYE9oL0ZTgZ1yz5tCTE9xw8zvGExe3IC1guj1OJ0ihZDTOFqvwAXsPfv2Rr21jyVBv6JYQ',
  591. 'User-Agent': 'TheTVDB v.4 TV Scraper for Kodi'}
  592. response = <Response [404]>
  593. self = <resources.lib.tvdb.Request object at 0x000001AB93F5E6D0>
  594. url = 'https://api4.thetvdb.com/v4/series/145731/extended'
  595. ====================================================================================================
  596. File:
  597. C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\simple_requests.py:132
  598. ----------------------------------------------------------------------------------------------------
  599. Code context:
  600. 130: def raise_for_status(self) -> None:
  601. 131: if not self.ok:
  602. 132:> raise HTTPError(self)
  603. 133:
  604. 134:
  605.  
  606. ----------------------------------------------------------------------------------------------------
  607. Local variables:
  608. self = <Response [404]>
  609. ====================================================================================================
  610.  
  611. ************************************* End of diagnostic info ***************************************
  612.  
  613. 2024-06-30 18:32:43.308 T:868 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
  614. - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
  615. Error Type: <class 'resources.lib.simple_requests.HTTPError'>
  616. Error Contents: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/145731/extended
  617. Traceback (most recent call last):
  618. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\thetvdb.py", line 4, in <module>
  619. actions.run()
  620. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\actions.py", line 46, in run
  621. get_series_details(
  622. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\series.py", line 69, in get_series_details
  623. show = tvdb_client.get_series_details_api(id, settings)
  624. 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
  625. series = self.get_series_extended(id)
  626. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 326, in get_series_extended
  627. return self.request.make_api_request(url)
  628. File "C:\Users\Media\AppData\Roaming\Kodi\addons\metadata.tvshows.thetvdb.com.v4.python\resources\lib\tvdb.py", line 75, in make_api_request
  629. response.raise_for_status()
  630. 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
  631. raise HTTPError(self)
  632. resources.lib.simple_requests.HTTPError: HTTPError: 404 for url: https://api4.thetvdb.com/v4/series/145731/extended
  633. -->End of Python script error report<--
  634.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement