[Bug 19526] New: smeg fails in kubuntu due to missing applications.menu

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Sat Nov 12 10:33:27 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=19526
Ubuntu | smeg

           Summary: smeg fails in kubuntu due to missing applications.menu
           Product: Ubuntu
           Version: unspecified
          Platform: i386
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: smeg
        AssignedTo: alleykat at gmail.com
        ReportedBy: mintywalker at gmail.com
         QAContact: kubuntu-bugs at lists.ubuntu.com


sudo aptitude install smeg
then running smeg from the command line generates

Traceback (most recent call last):
  File "/usr/bin/smeg", line 562, in ?
    main()
  File "/usr/bin/smeg", line 558, in main
    smeg = Smeg()
  File "/usr/bin/smeg", line 61, in __init__
    self.handler = MenuHandler(self, self.options)
  File "/usr/lib/smeg/MenuHandler.py", line 56, in __init__
    xdg.MenuEditor.MenuEditor.__init__(self, menu_path, root=options.root_mode)
  File "/usr/lib/python2.4/site-packages/xdg/MenuEditor.py", line 28, in __init__
    self.parse(menu, filename, root)
  File "/usr/lib/python2.4/site-packages/xdg/MenuEditor.py", line 42, in parse
    self.menu = parse()
  File "/usr/lib/python2.4/site-packages/xdg/Menu.py", line 498, in parse
    raise ParsingError('File not found', "/etc/xdg/menus/applications.menu")
xdg.Exceptions.ParsingError: ParsingError in file
'/etc/xdg/menus/applications.menu', File not found

I had a look in the code, but it appears "applications.menu" is hardcoded in at
least a couple of places, so instead I did:

cd /etc/xdg/menus/
sudo ln -s ./kde-applications.menu applications.menu

which appears to fix the problem

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kubuntu-bugs mailing list