Comment 14 for bug 62528

Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :

Gautier,
I am not sure whether you intended me to download a new version and carry on testing, but I have provided sets of music which seem to give a reproducible error here. I would point out that the functionality for me fails differently if I (1) select a file by typing its path, (2) select a directory containing a file with foreign characters. I have provided my directory structure in the .tar files.

Using your latest version, I got the following:

SoundConverter 0.8.8
  Gstreamer version: 0.8.11, Python binding version: 0.8.3
locale charset: UTF-8
  using gnomevfssrc
[0517][cpbl@:~/tmp/dl/soundconverter-0.8.8]$ Traceback (most recent call last):
  File "./soundconverter.py", line 426, in do_work
    if self.work():
  File "./soundconverter.py", line 500, in work
    self.tasks[0].finish()
  File "./soundconverter.py", line 629, in finish
    self.found_type_hook(self.sound_file, self.found_type)
  File "./soundconverter.py", line 931, in found_type
    self.append_file(sound_file)
  File "./soundconverter.py", line 1001, in append_file
    self.model.set(i, 0, self.format_cell(sound_file))
  File "./soundconverter.py", line 991, in format_cell
    sys.stderr.write(_("Invalid character in filename:\n'%s'\n(%s)") % (urllib.unquote(sound_file.get_uri()), e) )
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 62-64: invalid data