ipsi
September 26th, 2010, 06:29 AM
In trying to fix issues I have been having with my display, I seem to have inadvertently removed all applications from my menu, which is rather annoying. I'm not sure how. I've attached a couple of screenshots to display this.
When trying to access the 'Main Menu' option from the Gnome Control Center, I get the following error in the command line:
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/pymodules/python2.6/Alacarte/MainWindow.py", line 48, in __init__
self.editor = MenuEditor()
File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 36, in __init__
self.__loadMenus()
File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 48, in __loadMenus
self.applications.dom = xml.dom.minidom.parse(self.applications.path)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 1
Anyone have any idea what I've done, and how I can fix it?
When trying to access the 'Main Menu' option from the Gnome Control Center, I get the following error in the command line:
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/pymodules/python2.6/Alacarte/MainWindow.py", line 48, in __init__
self.editor = MenuEditor()
File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 36, in __init__
self.__loadMenus()
File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 48, in __loadMenus
self.applications.dom = xml.dom.minidom.parse(self.applications.path)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 1
Anyone have any idea what I've done, and how I can fix it?