v21 Lots of Kodi errors in the logs - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: v21 Lots of Kodi errors in the logs (/showthread.php?tid=379063) |
Lots of Kodi errors in the logs - jp2code - 2024-10-06 I am a paying subscriber on OpenSubtitles.org. Lately, I have been getting errors whenever I try to download subtitles. https://imgur.com/a/lv1h17T I went to view the log file, and I saw that there were several errors and hundreds of debug messages. https://paste.kodi.tv/daqivediqa.kodi How do I fix these errors? The descriptions do not give me enough information to know what to do. Here is a short snip of just one error: Code: 2024-10-06 13:53:50.373 T:11920 debug <general>: ------ Window Deinit (DialogNotification.xml) ------ 2024-10-06 13:53:51.636 T:12908 debug <general>: ### [__main__] - Download Using HTTP 2024-10-06 13:53:51.652 T:12908 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'AttributeError'> Error Contents: module 'urllib' has no attribute 'request' Traceback (most recent call last): File "C:\Users\Anyone\AppData\Roaming\Kodi\addons\service.subtitles.opensubtitles\service.py", line 183, in <module> subs = Download(params["ID"], params["link"],params["format"]) File "C:\Users\Anyone\AppData\Roaming\Kodi\addons\service.subtitles.opensubtitles\service.py", line 93, in Download f = urllib.request.urlopen(url) AttributeError: module 'urllib' has no attribute 'request' -->End of Python script error report<-- 2024-10-06 13:53:51.652 T:12908 debug <general>: CPythonInvoker::onExecutionDone(14, C:\Users\Anyone\AppData\Roaming\Kodi\addons\service.subtitles.opensubtitles\service.py) RE: Lots of Kodi errors in the logs - scott967 - 2024-10-07 Seems like service.subtitles.opensubtitles has a bug. service.py should be importing
scott s. . RE: Lots of Kodi errors in the logs - jp2code - 2024-10-07 (2024-10-07, 00:51)scott967 Wrote: Seems like service.subtitles.opensubtitles has a bug. service.py should be importing So, nothing I can do to fix it. Correct? RE: Lots of Kodi errors in the logs - jbinkley60 - 2024-10-07 (2024-10-07, 12:01)jp2code Wrote:(2024-10-07, 00:51)scott967 Wrote: Seems like service.subtitles.opensubtitles has a bug. service.py should be importing A quick fix might be to add the line Scott recommends:
near the top of the: Kodi\addons\service.subtitles.opensubtitles\service.py file where the other import statements exist. However, if this basic of an item is missing, there are likely other issues with the addon. Thanks, Jeff RE: Lots of Kodi errors in the logs - PatK - 2024-10-07 Confirmed, Kodi tells me my name or password is empty or not valid. While the browser log in and download works as if I was not registered, issue seems to be service.subtitles.opensubtitles has a bug or the registration policy has changed. Keeping in mind OpenSubtitles.org vs. OpenSubtitles.com RE: Lots of Kodi errors in the logs - scott967 - 2024-10-08 Took a closer look at service.subtitles.opensubtitles. See some other errors, but as the opensubtitles.org api is considered deprecated, don't see any point in going further as that api could be disabled at any time (maybe that is what users are experiencing). From what I see only the api.opensubtitles.com/api/v1 REST api is supported any longer. So recommend service.subtitles.opensubtitles-com addon. Supposedly without login you can get 5 subs/IP/day. scott s. . RE: Lots of Kodi errors in the logs - opensubtitles - 2024-10-19 Hi we are checking the forum, and also take care of tickets. The pull request was accepted, so probably is good idea to update repo and reinstall the plugin. https://github.com/xbmc/repo-scripts/pull/2660 Let us know if it helps |