soundconverter crashed with TypeError in format_tag()

Bug #179886 reported by Shawn vega
68
Affects Status Importance Assigned to Milestone
SoundConverter
Fix Released
Undecided
Unassigned
soundconverter (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: soundconverter

(hardy alpha 2 x86) I think it's crashing because of ".m4a" files. but it never actually closed down it stayed opened and the pop up boxes say it has crashed. also it won't convert ".m4a" files

ProblemType: Crash
Architecture: i386
Date: Wed Jan 2 07:58:07 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/soundconverter
InterpreterPath: /usr/bin/python2.5
Package: soundconverter 0.9.7-1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/soundconverter
ProcCwd: /home/shawn
ProcEnviron:
 PATH=/home/shawn/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/soundconverter']
SourcePackage: soundconverter
Title: soundconverter crashed with TypeError in format_tag()
Uname: Linux s-hardy-laptop 2.6.24-2-generic #1 SMP Thu Dec 20 17:36:12 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Tags: apport-crash
Revision history for this message
Shawn vega (svega85-gmail) wrote :
William Grant (wgrant)
Changed in soundconverter:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
William Grant (wgrant) wrote :

Gautier, can you please take a look at this? We have several duplicates, and it's reproducible with at least 0.9.[89].

Revision history for this message
Matt Walker (matthaeus123) wrote :

It still occurs with the latest 0.9.99 version

Revision history for this message
Brian Hankins (bhankins) wrote :

I am pretty sure this isn't a correct fix, just a workaround I am using. It doesn't seem to have an adverse affect on my tags.

Line 260 of /usr/bin/soundconverter:
tag = ", ".join(tag[:-1]) + " & " + tag[-1]
This gets rid of the error for me:
tag = tag[-1]

Revision history for this message
Brian Hankins (bhankins) wrote :

I should have added this in my last comment, sorry: 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].

Revision history for this message
GautierPortet (kassoulet) wrote :

Can you send me or attach here a crashing file ?

Revision history for this message
Brian Hankins (bhankins) wrote :

Here is a creative commons license song that crashes for me, it has a set of parentheses in its album section in the tag.

http://magnatune.com/artists/music/Electronica/DJ%20Cary/After%20Dinner%20Lounge/03-Artemis%20_%20Fountain%20of%20life-DJ%20Cary.mp3

Revision history for this message
GautierPortet (kassoulet) wrote :

Fixed in 1.0.0-rc1

William Grant (wgrant)
Changed in soundconverter:
status: New → Fix Committed
William Grant (wgrant)
Changed in soundconverter:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package soundconverter - 1.0.0-0ubuntu1

---------------
soundconverter (1.0.0-0ubuntu1) hardy; urgency=low

  * New upstream release.
    - Only format tags when displaying. (LP: #179886)
    - Fix filename_to_uri to remove gvfs error at startup. (LP: #208794)

 -- William Grant <email address hidden> Mon, 07 Apr 2008 09:15:41 +1000

Changed in soundconverter:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.