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.
Code
2023-03-07 14:09:38.780 T:859 info <general>: script.plex: Starting from service (Kiosk Mode)
2023-03-07 14:09:43.522 T:860 info <general>: SETTINGS: set_keyboard_layout # us
2023-03-07 14:09:43.522 T:860 info <general>: SETTINGS: set_keyboard_layout # loadkmap < `ls -1 /usr/lib/keymaps/*/us.bmap`
2023-03-07 14:09:45.023 T:826 info <general>: Loading skin file: /storage/.kodi/addons/script.plex/resources/skins/Main/1080i/script-plex-background.xml, load type: LOAD_ON_GUI_INIT
2023-03-07 14:09:45.155 T:874 error <general>: _________________________________________________________________________________
2023-03-07 14:09:45.155 T:874 error <general>: script.plex: ERROR:
2023-03-07 14:09:45.155 T:874 error <general>: Traceback (most recent call last):
2023-03-07 14:09:45.155 T:874 error <general>: File "/storage/.kodi/addons/script.plex/lib/main.py", line 79, in _main
2023-03-07 14:09:45.155 T:874 error <general>: if plex.init():
2023-03-07 14:09:45.155 T:874 error <general>: ^^^^^^^^^^^
2023-03-07 14:09:45.155 T:874 error <general>: File "/storage/.kodi/addons/script.plex/lib/plex.py", line 277, in init
2023-03-07 14:09:45.155 T:874 error <general>: with CallbackEvent(plexapp.util.APP, 'init'):
2023-03-07 14:09:45.155 T:874 error <general>: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-03-07 14:09:45.155 T:874 error <general>: File "/storage/.kodi/addons/script.plex/lib/plex.py", line 239, in __init__
2023-03-07 14:09:45.155 T:874 error <general>: self.context.on(self.signal, self.set)
2023-03-07 14:09:45.155 T:874 error <general>: File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/signalsmixin.py", line 15, in on
2023-03-07 14:09:45.155 T:874 error <general>: signal.connect(callback)
2023-03-07 14:09:45.155 T:874 error <general>: File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/signalslot/signal.py", line 96, in connect
2023-03-07 14:09:45.155 T:874 error <general>: if inspect.getargspec(slot).keywords is None:
2023-03-07 14:09:45.155 T:874 error <general>: ^^^^^^^^^^^^^^^^^^
2023-03-07 14:09:45.155 T:874 error <general>: AttributeError: module 'inspect' has no attribute 'getargspec'
2023-03-07 14:09:45.155 T:874 error <general>: _________________________________________________________________________________
2023-03-07 14:09:45.155 T:874 error <general>: `
2023-03-07 14:09:45.183 T:874 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 'selectedServer'
Traceback (most recent call last):
File "/storage/.kodi/addons/script.plex/lib/windows/kodigui.py", line 105, in onInit
self.onFirstInit()
File "/storage/.kodi/addons/script.plex/lib/windows/background.py", line 23, in onFirstInit
self.function()
File "/storage/.kodi/addons/script.plex/lib/main.py", line 146, in _main
plexapp.util.APP.preShutdown()
File "/storage/.kodi/addons/script.plex/lib/_included_packages/plexnet/plexapp.py", line 112, in preShutdown
if SERVERMANAGER.selectedServer:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'selectedServer'
-->End of Python script error report<--
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]
2023-03-07 14:09:45.217 T:858 info <general>: script.module.slyguy - Proxy Started: http://127.0.0.1:52103/
2023-03-07 14:09:45.218 T:858 info <general>: script.module.slyguy - Widevine Level (fallback): 3
2023-03-07 14:09:45.218 T:858 info <general>: script.module.slyguy - HDCP Level (fallback): 0.0
2023-03-07 14:09:47.043 T:860 info <general>: SETTINGS: __init__ # updateThread Started
2023-03-07 14:09:47.044 T:860 info <general>: SETTINGS: set_auto_update # auto
2023-03-07 14:09:47.132 T:937 info <general>: SETTINGS: run # Waiting
2023-03-07 14:10:59.157 T:835 info <general>: CActiveAESink::OpenSink - initialize sink
2023-03-07 14:10:59.157 T:835 info <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=vc4hdmi0,DEV=0"
2023-03-07 14:10:59.165 T:835 info <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=vc4hdmi0,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
2023-03-07 14:10:59.166 T:835 info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2023-03-07 14:10:59.166 T:835 info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
Display More
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.