EthanC / Perplex

Discord Rich Presence implementation for Plex.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR | __main__:LoginDiscord:163 - Failed to connect to Discord

trinity8746 opened this issue · comments

I'm receiving an error when trying to run the application,. how do I fix this this issue?

Shawn@Macintosh Perplex % python3 perplex.py
2022-04-26 19:38:30.287 | INFO     | __main__:Initialize:29 - Perplex
2022-04-26 19:38:30.287 | INFO     | __main__:Initialize:30 - https://github.com/EthanC/Perplex
2022-04-26 19:38:30.288 | SUCCESS  | __main__:LoadConfig:82 - Loaded configuration
2022-04-26 19:38:30.292 | SUCCESS  | __main__:SetupLogging:96 - Set logger severity to INFO
2022-04-26 19:38:30.990 | SUCCESS  | __main__:LoginPlex:141 - Authenticated with Plex
2022-04-26 19:38:31.002 | ERROR    | __main__:LoginDiscord:163 - Failed to connect to Discord (_UnixSelectorEventLoop.create_unix_connection() got an unexpected keyword argument 'loop') retry in 15s...
2022-04-26 19:38:46.006 | SUCCESS  | __main__:LoginDiscord:167 - Authenticated with Discord
2022-04-26 19:39:16.765 | SUCCESS  | __main__:Initialize:45 - Fetched active media session
Traceback (most recent call last):
  File "/Users/Shawn/Applications/Perplex/perplex.py", line 420, in <module>
    Perplex.Initialize(Perplex)
  File "/Users/Shawn/Applications/Perplex/perplex.py", line 50, in Initialize
    status: Dict[str, Any] = Perplex.BuildEpisodePresence(self, session)
  File "/Users/Shawn/Applications/Perplex/perplex.py", line 300, in BuildEpisodePresence
    if (active.seasonNumber is not None) and (active.episodeNumber is not None):
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/plexapi/base.py", line 428, in __getattribute__
    value = super(PlexPartialObject, self).__getattribute__(attr)
AttributeError: 'Episode' object has no attribute 'episodeNumber'