#Error during Kometa initialization
1 messages ยท Page 1 of 1 (latest)
๐ If you want to review this again, mrhauxhawk:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> ๐
Welcome @azure sky!
Someone from <@&938443185347244033> will assist when they're available.
Including meta.log from the beginning is a huge help. Type !logs for more information.
After attaching your log, do not forget to hit the green check boxes when prompted by our bot.
You can press the "Close Post" button above or type /close at any time to close this post.
Author of Linked Message: Mr Faux Hawk
Person who Invoked the Command: Mr Faux Hawk
File Name: meta.log
Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation โ
Page 05: Plex Configuration - Section 1
Page 06: Rec 01 - ๐ฅ [CRITICAL]
This seems like something's broken inside Plex, as this is happening way below any Kometa code.
While reading the config, Kometa asks the PlexAPI library for a connection to Plex:
| self.PlexServer = PlexServer(baseurl=self.url, token=self.token, session=self.session, timeout=self.timeout) |
Plex responds, and the PlexAPI library tries to gather some information from the response, BUT a thing that PlexAPI is expecting to be an object containing information is actually empty instead:
| codename = codes.get(response.status_code)[0] |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ |
| TypeError: 'NoneType' object is not subscriptable |
The thing returned by codes.get(response.status_code) is expected to be an array of multiple elements, and PlexAPI is attempting to access the first of those elements [[0]]; however, it is instead empty [NoneType object], and therefore has no elements to access [is not subscriptable]
There's no sensible error handling here since apparently this is not a thing that PlexAPI expects to happen ever.
Ok thanks, sounds like I have to look into my Plex install.
antwanchild used !aenh
@azure sky, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.
antwanchild used !afnh
@azure sky, anything further needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.