ju1ius / marchobmenu

An automated XDG menu system for Openbox [This project has been superseded by ju1ius/uxdgmenu !]
5 stars 0 forks source link

'/etc/xdg/menus/applications.menu', File not found #3

Open Doc73 opened 12 years ago

Doc73 commented 12 years ago

First of all, thank you for your wonderful script!

However, I would like to report a small problem on Squeeze:

~$ mom-daemon start
Traceback (most recent call last):
  File "/usr/bin/mom-daemon", line 253, in 
    start(options)
  File "/usr/bin/mom-daemon", line 57, in start
    update()
  File "/usr/bin/mom-daemon", line 83, in update
    fp.write(menu.parse_menu_file(MENU_FILE))
  File "/usr/lib/marchobmenu/marchobmenu/applications.py", line 18, in
parse_menu_file
    menu = xdg.Menu.parse(menu_file)
  File "/usr/lib/pymodules/python2.6/xdg/Menu.py", line 506, in parse
    raise ParsingError('File not found', "/etc/xdg/menus/%s" % candidate)
xdg.Exceptions.ParsingError: ParsingError in file
'/etc/xdg/menus/applications.menu', File not found

I have solved it with a symlink: cd /etc/xdg/menus/ ln -s mom-applications.menu applications.menu

I hope this information can be useful.

Hi and thanks!

ghost commented 12 years ago

I have the same problem... Thank you Doc73 for the solution!