应用程序点不开了!help

为当前最终发行版之前的所有版本提供支持
回复
zymaxs
帖子: 89
注册时间: 2008-08-26 17:10
送出感谢: 0
接收感谢: 0
联系:

应用程序点不开了!help

#1

帖子 zymaxs » 2008-10-28 14:02

http://paste.ubuntu.org.cn/10227
左上角的应用程序点不看了,但位置和系统菜单还能点开
运行alacarte想修正结果。。。。。。。
之前用alacarte做了编辑菜单操作但点了几下没有响应好像卡住了,然后强制关掉,结果就这样了~呜咕
#
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
zymaxs
帖子: 89
注册时间: 2008-08-26 17:10
送出感谢: 0
接收感谢: 0
联系:

Re: 应用程序点不开了!help

#2

帖子 zymaxs » 2008-10-28 14:26

晕,applications.menu 写坏掉了~恢复一下就好了
cd /home/your_user_name/.config/menus
mv ./applications.menu applications.menu.bak

我无语 :em20
回复

回到 “老旧版本支持”