Mopidy crashes!

After booting, mopidy is not running.

2015-03-29 07:30:51,969 - ERROR    Uncaught exception
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/mopidy/", line 274, in run
    backends = self.start_backends(config, backend_classes, audio)
  File "/usr/local/lib/python2.7/dist-packages/mopidy/", line 352, in start_backends
    config=config, audio=audio).proxy()
  File "/usr/lib/python2.7/dist-packages/pykka/", line 93, in start
    obj = cls(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/mopidy_tunein/", line 23, in __init__
    backend=self, timeout=config['tunein']['timeout'])
  File "/usr/local/lib/python2.7/dist-packages/mopidy_tunein/", line 32, in __init__
    self._scanner = scan.Scanner(min_duration=None, timeout=timeout)
TypeError: __init__() got an unexpected keyword argument 'min_duration'

What versions are you running of Mopidy and Mopidy-TuneIn? The command mopidy deps will print both versions.

Mopidy 1.0 changed the scanner API, so I’m guessing you’re running Mopidy 1.0.

Mopidy-TuneIn 0.2.0 updated its use of the scanner API to match Mopidy 1.0, so I’m guessing you’re running Mopidy-TuneIn older than 0.2.0.

And additionally what version of musicbox is this? All released versions
should be using Mopidy v0.x

mopidy deps says:
Mopidy: 1.0.0 from /usr/local/lib/python2.7/dist-packages
Mopidy-MusicBox-Webclient: 1.0.3 from /usr/local/lib/python2.7/dist-packages
Mopidy-TuneIn: 0.1.2 from /usr/local/lib/python2.7/dist-packages

MusicBox 0.5.2

It worked yesterday evening, after booting today the webinterface was not accessible. I rebooted several times, checked the logs and dmesg, but did not find anything suspicious except the part I posted.

I did only one thing yesterday: pip install --upgrade Mopidy-Local-SQLite
Could this be the problem?

Thank you for the quick response!

Best regards,

Yes, the latest version of Mopidy-Local-SQLite depends on Mopidy >= 1.0, so this command will upgrade Mopidy too.

If you want to keep running Mopidy 1.0 even though that isn’t what Pi Musicbox ships with yet, you’ll need to upgrade Mopidy-TuneIn too, ref my previous comment:

If you want to downgrade to the version Pi MusicBox use and the latest matching Mopidy-Local-SQLite, run:

pip install Mopidy==0.19.5 Mopidy-Local-SQLite==0.9.3

Thank you so much, this resolved the problem!