Spaces in file names reading as %20 causing output files to not be saved.

Bug #1734895 reported by Samuel Kenno on 2017-11-28
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SoundConverter
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 561, in finished
    Gio.file_parse_name(self.output_filename), Gio.FileCopyFlags.NONE, None):
GLib.Error: g-io-error-quark: Error setting permissions: No such file or directory (1)
Traceback (most recent call last):
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 763, in on_task_finished
    task.error = vfs_rename(task.output_filename, newname)
  File "/usr/share/soundconverter/python/soundconverter/fileoperations.py", line 79, in vfs_rename
    gforiginal.move(gfnew, Gio.FileCopyFlags.NONE, None, None, None)
GLib.Error: g-io-error-quark: Error moving file /home/valim/Keldian%20-%20Outbound%20-%2001%20Burn%20The%20Sky.flac~128486~SC~: No such file or directory (1)

I got this output from terminal

Samuel Kenno (samuelkenno) wrote :

Added a trace in order do help finding the bug:

Traceback (most recent call last):
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 561, in finished
    Gio.file_parse_name(self.output_filename), Gio.FileCopyFlags.NONE, None):
GLib.Error: g-io-error-quark: Error setting permissions: No such file or directory (1)
/home/valim/Metalite - Afterlife (Piano Version).flac~200826~SC~ -> /home/valim/Unknown_Artist/Afterlife_Single/Metalite_-_Afterlife__Piano_Version_.mp3
Creating folder 'file:///home/valim/Unknown_Artist/Afterlife_Single'?
Creating folder: 'file:///home/valim/Unknown_Artist/Afterlife_Single'
Traceback (most recent call last):
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 763, in on_task_finished
    task.error = vfs_rename(task.output_filename, newname)
  File "/usr/share/soundconverter/python/soundconverter/fileoperations.py", line 79, in vfs_rename
    gforiginal.move(gfnew, Gio.FileCopyFlags.NONE, None, None, None)
GLib.Error: g-io-error-quark: Error moving file /home/valim/Metalite%20-%20Afterlife%20(Piano%20Version).flac~200826~SC~: No such file or directory (1)
Queue done in 11.708s (1 tasks)

GautierPortet (kassoulet) wrote :

Can you precise the SoundConverter version please ?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers