I’m running Pi Musicbox on a RPi 2. About a week ago, I noticed that I couldn’t reach the mopidy page on my local network anymore. Just today, I noticed in one of the system logs that mopidy was constantly trying to restart, and then saying that the process wasn’t running. I tried to run mopidy from the prompt, and here is what I got:
INFO Starting Mopidy 0.19.5
INFO Loading config from: builtin defaults, /etc/xdg/mopidy/mopidy.conf, /root/.config/mopidy/mopidy.conf, command line options
INFO Enabled extensions: stream, spotify_tunigo, podcast-gpodder, http-kuechenradio, somafm, softwaremixer, moped, musicbox_webclient, websettings, tunein, mopify, podcast-itunes, internetarchive, mpd, http, podcast, alsamixer, mobile, local-sqlite, youtube, simple-webclient, local-whoosh, audioaddict
INFO Disabled extensions: spotify, gmusic, scrobbler, subsonic, dirble, local, soundcloud
WARNING Found dirble configuration errors, the extension has been automatically disabled:
WARNING dirble/api_key must be set.
WARNING Found gmusic configuration errors, the extension has been automatically disabled:
WARNING gmusic/username must be set.
WARNING gmusic/password must be set.
WARNING Found local configuration errors, the extension has been automatically disabled:
WARNING local/media_dir must be set.
WARNING Found scrobbler configuration errors, the extension has been automatically disabled:
WARNING scrobbler/username must be set.
WARNING scrobbler/password must be set.
WARNING Found soundcloud configuration errors, the extension has been automatically disabled:
WARNING soundcloud/auth_token must be set.
WARNING Found spotify configuration errors, the extension has been automatically disabled:
WARNING spotify/username must be set.
WARNING spotify/password must be set.
WARNING Found subsonic configuration errors, the extension has been automatically disabled:
WARNING subsonic/username must be set.
WARNING subsonic/hostname must be set.
WARNING subsonic/ssl must be set.
WARNING subsonic/password must be set.
WARNING subsonic/port must be set.
WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.
INFO Starting Mopidy mixer: SoftwareMixer
INFO Mixing using GStreamer software mixing
INFO Starting Mopidy audio
INFO Starting Mopidy backends: SpotifyTunigoBackend, AudioAddictBackend, TuneInBackend, StreamBackend, InternetArchiveBackend, SomaFMBackend, PodcastBackend, YoutubeBackend
INFO AudioAddict: premium streams not available on your account
INFO Audio output set to "autoaudiosink"
INFO Starting Mopidy-Podcast directories: iTunesDirectory, FeedsDirectory, GPodderDirectory
INFO Refreshing Mopidy-Podcast directories
INFO Starting Mopidy core
ERROR Unhandled exception in SomaFMBackend (urn:uuid:17eab2d6-6afc-4f9f-99c4-c13907cd5a61):
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 191, in _actor_loop
self.on_start()
File "/usr/local/lib/python2.7/dist-packages/mopidy_somafm/actor.py", line 53, in on_start
self.somafm.refresh(self.encoding, self.quality)
File "/usr/local/lib/python2.7/dist-packages/mopidy_somafm/somafm.py", line 49, in refresh
channels_content = self._downloadContent(self.CHANNELS_URI)
File "/usr/local/lib/python2.7/dist-packages/mopidy_somafm/somafm.py", line 130, in _downloadContent
return r.text
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 762, in text
encoding = self.apparent_encoding
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 639, in apparent_encoding
return chardet.detect(self.content)['encoding']
File "/usr/local/lib/python2.7/dist-packages/requests/packages/chardet/__init__.py", line 27, in detect
from . import universaldetector
File "/usr/local/lib/python2.7/dist-packages/requests/packages/chardet/universaldetector.py", line 33, in <module>
from .mbcsgroupprober import MBCSGroupProber # multi-byte character sets
File "/usr/local/lib/python2.7/dist-packages/requests/packages/chardet/mbcsgroupprober.py", line 32, in <module>
from .sjisprober import SJISProber
File "/usr/local/lib/python2.7/dist-packages/requests/packages/chardet/sjisprober.py", line 31, in <module>
from .chardistribution import SJISDistributionAnalysis
File "/usr/local/lib/python2.7/dist-packages/requests/packages/chardet/chardistribution.py", line 30, in <module>
from .euckrfreq import (EUCKRCharToFreqOrder, EUCKR_TABLE_SIZE,
ValueError: bad marshal data (unknown type code)
ERROR Uncaught exception
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/mopidy/commands.py", line 273, in run
core = self.start_core(mixer, backends)
File "/usr/local/lib/python2.7/dist-packages/mopidy/commands.py", line 355, in start_core
return Core.start(mixer=mixer, backends=backends).proxy()
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 93, in start
obj = cls(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mopidy/core/actor.py", line 41, in __init__
self.backends = Backends(backends)
File "/usr/local/lib/python2.7/dist-packages/mopidy/core/actor.py", line 112, in __init__
has_library = b.has_library().get()
File "/usr/lib/python2.7/dist-packages/pykka/future.py", line 299, in get
exec('raise exc_info[0], exc_info[1], exc_info[2]')
File "<string>", line 1, in <module>
ActorDeadError: SomaFMBackend (urn:uuid:17eab2d6-6afc-4f9f-99c4-c13907cd5a61) stopped before handling the message
INFO Stopping Mopidy frontends
INFO Stopping Mopidy core
INFO Stopping Mopidy backends
INFO Stopping Mopidy-Podcast directories
INFO Stopping Mopidy audio
INFO Stopping Mopidy mixer
I’ve also been having issues with MySql which I haven’t been able to resolve (error 2002), which I only mention in case it might be somehow related. Does anyone have any ideas of what I should try to get this working again?