GNOME Bugzilla – Bug 576531
alacarte crashed with IOError in copyItem() (when copying item with / in name)
Last modified: 2012-03-05 15:56:46 UTC
Steps to reproduce: 1. Open Alacarte 2. Try to copy item with "/" in Name 3. Crash Stack trace: Traceback (most recent call last):
+ Trace 213800
self.editor.copyItem(item, new_parent)
keyfile.write(open(out_path, 'w'))
Other information: Reported on Launchpad: http://bugs.launchpad.net/bugs/205463
Created attachment 131233 [details] [review] Patch correcting the issue The attached patch corrects the issue by replacing the "/" in the filename with "-".
The following fix has been pushed: 49cf1a2 Don't crash when a desktop has a / in the name
Created attachment 194411 [details] [review] Don't crash when a desktop has a / in the name Reported by Andreas Moog
Reproduced in 0.13.2-2ubuntu4: Created a launcher "Mail/News" Copied to another category IOError: [Errno 2] No such file or directory: '/home/vadik/.local/share/applications/Mail/News.desktop'