So, a slightly different topic for a change.
We talk a lot about the Kodi software, its development and releases, and that's fine, as that's what we're all about and that's what everyone ultimately sees. However, we thought we'd change the subject a little and explore what goes on behind the scenes: how "Team Kodi" is structured, and what else is going on in the background in support of that glorious code.
The Kodi Foundation and the Board of Directors
Kodi has a legal personality. We're inco
I have been trying to load my content and it keeps giving me an error message.
Here is the log file
2023-03-20 21:22:58.500 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_MC_2:jpg ]
2023-03-20 21:22:58.508 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_MC_10:jpg ]
2023-03-20 21:22:58.515 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_QA_5:jpg ]
2023-03-20 21:22:58.522 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_MC_6:jpg ]
2023-03-20 21:22:58.528 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_QA_9:jpg ]
2023-03-20 21:22:58.535 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_MC_3:jpg ]
2023-03-20 21:22:58.542 T:2505 info <general>: [- PreShow Experience -] (API): Loading Trivia (QA): [ Nightmare2_Facts_3:jpg ]
2023-03-20 21:22:58.579 T:2505 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: '<' not supported between instances of 'str' and 'NoneType'
Traceback (most recent call last):
File "/storage/.kodi/addons/script.preshowexperience/addon.py", line 36, in <module>
pseutil.loadContent(from_settings=fromSettings, bg=not fromSettings)
File "/storage/.kodi/addons/script.preshowexperience/lib/pseutil.py", line 225, in loadContent
preshowexperience.content.UserContent(contentPath, callback=p.msg, trailer_sources=kodiutil.getSetting('trailer.scrapers', '').split(','))
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 104, in __init__
self.loadContent()
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 204, in loadContent
self.loadTrivia()
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 233, in loadTrivia
self.triviaDirectoryHandler(path, prefix=sub)
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/database.py", line 44, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 503, in __call__
self.doCall(basePath, prefix)
File "/storage/.kodi/addons/script.preshowexperience/lib/preshowexperience/content.py", line 618, in doCall
for ct, key in enumerate(sorted(data['c'].keys())):
^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'str' and 'NoneType'
-->End of Python script error report<--