Mopidy not playing anything since last apt-get upgrade

I am using mopidy on a rasberrypi b+. Yesterday I did an apt-get upgrade, since which mopidy is unable to play any sound at all, not only streams but also playing local files fails. In the log file I see the message

2015-04-29 06:43:19,732 WARNING [2329:MainThread] mopidy.audio.gst: Element doesn’t implement handling of this stream. Please file a bug.

Playing files directly with gst-launch-0.10 works, so it doesn’t seem to be a gstreamer problem as such. I have modified /etc/init.d/mopidy to start mopidy with the -v parameter, but this doesn’t yield more information.

I have tried podcasts, soundcloud, radio streams and local files (ogg), none of them play, the result is always as described above.

What irritates me: Debug options aren’t working at all as promised in the man page:

user@raspbian ~ $ sudo -u mopidy mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config -v
usage: mopidy config

unrecognized arguments: -v
user@raspbian ~ $ sudo -u mopidy mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config --save-debug-log
usage: mopidy config

unrecognized arguments: --save-debug-log

I am also slightly irritated about how many different versions of mopidy are in the archive:

jr@raspbian ~ $ which mopidy
/usr/bin/mopidy
user@raspbian ~ $ LANG=C apt-cache policy mopidy
mopidy:
Installed: 1.0.3-1
Candidate: 1.0.3-1
Version table:
*** 1.0.3-1 0
500 http ://apt.mopidy.com/ wheezy/main armhf Packages
100 /var/lib/dpkg/status
1.0.2-1 0
500 http ://apt.mopidy.com/ wheezy/main armhf Packages
1.0.1-1 0
500 http ://apt.mopidy.com/ wheezy/main armhf Packages
1.0.0-3 0
500 http ://apt.mopidy.com/ wheezy/main armhf Packages
0.19.5-1 0
500 http://apt.mopidy.com/ wheezy/main armhf Packages

Downgrading to 1.0.2 brings sound back.

Try mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf -v config, the sub-command config doesn’t know about -v.

Downgrading to 1.0.2 brings sound back.

    I'll try the rest later, have to rush for work now

Also see https://docs.mopidy.com/en/latest/troubleshooting/#debugging-gstreamer as we probably want a GStreamer log since this is an audio issue, and since it’s likely yet again related to queue setting for the tee :frowning:

