The best way to determine what the issue is on your system is to run
this command, the last .desktop file to be opened is the problem:

strace -e trace=file obamenu

On Sat, 17 Feb 2018 16:55:13 -0700 Thomas Vaughan wrote:

> Debugging the obamenu python script, I found that it freaks out when
> it tries to read 'gnome-user-share.desktop'.  When I uninstalled the
> 'gnome-user-share' package, the problem went away.

This is correct, the gnome-user-share-webdav.desktop file from the
gnome-user-share package contains a line Categories= and obamenu chokes
on that line because it isn't prepared for a malformed categories line.

Also, the parsing code is terrible in general. I strongly suggest that
the parsing code be replaced with calls to PyXDG DesktopEntry classes:

https://www.freedesktop.org/wiki/Software/pyxdg/
https://pyxdg.readthedocs.io/en/latest/desktopentry.html

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to