I'm using SoundCoverter from the getdeb respository (Installed: 2.1.2-1~getdeb1), but the same behaviour exists in the official Ubuntu 13.10 respository.
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)
Error: <b>GStreamer Error:</b>
Could not open resource for writing.
<i>(Hans_Zimmer_and_Lisa_Gerrard_-_15_Elysium.flac)</i>
Error: <b>GStreamer Error:</b>
Could not open resource for writing.
<i>(Hans_Zimmer_and_Lisa_Gerrard_-_16_Honor_Him.flac)</i>
Error: <b>GStreamer Error:</b>
Could not open resource for writing.
<i>(Hans_Zimmer_and_Lisa_Gerrard_-_17_Now_We_Are_Free.flac)</i>
Cannot set permission on '/media/Arch/Audio/FLAC/Soundtracks/Gladiator_(2000)/Hans_Zimmer_and_Lisa_Gerrard_-_17_Now_We_Are_Free.flac.mp3~SC~'
error in task, skipping rename: file:///media/Arch/Audio/FLAC/Soundtracks/Gladiator_%282000%29/Hans_Zimmer_and_Lisa_Gerrard_-_17_Now_We_Are_Free.flac.mp3~SC~
Cannot set permission on '/media/Arch/Audio/FLAC/Soundtracks/Gladiator_(2000)/Hans_Zimmer_and_Lisa_Gerrard_-_16_Honor_Him.flac.mp3~SC~'
error in task, skipping rename: file:///media/Arch/Audio/FLAC/Soundtracks/Gladiator_%282000%29/Hans_Zimmer_and_Lisa_Gerrard_-_16_Honor_Him.flac.mp3~SC~
Cannot set permission on '/media/Arch/Audio/FLAC/Soundtracks/Gladiator_(2000)/Hans_Zimmer_and_Lisa_Gerrard_-_15_Elysium.flac.mp3~SC~'
error in task, skipping rename: file:///media/Arch/Audio/FLAC/Soundtracks/Gladiator_%282000%29/Hans_Zimmer_and_Lisa_Gerrard_-_15_Elysium.flac.mp3~SC~
Queue done in 3.449s (3 tasks)
I'm using SoundCoverter from the getdeb respository (Installed: 2.1.2-1~getdeb1), but the same behaviour exists in the official Ubuntu 13.10 respository.
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/ python/ soundconverter/ ui.py:1485: Warning: Attempt to add property GnomeProgram: :sm-connect after class was initialised soundconverter/ python/ soundconverter/ ui.py:1485: Warning: Attempt to add property GnomeProgram: :show-crash- dialog after class was initialised soundconverter/ python/ soundconverter/ ui.py:1485: Warning: Attempt to add property GnomeProgram: :display after class was initialised soundconverter/ python/ soundconverter/ ui.py:1485: Warning: Attempt to add property GnomeProgram: :default- icon after class was initialised "file:/ //media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_15_Elysium. flac" ! typefind name=typefinder ! fakesink' and_Lisa_ Gerrard_ -_15_Elysium. flac "file:/ //media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_16_Honor_ Him.flac" ! typefind name=typefinder ! fakesink' and_Lisa_ Gerrard_ -_16_Honor_ Him.flac "file:/ //media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_17_Now_ We_Are_ Free.flac" ! typefind name=typefinder ! fakesink' and_Lisa_ Gerrard_ -_17_Now_ We_Are_ Free.flac and_Lisa_ Gerrard_ -_15_Elysium. flac and_Lisa_ Gerrard_ -_16_Honor_ Him.flac and_Lisa_ Gerrard_ -_17_Now_ We_Are_ Free.flac "file:/ //media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_15_Elysium. flac" name=src ! decodebin name=decoder ! audiorate ! audioconvert ! audioresample ! lamemp3enc encoding- engine- quality= 2 target=quality cbr=false quality=1 ! xingmux ! id3v2mux ! giosink location= "file:/ //media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_15_Elysium. flac.mp3~ SC~"' "file:/ //media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_16_Honor_ Him.flac" name=src ! decodebin name=decoder ! audiorate ! audioconvert ! audioresample ! lamemp3enc encoding- engine- quality= 2 target=quality cbr=false quality=1 ! xingmux ! id3v2mux ! giosink location= "file:/ //media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_16_Honor_ Him.flac. mp3~SC~ "' "file:/ //media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_17_Now_ We_Are_ Free.flac" name=src ! decodebin name=decoder ! audiorate ! audioconvert ! audioresample ! lamemp3enc encoding- engine- quality= 2 target=quality cbr=false quality=1 ! xingmux ! id3v2mux ! giosink location= "file:/ //media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_17_Now_ We_Are_ Free.flac. mp3~SC~ "'
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> Zimmer_ and_Lisa_ Gerrard_ -_15_Elysium. flac)</ i>
Could not open resource for writing.
<i>(Hans_
Error: <b>GStreamer Error:</b> Zimmer_ and_Lisa_ Gerrard_ -_16_Honor_ Him.flac) </i>
Could not open resource for writing.
<i>(Hans_
Error: <b>GStreamer Error:</b> Zimmer_ and_Lisa_ Gerrard_ -_17_Now_ We_Are_ Free.flac) </i> Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_17_Now_ We_Are_ Free.flac. mp3~SC~ ' /media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ %282000% 29/Hans_ Zimmer_ and_Lisa_ Gerrard_ -_17_Now_ We_Are_ Free.flac. mp3~SC~ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_16_Honor_ Him.flac. mp3~SC~ ' /media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ %282000% 29/Hans_ Zimmer_ and_Lisa_ Gerrard_ -_16_Honor_ Him.flac. mp3~SC~ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ (2000)/ Hans_Zimmer_ and_Lisa_ Gerrard_ -_15_Elysium. flac.mp3~ SC~' /media/ Arch/Audio/ FLAC/Soundtrack s/Gladiator_ %282000% 29/Hans_ Zimmer_ and_Lisa_ Gerrard_ -_15_Elysium. flac.mp3~ SC~
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)