SoundConverter can't convert files from read only filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SoundConverter |
Fix Released
|
High
|
GautierPortet |
Bug Description
I'm using SoundCoverter from the getdeb respository (Installed: 2.1.2-1~getdeb1)
STEPS TO REPRODUCE
* Make a folder and its files read only.
* Add folder to SoundConverter.
* Select a writable folder for output.
* Press convert.
* SoundConverter reports:
GStreamer Error:
Could not open resource for writing.
(filename.flac)
STEPS TO WORKAROUND
* Make source folder writable.
* Press convert.
* SoundConverter works as intended.
* Or, copying the source files to a writable folder, which can be troublesome depending on the selection.
I convert FLAC files over a network share that I've write protected (because it's archival, I want no accidents there). It appears that SoundConverter is creating the transcoded file in the location of the source files, rather than in the destination. This also has the unwanted side effect of sending the transcoded data back over the network, only to retrieve it again to store it locally (if the destination folder is indeed local, which it is in my case).
Fixing this bug by making SoundConverter write its temporary files to the destination folder would fix this bug, but also make it more network friendly.
(thanks for a great application too, it's very convenient!)
======= SOUNDCONVERTER DEBUG OUTPUT FOR THIS TEST CASE =======
* Note source folder is write protected
* Files added via drag and drop from Sonata (MPD client)
$ soundconverter --debug
SoundConverter 2.1.2
using Gstreamer version: 0.10.36
using 4 thread(s)
using gio
/usr/lib/
gnome.init(name, version)
/usr/lib/
gnome.init(name, version)
/usr/lib/
gnome.init(name, version)
/usr/lib/
gnome.init(name, version)
Queue start: 3 tasks, 4 thread(s).
launching: 'giosrc location=
have_type: audio/x-flac Hans_Zimmer_
launching: 'giosrc location=
have_type: audio/x-flac Hans_Zimmer_
launching: 'giosrc location=
have_type: audio/x-flac Hans_Zimmer_
Queue done in 0.018s (3 tasks)
found_type Hans_Zimmer_
found_type Hans_Zimmer_
found_type Hans_Zimmer_
Queue start: 3 tasks, 4 thread(s).
launching: 'giosrc location=
launching: 'giosrc location=
launching: 'giosrc location=
Error: <b>GStreamer Error:</b>
Could not open resource for writing.
<i>(Hans_
Error: <b>GStreamer Error:</b>
Could not open resource for writing.
<i>(Hans_
Error: <b>GStreamer Error:</b>
Could not open resource for writing.
<i>(Hans_
Cannot set permission on '/media/
error in task, skipping rename: file://
Cannot set permission on '/media/
error in task, skipping rename: file://
Cannot set permission on '/media/
error in task, skipping rename: file://
Queue done in 3.449s (3 tasks)
Changed in soundconverter: | |
status: | Fix Committed → Fix Released |
Ok upon further investigation, it is only the version on GetDeb ( 2.1.2-1~getdeb1) that has this issue. Version 2.0.4 from both Ubuntu 13.10 and 14.04 repositories don't have this issue. I just tried downloading the source from https:/ /launchpad. net/soundconver ter/trunk/ 2.1.2 and that has the same issue as the GetDeb version (as one would expect)..