So my guess is deleting the line with max-size-time ( https://github.com/mopidy/mopidy/blob/develop/mopidy/audio/actor.py#L172) will fix this. We’ve been through a few iterations of tweaking this and sadly each try breaks for someone new in a different way :confused:

same thing here after apt-get upgrade. removing the line 175 does indeed restore playback functionality.

Thanks for confirming my suspicion. I’ve reopened https://github.com/mopidy/mopidy/issues/1147 and well try and get out a 1.0.4 later today. This time I give up and we’ll just removes this as there are just to many corner cases we seem to be getting wrong.

I would grateful if both of you could update the bug with the audio config you are using and ideally also mopidy deps output so we have a better idea of what to test against in the future. As I would rather stop using our users as Guinea Pigs for fixing this type of thing.

mopidy config

[audio]
mixer = software
mixer_volume = 80
output = alsasink

mopidy deps

Platform: Linux-3.18.12+-armv6l-with-debian-7.8
Python: CPython 2.7.3 from /usr/lib/python2.7
Mopidy: 1.0.3 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
  tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
    certifi: 14.5.14 from /usr/local/lib/python2.7/dist-packages
    backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
Mopidy-MusicBox-Webclient: 2.0.0 from /usr/local/lib/python2.7/dist-packages
  setuptools: 15.2 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=0.19: 1.0.3 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 14.5.14 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
Mopidy-ALSAMixer: 1.0.3 from /usr/share/mopidy
  Mopidy>=0.19: 1.0.3 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 14.5.14 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
  pyalsaaudio: 0.5 from /usr/lib/pymodules/python2.7
Mopidy-GMusic: 0.3.0 from /usr/local/lib/python2.7/dist-packages
  setuptools: 15.2 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=0.18: 1.0.3 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 14.5.14 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
  gmusicapi>=3.0.0: 4.0.0 from /usr/local/lib/python2.7/dist-packages
    validictory!=0.9.2,>=0.8.0: 1.0.0 from /usr/local/lib/python2.7/dist-packages
    decorator>=3.3.1: 3.4.2 from /usr/local/lib/python2.7/dist-packages
    mutagen>=1.18: 1.28 from /usr/local/lib/python2.7/dist-packages
    protobuf>=2.4.1: 2.6.1 from /usr/local/lib/python2.7/dist-packages
      setuptools: 15.2 from /usr/local/lib/python2.7/dist-packages
    requests!=1.2.0,!=2.2.1,>=1.1.0: 2.6.2 from /usr/local/lib/python2.7/dist-packages
    python-dateutil!=2.0,>=1.3: 2.4.2 from /usr/local/lib/python2.7/dist-packages
      six>=1.5: 1.9.0 from /usr/local/lib/python2.7/dist-packages
    proboscis>=1.2.5.1: 1.2.6.0 from /usr/local/lib/python2.7/dist-packages
    oauth2client>=1.1: 1.4.7 from /usr/local/lib/python2.7/dist-packages
      httplib2>=0.8: 0.9.1 from /usr/local/lib/python2.7/dist-packages
      pyasn1==0.1.7: 0.1.7 from /usr/local/lib/python2.7/dist-packages
      pyasn1-modules==0.0.5: 0.0.5 from /usr/local/lib/python2.7/dist-packages
        pyasn1>=0.1.4: 0.1.7 from /usr/local/lib/python2.7/dist-packages
      rsa==3.1.4: 3.1.4 from /usr/local/lib/python2.7/dist-packages
        pyasn1>=0.1.3: 0.1.7 from /usr/local/lib/python2.7/dist-packages
      six>=1.6.1: 1.9.0 from /usr/local/lib/python2.7/dist-packages
    mock>=0.7.0: 1.0.1 from /usr/local/lib/python2.7/dist-packages
    appdirs>=1.1.0: 1.4.0 from /usr/local/lib/python2.7/dist-packages
Mopidy-Youtube: 2.0.0 from /usr/local/lib/python2.7/dist-packages
  setuptools: 15.2 from /usr/local/lib/python2.7/dist-packages
  requests>=2.2.1: 2.6.2 from /usr/local/lib/python2.7/dist-packages
  pafy>=0.3.35: 0.3.72 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=1.0: 1.0.3 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 14.5.14 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
Mopidy-TuneIn: 0.2.2 from /usr/local/lib/python2.7/dist-packages
  setuptools: 15.2 from /usr/local/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
  requests>=2.0.0: 2.6.2 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=1.0: 1.0.3 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 14.5.14 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
Mopidy-Podcast: 1.1.1 from /usr/local/lib/python2.7/dist-packages
  setuptools: 15.2 from /usr/local/lib/python2.7/dist-packages
  uritools>=0.8.0: 0.12.0 from /usr/local/lib/python2.7/dist-packages
    ipaddress>=1.0.6: 1.0.7 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=0.19: 1.0.3 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/local/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 14.5.14 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
  cachetools>=0.7.0: 1.0.0 from /usr/local/lib/python2.7/dist-packages
  Pykka>=1.1.0: 1.2.0 from /usr/local/lib/python2.7/dist-packages
GStreamer: 0.10.36.0 from /usr/lib/python2.7/dist-packages/gst-0.10/gst
  Detailed information: 
    Python wrapper: gst-python 0.10.22.0
    Relevant elements:
      Found:
        uridecodebin
        souphttpsrc
        appsrc
        alsasink
        osssink
        oss4sink
        pulsesink
        flump3dec
        id3demux
        id3v2mux
        lame
        mad
        mp3parse
        vorbisdec
        vorbisenc
        vorbisparse
        oggdemux
        oggmux
        oggparse
        flacdec
        flacparse
        shout2send
      Not found:
        none

Mopidy 1.0.4 is out now. It will hopefully fix this issue.

1 Like

I have the same issue with version 1.1.1

Any tips what can be wrong?

Mopidy config:
[audio] mixer = software mixer_volume = output = alsasink buffer-time=300000 latency-time=20000

Mopidy deps:
Executable: /usr/bin/mopidy Platform: Linux-4.1.13+-armv7l-with-debian-8.2 Python: CPython 2.7.9 from /usr/lib/python2.7 Mopidy: 1.1.1 from /usr/lib/python2.7/dist-packages Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages tornado>=2.3: 3.2.2 from /usr/lib/python2.7/dist-packages Mopidy-Spotify: 2.2.0 from /usr/lib/python2.7/dist-packages Mopidy>=1.1: 1.1.1 from /usr/lib/python2.7/dist-packages Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages tornado>=2.3: 3.2.2 from /usr/lib/python2.7/dist-packages Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages pyspotify>=2.0.5: 2.0.5 from /usr/lib/python2.7/dist-packages cffi>=1.0.0: 1.1.2 from /usr/lib/python2.7/dist-packages pycparser: 2.10 from /usr/lib/python2.7/dist-packages requests>=2.0: 2.4.3 from /usr/lib/python2.7/dist-packages GStreamer: 0.10.36.0 from /usr/lib/python2.7/dist-packages/gst-0.10/gst Detailed information: Python wrapper: gst-python 0.10.22.0 Relevant elements: Found: uridecodebin souphttpsrc appsrc alsasink osssink oss4sink id3demux id3v2mux vorbisdec vorbisenc vorbisparse oggdemux oggmux oggparse flacdec flacparse shout2send Not found: pulsesink flump3dec lame mad mp3parse

1 Like

I have the same error (also mopidy 1.1.1-1). Mopidy worked fine last saturday. Since the apt-get upgrade on sunday, playback is silent. I get the following error in /var/log/mopidy/mopidy.log

2015-12-15 22:37:13,518 WARNING [5950:MainThread] mopidy.audio.gst: Das Element kann diesen Datenstrom nicht verarbeiten. Bitte schicken Sie einen Fehlerbericht.

which translates to the same error in message 1.

so, mopidy is playing again for me. but only if I start it as my user like this: mopidy. the way I used it beforehand was like this sudo service mopidy start. which worked fine, as long as it worked.