After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609867 - Adding a file with '@' in the name fails for ipod
Adding a file with '@' in the name fails for ipod
Status: RESOLVED DUPLICATE of bug 540377
Product: banshee
Classification: Other
Component: Device - iPod
1.5.3
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-13 20:12 UTC by Tim Hockin
Modified: 2010-02-13 22:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim Hockin 2010-02-13 20:12:23 UTC
I have a file named "06. Anti. @Alien.mp3" which is a perfectly legal filesystem name and the correct track name.  When I add it to my iPod it fails:

[Debug 12:06:34.768] Finished - Adding 1 of 1 to TH IPOD
[Warn  12:06:35.443] Failed to create System.Uri for iPod track - Could not find file "/Alien.mp3". (in `mscorlib')
  at System.IO.FileInfo.get_Length () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.FileInfo:get_Length ()
  at IPod.Track.set_Uri (System.Uri value) [0x00000] 
  at Banshee.Dap.Ipod.IpodTrackInfo.CommitToIpod (IPod.Device device) [0x00000] 
[Debug 12:06:36.101] Starting - Syncing iPod


It looks like Banshee is not escaping the input string and then trying to use it directly as a URI.  Tsk Tsk.  This is the second bug I have hit in Banshee with "illegal" characters that are actually valid, legal, and correct, but which make Banshee vomit on itself.  (the first bug being album art for albums with special chars).

This is the latest PPA build.
Comment 1 Michael Martin-Smucker 2010-02-13 22:09:40 UTC
*** This bug has been marked as a duplicate of bug 540377 ***
Comment 2 Michael Martin-Smucker 2010-02-13 22:10:15 UTC
Thanks for the report.  Assuming that the @ in the file name is the only thing wrong in bug 540377, this one is a duplicate of that one.