soundconverter crash TypeError in format_tag()-special characters in tags
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
soundconverter (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: soundconverter
After some testing on Hardy beta 1 I was trying to convert some mp3 files to vorbis/ogg. All files can be converted but some threw up this error message box "Sorry, Sound Converter closed unexpectedly" though it didn't close. I was trying to see what was different with the files that would throw up that error when it was loading their tag and they all had some sort of special character in the album field on their tag such as: CD (1) or [soundtrack]. At the end of this report I have a little workaround which I am pretty sure is not the correct way to fix it, but it gets rid of the error for me. Here is the error message from when I run it in the console:
brian@brian-
SoundConverter 0.9.8
using Gstreamer version: 0.10.18, Python binding version: 0.10.11
using gnomevfssrc
output_
Queue done in 0s
Queue done in 0s
Traceback (most recent call last):
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/bin/
self.tags[key] = format_
File "/usr/bin/
tag = ", ".join(tag[:-1]) + " & " + tag[-1]
TypeError: sequence item 0: expected string, gst.Buffer found
Line 260 of /usr/bin/
tag = ", ".join(tag[:-1]) + " & " + tag[-1]
This gets rid of the error for me:
tag = tag[-1]
ProblemType: Crash
Architecture: i386
Date: Mon Mar 24 22:32:46 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.5
Package: soundconverter 0.9.8-0ubuntu1
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: soundconverter
Title: soundconverter crashed with TypeError in format_tag()
Uname: Linux 2.6.24-12-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev video