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
'ascii' codec can't decode byte 0xc3 in position 15 #256
I can't start mopidy in ArchLinux 64 bits. I can't find anything on Google and on this issue tracker.
Here's the output:
is there a bug?
I guess you have a setting which contains a non-ASCII character. Try the following:
If the first suggestion doesn't fix it, I'd like to hear back from you so that I can improve the docs.
Hi, all vars are prefixed with u. I have added the encofing but the output is the same:
Here is my settings file:
[jcerdan@nan ~]$ cat .config/mopidy/settings.py # encoding: utf-8 OUTPUT = u'oss4sink' MPD_SERVER_HOSTNAME = u'::' SPOTIFY_USERNAME = email@example.com' SPOTIFY_PASSWORD = u'password'
Even if I remove the settings file and runs mopidy alone, the same error appears.
Ok, everything looks good in your settings file.
Could you run the
$ python Python 2.7.3 (default, Apr 10 2012, 12:29:04) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import glib >>> glib.get_user_cache_dir() '/home/jodal/.cache' >>> glib.get_user_data_dir() '/home/jodal/.local/share' >>> glib.get_user_special_dir(glib.USER_DIRECTORY_MUSIC) '/home/jodal' >>>
in Archlinux default python is python 3.x
Here's the output...
... I think you have found the problem, isn't it?
How to correct it?