List playlists error
#roon -l playlists
Traceback (most recent call last): File "/usr/local/Roon/api/list_playlists.py", line 90, in playlists = roonapi.list_media(output_id, ["Playlists", playlistsearch]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/Roon/venv/lib/python3.11/site-packages/roonapi/roonapi.py", line 512, in list_media total_count = self.browse_browse(opts)["list"]["count"]
TypeError: 'NoneType' object is not subscriptable
somebody help!
thanks!
I am unable to reproduce this error so I will need a little more information. What platform are you on, Mac or Linux? What version of RoonCommandLine are your running (cat /usr/local/Roon/etc/VERSION)?
Often problems arise when the system Python is upgraded but the RoonCommandLine Python virtual environment still points to an older Python version. Does ls -l /usr/local/Roon/venv/bin/python3 point to a valid current system Python executable?
Sorry, it is hard to debug an issue I cannot reproduce. These details may help me reproduce your runtime environment and issue.
platform linux (dietpi)
root@DietPi:/# cat /usr/local/Roon/etc/VERSION VERSION=2.1.4 RELEASE=1
root@DietPi:/# whereis python3 python3: /usr/bin/python3 /usr/lib/python3 /etc/python3 /usr/share/python3 /usr/share/man/man1/python3.1.gz
root@DietPi:/# /usr/bin/python3 --version Python 3.11.2
root@DietPi:/# ls -l /usr/local/Roon/venv/bin/python3 lrwxrwxrwx 1 root root 16 Jan 23 15:11 /usr/local/Roon/venv/bin/python3 -> /usr/bin/python3 root@DietPi:/#
thx
Thanks for providing system details. It looks like you are current and Python is linked correctly in your virtual environment.
Do you have any playlists? Are they smart playlists or normal playlists?
have two playlists