don't show window

Bug #374251 reported by teixeiras
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyXDG
New
Undecided
Unassigned

Bug Description

Only few thems works, example of few it work it's xp one.
The error it's this one:
It likes xdg crash during parsing, and it don't finish all work. The strange is why it xp them works

Reorientating Orb top!! (Don't let this happen too often!!)
start
Traceback (most recent call last):
  File "/usr/lib/gnomenu/Panel_Object.py", line 382, in timeout_callback
    self.hwg = Main_Menu(self.HideMenu)
  File "/usr/lib/gnomenu/Menu_Main.py", line 89, in __init__
    self.setup()
  File "/usr/lib/gnomenu/Menu_Main.py", line 327, in setup
    self.PGL = ProgramList()
  File "/usr/lib/gnomenu/Menu_Widgets.py", line 678, in __init__
    self.XDG = XDGMenu()
  File "/usr/lib/gnomenu/Menu_Items.py", line 66, in __init__
    else:self.BaseMenu = xdg.Menu.parse("applications")
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 516, in parse
    __parse(doc, filename, tmp["Root"])
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 537, in __parse
    __parseMenu(child, filename, parent)
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 691, in __parseMenu
    __parse(child, filename, m)
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 575, in __parse
    __parseMergeFile("applications.menu", child, filename, parent)
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 742, in __parseMergeFile
    __mergeFile(os.path.join(p,rel_file),child,parent)
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 785, in __mergeFile
    __parse(child,filename,parent)
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 586, in __parse
    __parseDefaultMergeDirs(child, filename, parent)
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 762, in __parseDefaultMergeDirs
    __parseMergeDir(os.path.join(dir, "menus", basename + "-merged"), child, filename, parent)
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 755, in __parseMergeDir
    __mergeFile(os.path.join(value, item), child, parent)
  File "//usr/lib/python2.5/site-packages/xdg/Menu.py", line 780, in __mergeFile
    raise ParsingError('Not a valid .menu file', filename)
xdg.Exceptions.ParsingError: ParsingError in file '/home/teixeira/.config/menus/applications-merged/wine-Programs-Microsoft Office-Ferramentas do Microsoft Office-Diagnósticos do Microsoft Office.menu', Not a valid .menu file

Traceback (most recent call last):
  File "/usr/lib/gnomenu/Panel_Object.py", line 332, in button_press
    self.HideMenu()
  File "/usr/lib/gnomenu/Panel_Object.py", line 428, in HideMenu
    if self.hwg:
AttributeError: 'GnoMenu' object has no attribute 'hwg'
Traceback (most recent call last):
  File "/usr/lib/gnomenu/Panel_Object.py", line 332, in button_press
    self.HideMenu()
  File "/usr/lib/gnomenu/Panel_Object.py", line 428, in HideMenu
    if self.hwg:
AttributeError: 'GnoMenu' object has no attribute 'hwg'
Traceback (most recent call last):
  File "/usr/lib/gnomenu/Panel_Object.py", line 332, in button_press
    self.HideMenu()
  File "/usr/lib/gnomenu/Panel_Object.py", line 428, in HideMenu
    if self.hwg:
AttributeError: 'GnoMenu' object has no attribute 'hwg'
Traceback (most recent call last):
  File "/usr/lib/gnomenu/Panel_Object.py", line 332, in button_press
    self.HideMenu()
  File "/usr/lib/gnomenu/Panel_Object.py", line 428, in HideMenu
    if self.hwg:
AttributeError: 'GnoMenu' object has no attribute 'hwg'

Revision history for this message
Helder Fraga (whise) wrote :

there appears to be a problem with one of your menus

Revision history for this message
teixeiras (teixeiras) wrote :

This menu it's made by crossover, if I'm not mistake. So Since this menu is invalid, whenever use crossover will not be able to use this menu.

Revision history for this message
Helder Fraga (whise) wrote :

you should report a bug with python-xdg

xdg.Exceptions.ParsingError: ParsingError in file '/home/teixeira/.config/menus/applications-merged/wine-Programs-Microsoft Office-Ferramentas do Microsoft Office-Diagnósticos do Microsoft Office.menu', Not a valid .menu file

the gnomenu error ocurrs because of the xdg error

affects: gnomenu → pyxdg
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.