[已解决][问题]程序菜单出错误,急待解答

系统安装、升级讨论
回复
jacksl
帖子: 7
注册时间: 2007-07-01 13:51
送出感谢: 0
接收感谢: 0

[已解决][问题]程序菜单出错误,急待解答

#1

帖子 jacksl » 2008-06-22 19:46

刚刚在更改菜单项目时不知道出了什么问题没有更改成功,结果再更改就改不了了,郁闷啊。
具体表现为菜单栏的“应用程序”这一项是空的,什么也没有,只有“位置”和“系统”两个可以打开。郁闷啊
从命令行启动“alacarte”这个程序结果出错,具体为
jacksl@jacksl-laptop:~$ alacarte
/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 46, in __loadMenus
self.applications.dom = xml.dom.minidom.parse(self.applications.path)
File "/usr/lib/python2.5/xml/dom/minidom.py", line 1915, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 211, in parseFile
parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0

不知道哪个高手能否告知怎么解决啊,谢谢了
上次由 jacksl 在 2008-06-22 20:15,总共编辑 1 次。
freezee
帖子: 15
注册时间: 2007-10-21 16:49
来自: 天津
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 freezee » 2008-06-22 19:57

jacksl
帖子: 7
注册时间: 2007-07-01 13:51
送出感谢: 0
接收感谢: 0

#3

帖子 jacksl » 2008-06-22 20:14

楼上的解答正确,呵呵,这么棘手的问题居然解决了
多谢:)
回复

回到 “系统安装和升级”