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