GNOME Bugzilla – Bug 334149
traceback on 'Programs' backend
Last modified: 2006-03-10 18:41:58 UTC
Deskbar v. 2.13.92. Initializing Programs Error while initializing Programs: File 'file:///home/gjc/.local/share/applications/ooo2-base.desktop' is not a regular file or directory. Traceback (most recent call last):
+ Trace 66826
context.module.initialize ()
self._scan_desktop_files()
result = parse_desktop_file(f)
desktop = deskbar.gnomedesktop.item_new_from_file(desktop, deskbar.gnomedesktop.LOAD_ONLY_IF_EXISTS)
The file in question is a symlink: gjc@spectrum:~$ ls -l /home/gjc/.local/share/applications/ooo2-base.desktop 0 lrwxrwxrwx 1 gjc gjc 59 2006-02-22 19:20 /home/gjc/.local/share/applications/ooo2-base.desktop -> /chroot/unstable32/usr/share/applications/ooo2-base.desktop Could it be a libgnomedesktop error?
It looks like. I can add a try/catch around the call, but it shouldn't fail for symlinks (libgnome-desktop) Do you think it's wise to reassign ? (which module ?)
OK, now I also noticed it is a dangling symlink. Still, deskbar should just ignore the error and move on... So libgnomedesktop is not to blame after all.
Allright, adding a try catch clause