Plex won't start on Libreelec 11 due to Python 3.11 deprecating inspect.getargspec()

  • Hi all,

    I just upgraded Libreelec from 10.0.4 to 11.0.0 on my RPi4. I'm having trouble starting Plex on it now. It hangs at the startup screen with 3 dots (like pending).

    Attaching the Kodi log file.


    Key lines:

    Code
    AttributeError: module 'inspect' has no attribute 'getargspec'
    
    <snip>
    
    AttributeError: 'NoneType' object has no attribute 'selectedServer'
    
    and
    
    2023-03-07 14:09:45.205 T:858      info <general>: script.module.slyguy - Python Version: 3.11.2 (main, Feb 28 2023, 04:16:07) [GCC 12.2.0]


    Searching around inspect.getargspec(). This function seems to be deprecated in Python 3.0. It seems to be still available in 3.10, but not in 3.11. Didn't find much about selectedServer though.

    Not sure how to go forward from here. Appreciate any advice.

    Ta.

  • The official Plex add-on is broken and needs to be fixed by Plex devs.

    Until that happens I've been using the version here: https://pannal.github.io/dontpanickodi/ which works fine. There are quite a few refs to it in the Plex forums.

    Btw, found the related thread:

    https://forums.plex.tv/t/plexmod-for-kodi-18-19-20/481208/260

    and

    GitHub - pannal/plex-for-kodi at develop_kodi20
    Unoffical Plex for Kodi add-on releases. Contribute to pannal/plex-for-kodi development by creating an account on GitHub.
    github.com