mopidy/mopidy — Issue #144: gst.LinkError: <enum GST_PAD_LINK_WAS_LINKED of type GstPadLinkReturn>
Author: jodal
Created: 2012-02-08 12:43:34+00:00
State: open
Labels: bugs

I got the following crash once when I tried to play a track:

```
INFO Starting Mopidy 0.6.1 on Linux-3.2.0-14-generic-x86_64-with-Ubuntu-12.04-precise CPython 2.7.2+
...
DEBUG 2012-02-08 13:31:29,021 [2270:PykkaActorThread-8] mopidy.frontends.mpris
Received track playback started event
DEBUG 2012-02-08 13:31:29,021 [2270:PykkaActorThread-7] mopidy.frontends.lastfm
Now playing track: Sivert Høyem - Under Administration
DEBUG 2012-02-08 13:31:29,021 [2270:PykkaActorThread-147] mopidy.frontends.mpd
Response to [::ffff:127.0.0.1]:48785 from urn:uuid:dbf126ec-cccb-4e02-a6fd-9abd44f4a89e: OK
DEBUG 2012-02-08 13:31:29,021 [2270:PykkaActorThread-8] mopidy.frontends.mpris
org.freedesktop.DBus.Properties.Get('org.mpris.MediaPlayer2.Player', 'PlaybackStatus') called
DEBUG 2012-02-08 13:31:29,022 [2270:PykkaActorThread-147] mopidy.frontends.mpd
Request from [::ffff:127.0.0.1]:48785 to urn:uuid:dbf126ec-cccb-4e02-a6fd-9abd44f4a89e: status
DEBUG 2012-02-08 13:31:29,022 [2270:PykkaActorThread-8] mopidy.frontends.mpris
org.freedesktop.DBus.Properties.Get('org.mpris.MediaPlayer2.Player', 'Metadata') called
DEBUG 2012-02-08 13:31:29,034 [2270:PykkaActorThread-1] mopidy.gstreamer
Setting GStreamer state to GST_STATE_READY: OK
DEBUG 2012-02-08 13:31:29,037 [2270:PykkaActorThread-8] mopidy.frontends.mpris
org.freedesktop.DBus.Properties.PropertiesChanged(org.mpris.MediaPlayer2.Player, {'Metadata': dbus.Dictionary({'xesam:url': 'spotify:track:0eGLCPZbIYPQ1mxA82eL1J', 'xesam:album': u'Long Slow Distance', 'mpris:length': 292000000, 'xesam:title': u'Under Administration', 'xesam:trackNumber': 1, 'xesam:artist': dbus.Array([u'Sivert H\xf8yem'], signature=dbus.Signature('s')), 'mpris:trackid': '/com/mopidy/track/58'}, signature=dbus.Signature('sv')), 'PlaybackStatus': 'Playing'}, []) signaled
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/mopidy/gstreamer.py", line 86, in _on_new_pad
pad.link(target_pad)
gst.LinkError:
```

I'm using Ubuntu 12.04 Alpha dist-upgraded today, which includes the following GStreamer packages:

```
gstreamer0.10-alsa 0.10.35.3-1
gstreamer0.10-ffmpeg 0.10.13-1
gstreamer0.10-fluendo-mp3 0.10.15.debian-1ubuntu1
gstreamer0.10-gconf 0.10.30.2-2ubuntu2
gstreamer0.10-nice 0.1.1-1ubuntu1
gstreamer0.10-plugins-bad 0.10.22-2ubuntu5
gstreamer0.10-plugins-base 0.10.35.3-1
gstreamer0.10-plugins-base-apps 0.10.35.3-1
gstreamer0.10-plugins-good 0.10.30.2-2ubuntu2
gstreamer0.10-plugins-ugly 0.10.18.3-1ubuntu1
gstreamer0.10-pulseaudio 0.10.30.2-2ubuntu2
gstreamer0.10-tools 0.10.35.3-1
gstreamer0.10-x 0.10.35.3-1
```