19-05-2024, 20:11
(19-05-2024, 17:26)zeroadhesion написа: Здравейте, Kodi 21.0 ми връща следното в логовете и BG Subs не се стартира:
Код:2024-05-19 16:00:43.531 T:18732 error <general>: $HOME/.kodi/addons/service.subtitles.modedbg/service.py
2024-05-19 16:00:43.531 T:18732 error <general>: :319:
2024-05-19 16:00:43.531 T:18732 error <general>: SyntaxWarning
2024-05-19 16:00:43.531 T:18732 error <general>: :
2024-05-19 16:00:43.531 T:18732 error <general>: invalid escape sequence '\/'
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>: zf = re.search('.*\/(.+?\.zip)',zipped).group(1)
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>: $HOME/.kodi/addons/service.subtitles.modedbg/service.py
2024-05-19 16:00:43.531 T:18732 error <general>: :346:
2024-05-19 16:00:43.531 T:18732 error <general>: SyntaxWarning
2024-05-19 16:00:43.531 T:18732 error <general>: :
2024-05-19 16:00:43.531 T:18732 error <general>: invalid escape sequence '\/'
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>: zf = re.search('.*\/(.+?\.zip)',zipped).group(1)
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>: $HOME/.kodi/addons/service.subtitles.modedbg/service.py
2024-05-19 16:00:43.531 T:18732 error <general>: :376:
2024-05-19 16:00:43.531 T:18732 error <general>: SyntaxWarning
2024-05-19 16:00:43.531 T:18732 error <general>: :
2024-05-19 16:00:43.531 T:18732 error <general>: invalid escape sequence '\/'
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>: servurl = servurl.replace('\/','/')
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>: $HOME/.kodi/addons/service.subtitles.modedbg/service.py
2024-05-19 16:00:43.531 T:18732 error <general>: :385:
2024-05-19 16:00:43.531 T:18732 error <general>: SyntaxWarning
2024-05-19 16:00:43.531 T:18732 error <general>: :
2024-05-19 16:00:43.531 T:18732 error <general>: invalid escape sequence '\/'
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.531 T:18732 error <general>: zipfile = dlzip.replace('\/','/')
2024-05-19 16:00:43.531 T:18732 error <general>:
2024-05-19 16:00:43.532 T:18732 error <general>: $HOME/.kodi/addons/service.subtitles.modedbg/service.py
2024-05-19 16:00:43.532 T:18732 error <general>: :503:
2024-05-19 16:00:43.532 T:18732 error <general>: SyntaxWarning
2024-05-19 16:00:43.532 T:18732 error <general>: :
2024-05-19 16:00:43.532 T:18732 error <general>: invalid escape sequence '\['
2024-05-19 16:00:43.532 T:18732 error <general>:
2024-05-19 16:00:43.532 T:18732 error <general>:
2024-05-19 16:00:43.532 T:18732 error <general>: ttitle = re.search('(.+?)\[CO', item['title'])
2024-05-19 16:00:43.532 T:18732 error <general>:
2024-05-19 16:00:43.684 T:18732 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ModuleNotFoundError'>
Error Contents: No module named 'imp'
Traceback (most recent call last):
File "$HOME/.kodi/addons/service.subtitles.modedbg/service.py", line 44, in <module>
import nsub
File "$HOME/.kodi/addons/service.subtitles.modedbg/resources/lib/nsub.py", line 8, in <module>
from common import *
File "$HOME/.kodi/addons/service.subtitles.modedbg/resources/lib/common.py", line 19, in <module>
import imp
ModuleNotFoundError: No module named 'imp'
-->End of Python script error report<--
2024-05-19 16:00:43.726 T:18242 error <general>: GetDirectory - Error getting plugin://service.subtitles.modedbg/?action=search&languages=Bulgarian%2cEnglish&preferredlanguage=Bulgarian
Интересно! Явно в Коди си качват нови версии на python, но не сменят номера на версията на приложението, защото и аз съм с Коди 21, но нямам проблеми, но чета, че в последната версия на python е премахната библиотеката imp, чието импортиране в случая гърми с грешка. Качена е версия на добавката, в която е премахната тази библиотека. Пробвайте след актуализацията, как ще се държи.