Mopidy-Beets requests results in beet web error

Hello *,
this is my first question. Thanks in advance for your support and the great guide and doku - this already made me taking the path up to here.

With the following
** setup:**
RasPi 3 with Raspian Buster (5.4.79-v7+)
Mopidy runing as a service. (Mopidy 3.1.1)
Beet web running on same RasPi. For test resons only one artist is added to the library. (beets version 1.4.9, Python version 3.7.3)

i get this
issue:
When searching (web if/app) i do not see any results/tracks when using beet as backend.
Also with browsing the Beets library i am not able to access my songs. I can see the artist but not any track is visible/playable. Please find below the Error in beet when searching for an artist in a mopidy web interface (iris) or an android app (Mopidy Mobile 1.10.0). Them same search and playing music directly via beet web perfectly works.

127.0.0.1 - - [06/Jan/2021 11:17:50] “GET /item/query/artist:Saltatio HTTP/1.1” 200 -
[2021-01-06 11:17:51,053] ERROR in app: Exception on /album/4 [GET]
Traceback (most recent call last):
File “/home/pi/.local/lib/python3.7/site-packages/flask/app.py”, line 2446, in wsgi_app
ctx.push()
File “/home/pi/.local/lib/python3.7/site-packages/flask/ctx.py”, line 396, in push
self.match_request()
File “/home/pi/.local/lib/python3.7/site-packages/flask/ctx.py”, line 350, in match_request
result = self.url_adapter.match(return_rule=True)
File “/home/pi/.local/lib/python3.7/site-packages/werkzeug/routing.py”, line 1873, in match
rv = rule.match(path, method)
File “/home/pi/.local/lib/python3.7/site-packages/werkzeug/routing.py”, line 902, in match
new_path = “|”.join(self.build(result, False))
File “/home/pi/.local/lib/python3.7/site-packages/werkzeug/routing.py”, line 1040, in build
return self._build(**values)
File “”, line 1, in <builder:’/album/idlist:ids’>
File “/home/pi/.local/lib/python3.7/site-packages/beetsplug/web/init.py”, line 172, in to_url
return ‘,’.join(value)
TypeError: sequence item 0: expected str instance, int found
127.0.0.1 - - [06/Jan/2021 11:17:51] “GET /album/4 HTTP/1.1” 500 -

In addition i do not see beets as source when clicking the “cloud” button in iris. Is this expected behaviour?

I would appreciate any hint on a wrong setup or further topics to investigate.

Please find my configs/dependencies below:
Mopidy-Config:
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config” as user mopidy
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false

[logging]
verbosity = 0
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s
color = false
config_file =

[audio]
mixer = software
mixer_volume =
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapfifo
buffer_time =

[proxy]
scheme =
hostname =
port =
username =
password =

[local]
enabled = false ; Extension disabled by user config.

[iris]
enabled = true
country = NZ
locale = en_NZ
spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
data_dir = $XDG_DATA_DIR/iris

[beets]
enabled = true
hostname = 127.0.0.1
port = 8337

[file]
enabled = false ; Extension disabled by user config.

[http]
enabled = true
hostname = 0.0.0.0
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy

[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =

[softwaremixer]
enabled = true

[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000

Dependencies:
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps” as user mopidy
Executable: /usr/bin/mopidy
Platform: Linux-5.4.79-v7±armv7l-with-debian-10.7
Python: CPython 3.7.3 from /usr/lib/python3.7
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
Mopidy-Beets: 4.0.1 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.3 from /usr/lib/python3/dist-packages
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
requests: 2.21.0 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy-Iris: 3.55.4 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.3 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
Mopidy-Local: 3.2.0 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.3 from /usr/lib/python3/dist-packages
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
uritools: 3.0.0 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy-MusicBox-Webclient: 3.1.0 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.3 from /usr/lib/python3/dist-packages
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python3/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.30.4
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
mad

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.