-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
If a playing track has Album Art, requesting /playlist/current will result in a 500 Server Error.
Re-creating:
- Attach Album art to a Song and begin playing it
- Request the
/playlist/currentEndpoint.curl localhost:8000/playlist/current - You should be served a 500 Server Error with the body:
A server error occurred. Please contact the administrator.
Traceback using rhythmbox -D rhythmweb
127.0.0.1 - - [07/Apr/2018 12:01:25] "GET /playlist/current HTTP/1.1" 200 106
Traceback (most recent call last):
File "/usr/lib/python3.5/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/usr/lib/rhythmbox/plugins/rhythmweb/rhythmweb.py", line 235, in _wsgi
return self._handle_current(response)
File "/usr/lib/rhythmbox/plugins/rhythmweb/rhythmweb.py", line 500, in _handle_current
return iostring(json.dumps(return_data))
File "/usr/lib/python3.5/json/__init__.py", line 230, in dumps
return _default_encoder.encode(obj)
File "/usr/lib/python3.5/json/encoder.py", line 198, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.5/json/encoder.py", line 256, in iterencode
return _iterencode(o, 0)
File "/usr/lib/python3.5/json/encoder.py", line 179, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <RB.ExtDBKey object at 0x7fece803b588 (RBExtDBKey at 0x2580f80)> is not JSON serializableUsing RhythmBox 3.3
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels