Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171371 - media-sound/quodlibet: will not start: 'filesrc' GStreamer element
Summary: media-sound/quodlibet: will not start: 'filesrc' GStreamer element
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 172579
  Show dependency tree
 
Reported: 2007-03-18 19:43 UTC by Leif Walsh
Modified: 2007-05-13 20:23 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,8.34 KB, text/plain)
2007-03-18 19:45 UTC, Leif Walsh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leif Walsh 2007-03-18 19:43:58 UTC
Error message on start:
"Quod Libet could not find the 'filesrc' GStreamer element. Check your GStreamer installation."

I'm not sure if this is a bug in gstreamer or in quodlibet; I don't know enough about gstreamer to tell.  If that's the case, just say so and close/move this.

Easily reproducible.

Output when run from console:
 $ quodlibet
Supported formats: mp3, mp4, mpc, wav, xiph
Loaded song library.
Opening audio device.
/usr/share/quodlibet/qltk/dbus_.py:11: DeprecationWarning: The dbus_bindings module is deprecated and will go away soon.

dbus-python 0.80 provides only a partial emulation of the old
dbus_bindings, which was never meant to be public API.

Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).

If you need additional public API, please contact the maintainers via
<dbus@lists.freedesktop.org>.

  from dbus.dbus_bindings import DBusException
Comment 1 Leif Walsh 2007-03-18 19:45:01 UTC
Created attachment 113689 [details]
emerge --info

My emerge --info output.
Comment 2 Radek Podgorny 2007-03-19 12:12:55 UTC
...facing the same problem. Recompiling dbus-python, gstreamer and quodlibet didn't help... :-(

Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20 x86_64)
=================================================================
System uname: 2.6.20 x86_64 Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Mon, 19 Mar 2007 10:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.utf8"
LINGUAS="en en_US cs cs_CZ"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog libg++ midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US cs cs_CZ" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Steve 2007-03-23 23:20:18 UTC
After tracing the code, it looks like the gst.elment_make_from_uri call near the end of player.py is failing.

Changing the line from
if gst.element_make_from_uri(gst.URI_SRC, "file://", ""):
to 
if gst.element_make_from_uri(gst.URI_SRC, "file:///home/whatever", ""):

allowed quodlibet to start and and things seemed to work fine.  I don't know enough about gstreamer to know whether this is a bug with gstreamer or if quodlibet is doing stuff wrong, but I can play music now.

Also, I don't really know what that change does, so it could break some other stuff.
Comment 4 Kai Huuhko 2007-03-25 09:20:47 UTC
This might be an issue with missing media-plugins/gst-plugins-gnomevfs, which is currently optional DEPEND under gnome use flag. See if emerging gst-plugins-gnomevfs helps.
Comment 5 Kai Huuhko 2007-03-25 11:32:41 UTC
Indeed a user reported on the forums that emerging gst-plugins-gnomevfs made QL work again, so I believe the dependency should be changed from optional to mandatory.

http://forums.gentoo.org/viewtopic-t-548961.html
Comment 6 Steve 2007-04-30 04:18:35 UTC
Apparently this was caused by a bug in gstreamer, and should not require a dependency of gst-plugins-gnomevfs:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421167
Comment 7 Alexis Ballier gentoo-dev 2007-05-13 20:23:25 UTC
should be fixed in 1.0