GNOME Bugzilla – Bug 636450
Ripping CD Error - Filename too long
Last modified: 2012-09-12 19:20:38 UTC
Hey guys, So I was trying to rip my music collection in Banshee, and all was well, untill I popped in my Sufjan Stevens - Illinoise album. If you know this one, the second track has a ridiculously long track title. Moments after I "Import the CD" I am greeted by the error message and Banshee crashes. Now I tried looking at the settings for an easy fix but all of the options to change the filename that banshee formats on import involve the track title, so no help there. I then tried to disable all functions that require the internet hoping that the metadata wouldn't load so I could specify my own, no dice there either. Finally I found that I had to physically unplug my ethernet to stop the metadata from mucking up the works. Moral of the story: Banshee needs to be able to truncate filenames. I dont know the scope of this issue; I am running Banshee 1.8.0 on Ubuntu 10.10 and in case the log file doesnt specify I was trying to import in FLAC (If that makes a difference). Keep up the great work, congrats on becoming the new default on the Ubuntu OS. -Andy-
A debug log is required to examine your issue. Please run banshee-1 --debug --redirect-log and reproduce the issue and exit Banshee. Then attach the resulting ~/.config/banshee-1/log file. Also if you could try the most recent Banshee to confirm that the issue is still present it would be great. You can use the Banshee daily PPA for this purpose. https://launchpad.net/~banshee-team/+archive/banshee-daily
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
Created attachment 204801 [details] log of failure (at the end of the log) For some reason I cannot reopen this bug. Here is a log from daily on oneiric. These kinds of problems should not make the entire program crash. The problem should merely make banshee skip that file and report the error to the user. In this case banshee should suggest a solution, truncation for instance, or ask for a name from the user.
Created attachment 223218 [details] [review] truncate filename to 200 characters
Hit this bug also with Sufjan Stevens' album "Illinois" (http://musicbrainz.org/release/b14f3252-4973-3fe0-a4da-af5d39626cc1), the title of track 2 is actually 288 characters long - too long for Linux where NAME_MAX is 255. Proposed solution: simply truncate the file's name (before the extension) to something reasonably supported by all filesystems, say 200.
*** Bug 656401 has been marked as a duplicate of this bug. ***
Comment on attachment 223218 [details] [review] truncate filename to 200 characters Thanks for the patch! Committed with some minor changes: http://git.gnome.org/browse/banshee/commit/?id=f24e62a29
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.