You are not logged in.

#1 2013-04-28 18:42:53

djipey
Member
Registered: 2011-07-30
Posts: 156

[obm-xdg] stopped working with no reason (solved)

Hello,

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>
    mnu.parseFile(filename)
  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 ?

Sincerely

Last edited by djipey (2013-06-05 09:44:17)

Offline

#2 2013-06-04 17:17:54

ssinha
Member
Registered: 2013-06-04
Posts: 2

Re: [obm-xdg] stopped working with no reason (solved)

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.

Offline

#3 2013-06-04 20:01:38

djipey
Member
Registered: 2011-07-30
Posts: 156

Re: [obm-xdg] stopped working with no reason (solved)

The patch has been posted 5 years ago...But a miracle can still happen smile 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"/>

Offline

#4 2013-06-05 03:15:37

ssinha
Member
Registered: 2013-06-04
Posts: 2

Re: [obm-xdg] stopped working with no reason (solved)

My bad! I never noticed the date on that bug report. tongue

Thanks for sharing your solution.

Offline

Board footer

Powered by FluxBB