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