hi I have same problem here, after I messed up menu, I tried use alacarte to 
restore default menu and meet the following error:
/usr/lib/python2.5/site-packages/apt/progress.py: inconsistent use of tabs and 
spaces in indentation
Traceback (most recent call last):
  File "/usr/bin/alacarte", line 36, in <module>
    main()
  File "/usr/bin/alacarte", line 32, in main
    app = MainWindow(datadir, version, sys.argv)
  File "/usr/lib/python2.5/site-packages/Alacarte/MainWindow.py", line 49, in 
__init__
    self.editor = MenuEditor()
  File "/usr/lib/python2.5/site-packages/Alacarte/MenuEditor.py", line 36, in 
__init__
    self.__loadMenus()
  File "/usr/lib/python2.5/site-packages/Alacarte/MenuEditor.py", line 44, in 
__loadMenus
    self.applications.dom = 
xml.dom.minidom.parseString(util.getUserMenuXml(self.applications.tree))
  File "/usr/lib/python2.5/site-packages/Alacarte/util.py", line 197, in 
getUserMenuXml
    name = tree.root.get_menu_id()
AttributeError: 'NoneType' object has no attribute 'get_menu_id'

-- 
alacarte crashed with AttributeError in getUserMenuXml()
https://bugs.launchpad.net/bugs/182586
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to