Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 142707

Summary: soundconverter should require gst-plugins-gnomevfs
Product: Gentoo Linux Reporter: Abraham Smith <adsmith>
Component: New packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal CC: gstreamer, guillaume
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Abraham Smith 2006-08-03 15:17:23 UTC
soundconverter, a python/gnome/gstreamer audio codec converter, seems to completely fail at runtime unless gst-plugins-gnomevfs is also installed.
Sadly, gst-pl-gnomevfs in NOT in the DEPENDS list.

This behavior appears in version 0.8.6, though the upstream website seems to suggest that 0.8.7 should overcome this problem.  At least until then, please update the DEPENDS.
Comment 1 Guillaume Ayoub 2006-08-17 10:29:27 UTC
(In reply to comment #0)
> soundconverter, a python/gnome/gstreamer audio codec converter, seems to
> completely fail at runtime unless gst-plugins-gnomevfs is also installed.
> Sadly, gst-pl-gnomevfs in NOT in the DEPENDS list.
> 
> This behavior appears in version 0.8.6, though the upstream website seems to
> suggest that 0.8.7 should overcome this problem.  At least until then, please
> update the DEPENDS.
> 
Same problem here...

Moreover, gst-plugins-mad and gst-plugins-ogg are very useful with "mp3" or "vorbis" useflags: they seem to be needed in order to manage tags. gst-pl-lame and gst-pl-vorbis are already required, but tags don't work just with these ebuilds.

Maybe the best thing is to add "ogg" and "mad" useflags (already used in many ebuilds)...
Comment 2 Hanno Böck gentoo-dev 2006-08-19 08:45:47 UTC
Can't reproduce a "complete fail". Can you give details when it fails?

I'd probably add it conditionally on USE="gnome". The other notes on ogg and mad are okay, though I'll probably wait updating till a gstreamer-0.10-version is released upstream
Comment 3 Abraham Smith 2006-08-19 10:08:07 UTC
Sorry for the overly vague "completely fail" comment.
Here is the sample stdout/err:

$ soundconverter

SoundConverter 0.8.6
  Gstreamer version: 0.8.11, Python binding version: 0.8.4
  NOT using gnomevfssrc, look for any gnomevfs gstreamer package.

[ GUI -- add a single song, hit convert]

using encoder: lame (L.A.M.E. mp3 encoder)
Writing to: '/closet/audio/tmp/Penguin Cafe Orchestra-Preludes Airs and Yodels/01.Music_for_a_Found_Harmonium.mp3'
Traceback (most recent call last):
  File "/usr/bin/soundconverter", line 780, in new_decoded_pad
    sink.set_property("location", encode_filename(self.output_filename))
  File "/usr/bin/soundconverter", line 167, in file_encode_filename
    return gnomevfs.get_local_path_from_uri(filename)
RuntimeError: unknown error
Cannot set permission on '/closet/audio/tmp/Penguin Cafe Orchestra-Preludes Airs and Yodels/01.Music_for_a_Found_Harmonium.mp3'

[ GUI claims conversion complete, but nothing has happened ]

Comment 4 Hanno Böck gentoo-dev 2006-09-08 07:55:11 UTC
all fixed in 0.9.1