You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 2, 2020. It is now read-only.
I've got a very simple script that prints the currently playing artist to stdout. It's failing when trying to return "Janelle Monáe" (failing on the á, I assume) with the error:
Traceback (most recent call last):
File "scripts/now_playing.py", line 29, in <module>
artist = sq.get_track_artist()
File "build/bdist.macosx-10.8-intel/egg/pylms/player.py", line 266, in get_track_artist
UnicodeEncodeError: 'ascii' codec can't encode characters in position 11-12: ordinal not in range(128)
Forgive me if this is a basic question not having to do with your script (I'm not a python developer), but I do seem to be able to handle unicode in the script (print u"\u03A9" outputs Ω correctly, for example).