I'm under Openbox and I never encountered any problems with obmenu (and especially, its command obm-xdg). But since about 2 weeks, I can't generate the pipemenu I was used to by a simple command. Normally, "obm-xdg" generates a xml file, but now, I've got this exception :
Traceback (most recent call last):
File "/usr/bin/obm-xdg", line 443, in <module>
File "/usr/bin/obm-xdg", line 180, in parseFile
f = open(filename)
IOError: [Errno 2] No such file or directory: ''
Do you have any idea about how it happened ?
Last edited by djipey (2013-06-05 09:44:17)
I have the same problem. Apparently it's a bug: https://bugs.archlinux.org/task/9381.
There is a patch provided with that bug report but I think it works for only a specific case - not all cases.
I guess we will need to wait until it's fixed by the maintainers.
The patch has been posted 5 years ago...But a miracle can still happen Anyway as you said, it's for another case. I changed the program which does that:
<menu execute="openbox-xdgmenu /etc/xdg/menus/gnome-applications.menu" id="xdg-apps" label="Applications"/>
My bad! I never noticed the date on that bug report.
Thanks for sharing your solution.