Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
UnicodeDecodeError: 'utf8' codec can't decode ... mopidy/m3u/playlists.py #1209
After apt-get updating my debian jessie and updating all pip's on a beaglebone black recently mopidy didnt started up anymore. The console showed an exception like UnicodeDecodeError: 'utf8' codec can't decode ... mopidy/m3u/playlists.py during loading the modules configured in mopidy.conf
Research showed that my local stored playlist filename contained a "special char" (the german "ö") in a wrong coding which caused mopidy startup to fail (filename, not file content).
The playlist has been written with the previous configuration, worked fine, and was broken after the last update.
sorry for the delay. Its 1.0.7 i am running and the bug #1175 seems to cover unicode titles inside a playlist. My described bug is caused by a "wrong" character / character encoding in the file name of the playlist itself.
The playlist has been written previously by mopidy (mopidy-mobile frontend) and crashed on startup after updating. UnicodeDecodeError: 'utf8' codec can't decode ... mopidy/m3u/playlists.py
I have tried to reproduce the bug by renaming a playlist file in several ways to force the mentioned exception and a stack trace... nothing worked. It seems when using the command line the file / filename encoding is always right. Tried: ö, Ã¶, �.