mecaz
Posts: 11
Joined: Thu Jul 25, 2013 5:45 am

I cant run mopidy

Tue Jul 30, 2013 6:32 am

Hello,

I have installed mopidy on raspberry pi according to their own guide. After that i downloaded webclient on git and copied it to the .config fonder and added mopidy.conf file. and finally i execute "mopidy" command but i got following error. What might be wrong at my install. Thanks.

Error:

mopidy
INFO Starting Mopidy 0.14.2
INFO Loading config from: builtin defaults, /home/pi/.config/mopidy/mopidy.conf, command line options
INFO Disabled extension mpris: An X11 $DISPLAY is needed to use D-Bus
INFO Enabled extensions: local, mpd, http, scrobbler, stream
INFO Disabled extensions: spotify, mpris
INFO Starting Mopidy audio
INFO Starting Mopidy backends: StreamBackend, LocalBackend
INFO Audio output set to "autoaudiosink"
ERROR 'ascii' codec can't decode byte 0xfc in position 12: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/mopidy/__main__.py", line 88, in main
backends = setup_backends(proxied_config, enabled_extensions, audio)
File "/usr/lib/pymodules/python2.7/mopidy/__main__.py", line 243, in setup_backends
backend = backend_class.start(config=config, audio=audio).proxy()
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 93, in start
obj = cls(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/mopidy/backends/local/actor.py", line 23, in __init__
self.check_dirs_and_files()
File "/usr/lib/pymodules/python2.7/mopidy/backends/local/actor.py", line 34, in check_dirs_and_files
self.config['local']['media_dir'])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 12: ordinal not in range(128)
INFO Stopping Mopidy frontends
INFO Audio mixer set to "alsamixer" using track "PCM"
INFO Stopping Mopidy core
INFO Stopping Mopidy backends
INFO Stopping Mopidy audio
Traceback (most recent call last):
File "/usr/bin/mopidy", line 9, in <module>
load_entry_point('Mopidy==0.14.2', 'console_scripts', 'mopidy')()
File "/usr/lib/pymodules/python2.7/mopidy/__main__.py", line 88, in main
backends = setup_backends(proxied_config, enabled_extensions, audio)
File "/usr/lib/pymodules/python2.7/mopidy/__main__.py", line 243, in setup_backends
backend = backend_class.start(config=config, audio=audio).proxy()
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 93, in start
obj = cls(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/mopidy/backends/local/actor.py", line 23, in __init__
self.check_dirs_and_files()
File "/usr/lib/pymodules/python2.7/mopidy/backends/local/actor.py", line 34, in check_dirs_and_files
self.config['local']['media_dir'])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 12: ordinal not in range(128)
Last edited by mecaz on Tue Jul 30, 2013 1:50 pm, edited 1 time in total.

User avatar
malakai
Posts: 1382
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: I cant rum mopidy

Tue Jul 30, 2013 6:55 am

Not sure if this will help but this line on your error:

INFO Disabled extension mpris: An X11 $DISPLAY is needed to use D-Bus


Are you running it on the desktop?

Code: Select all

startx
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

mecaz
Posts: 11
Joined: Thu Jul 25, 2013 5:45 am

Re: I cant rum mopidy

Tue Jul 30, 2013 8:51 am

No i am not using a monitor right now. I try to run via ssh connection.

Return to “Troubleshooting”