Having problems with add-ons inside of KODI.
I am running into problems with many of the KODI add-ons from the official repositories, and was wondering how do I get them fixed and working again. The system I am using for KODI is a desktop computer with i5 CPU, and 16GB of ram. I am used to using more standard TV boxes like Roku , FireTV, etc for my media player needs, and want to switch over full time to be using KODI instead (where possible I know some apps won’t work). I used the LibreElec distro of KODI.
--Adult Swim--
Errors and says check the log file
2024-01-08 04:46:58.610 T:1333 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: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.aswim/default.py", line 12, in <module>
ma.processAddonEvent()
File "/storage/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 300, in processAddonEvent
self.procDir(fun[0],parms.get('url'),fun[1])
File "/storage/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 270, in procDir
ilist = dirFunc(url, [])
^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.aswim/resources/lib/scraper.py", line 19, in getAddonMenu
html = re.compile('type="application/json">(.+?)</script>', re.DOTALL).search(html).group(1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'
-->End of Python script error report<--
2024-01-08 04:46:58.665 T:1332 error <general>: GetDirectory - Error getting plugin://plugin.video.aswim/
2024-01-08 04:46:58.681 T:864 error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.aswim/) failed
--Comet TV Live--
Errors and says check the log file
2024-01-08 04:48:31.494 T:1347 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'KeyError'>
Error Contents: 'data'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.comettv/default.py", line 12, in <module>
ma.processAddonEvent()
File "/storage/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 300, in processAddonEvent
self.procDir(fun[0],parms.get('url'),fun[1])
File "/storage/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 270, in procDir
ilist = dirFunc(url, [])
^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.comettv/resources/lib/scraper.py", line 14, in getAddonMenu
return self.getAddonListing(url, ilist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 117, in getAddonListing
for c in a["data"]["items"]:
~^^^^^^^^
KeyError: 'data'
-->End of Python script error report<--
2024-01-08 04:48:31.566 T:1346 error <general>: GetDirectory - Error getting plugin://plugin.video.comettv/
2024-01-08 04:48:31.599 T:864 error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.comettv/) failed
--Coming Soon Trailers--
Errors and says check the log file
2024-01-08 04:49:19.343 T:1359 info <general>: plugin.video.comingsoon.it: Starting module 'Comingsoon Trailer' version '1.2.1+matrix.1' with command ''
2024-01-08 04:49:21.553 T:1368 info <general>: plugin.video.comingsoon.it: Starting module 'Comingsoon Trailer' version '1.2.1+matrix.1' with command '?mode=moviescomingsoon'
2024-01-08 04:49:23.253 T:1376 info <general>: plugin.video.comingsoon.it: Starting module 'Comingsoon Trailer' version '1.2.1+matrix.1' with command '?mode=comingweek&offset=0'
2024-01-08 04:49:30.619 T:1376 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'KeyError'>
Error Contents: 'title'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.comingsoon.it/default.py", line 284, in <module>
addNextReleasesList(params.get('offset', 0))
File "/storage/.kodi/addons/plugin.video.comingsoon.it/default.py", line 221, in addNextReleasesList
addMoviesList(movies)
File "/storage/.kodi/addons/plugin.video.comingsoon.it/default.py", line 234, in addMoviesList
kodiutils.addListItem(movie['title'], {"id": movie['id'], "mode": "videos"}, videoInfo=movie,
~~~~~^^^^^^^^^
KeyError: 'title'
-->End of Python script error report<--
2024-01-08 04:49:30.727 T:1375 error <general>: GetDirectory - Error getting plugin://plugin.video.comingsoon.it/?mode=comingweek&offset=0
2024-01-08 04:49:30.741 T:864 error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.comingsoon.it/?mode=comingweek&offset=0) failed
2024-01-08 04:49:31.051 T:1379 info <general>: plugin.video.comingsoon.it: Starting module 'Comingsoon Trailer' version '1.2.1+matrix.1' with command '?mode=moviescomingsoon'
--Freeform--
Errors and says check the log file
2024-01-08 04:51:59.675 T:1408 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: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.freeform/default.py", line 12, in <module>
ma.processAddonEvent()
File "/storage/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 300, in processAddonEvent
self.procDir(fun[0],parms.get('url'),fun[1])
File "/storage/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 270, in procDir
ilist = dirFunc(url, [])
^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.freeform/resources/lib/scraper.py", line 21, in getAddonMenu
html = re.compile("window\['__abc_com__'\]=(.+?);<\/script>", re.DOTALL).search(html).group(1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'
-->End of Python script error report<--
2024-01-08 04:51:59.734 T:1407 error <general>: GetDirectory - Error getting plugin://plugin.video.freeform/
2024-01-08 04:51:59.734 T:864 error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.freeform/) failed
--Plex--
I always run into this problem when installing the plex addon inside of KODI, After it finishes installing the addon and making sure the dependencies are also installed. When I attempt to load the plex addon I get a message saying error happened check log file.
The error log file says an issue with urllib3
2024-01-03 05:59:54.780 T:1518 error <general>: File "/storage/.kodi/addons/script.plex/lib/__init__.py", line 6, in <module>
from requests.packages.urllib3.exceptions import InsecurePlatformWarning, SNIMissingWarning
2024-01-03 05:59:54.780 T:1518 error <general>:
2024-01-03 05:59:54.780 T:1518 error <general>: ImportError: cannot import name 'SNIMissingWarning' from 'urllib3.exceptions' (/storage/.kodi/addons/script.module.urllib3/lib/urllib3/exceptions.py)
2024-01-03 05:59:54.780 T:1518 error <general>:
2024-01-03 05:59:54.824 T:1518 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: cannot import name 'VerifiedHTTPSConnection' from 'urllib3.connectionpool' (/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py)
Traceback (most recent call last):
File "/storage/.kodi/addons/script.plex/default.py", line 2, in <module>
from lib import main
File "/storage/.kodi/addons/script.plex/lib/main.py", line 14, in <module>
from . import plex
File "/storage/.kodi/addons/script.plex/lib/plex.py", line 13, in <module>
from plexnet import plexapp, myplex, util as plexnet_util
File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexapp.py", line 399, in <module>
util.setApp(App())
^^^^^
File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexapp.py", line 36, in __init__
from . import nowplayingmanager
File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/nowplayingmanager.py", line 10, in <module>
from . import plexrequest
File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexrequest.py", line 4, in <module>
from . import plexserver
File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexserver.py", line 3, in <module>
from . import http
File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/http.py", line 15, in <module>
from . import asyncadapter
File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/asyncadapter.py", line 9, in <module>
from requests.packages.urllib3.connectionpool import VerifiedHTTPSConnection
ImportError: cannot import name 'VerifiedHTTPSConnection' from 'urllib3.connectionpool' (/storage/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py)
-->End of Python script error report<--
--PopCornFlix--
Errors
2024-01-08 04:52:53.876 T:1441 warning <general>: ListItem.addStreamInfo() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.addVideoStream(), InfoTagVideo.addAudioStream() and InfoTagVideo.addSubtitleStream().
2024-01-08 04:52:54.117 T:1441 info <general>: Skipped 2 duplicate messages..
2024-01-08 04:52:54.117 T:1441 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'requests.exceptions.JSONDecodeError'>
Error Contents: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/simplejson/scanner.py", line 37, in _scan_once
IndexError: string index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/simplejson/__init__.py", line 525, in loads
File "/usr/lib/python3.11/site-packages/simplejson/decoder.py", line 372, in decode
File "/usr/lib/python3.11/site-packages/simplejson/decoder.py", line 402, in raw_decode
File "/usr/lib/python3.11/site-packages/simplejson/scanner.py", line 79, in scan_once
File "/usr/lib/python3.11/site-packages/simplejson/scanner.py", line 39, in _scan_once
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.popcornflix/default.py", line 12, in <module>
ma.processAddonEvent()
File "/storage/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 300, in processAddonEvent
self.procDir(fun[0],parms.get('url'),fun[1])
File "/storage/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 270, in procDir
ilist = dirFunc(url, [])
^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.popcornflix/resources/lib/scraper.py", line 18, in getAddonMenu
a = requests.get('https://api.unreel.me/api/assets/5977ea0d32ef9f015341c987/discover?__site=popcornflix&__source=web&onlyEnabledChannels=true', headers=self.defaultHeaders).json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
-->End of Python script error report<--
2024-01-08 04:52:54.178 T:1440 error <general>: GetDirectory - Error getting plugin://plugin.video.popcornflix/
2024-01-08 04:52:54.179 T:864 error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.popcornflix/) failed
--Jellyfin--
I installed the program add-on using the LibreElec Repository but it doesn’t seem to be a usable like launchable app but instead more of a background service, which is not what I am looking for. I already have a jellyfin server so don’t need to have multiple of them. Is there a Jellyfin GUI based app that I seem to be missing?