stephen
2011-11-30 04:57 deepin
硬件: X61
系统:Ubuntu 11.10
安装 deepin-software-center_2.0~beta1.1-2_all.deb 后无法运行,系统报错。信息如下:
Traceback (most recent call last):
File "./deepin-software-center.py", line 1458, in
DeepinSoftwareCenter().main()
File "./deepin-software-center.py", line 110, in __init__
self.moreWindow = moreWindow.MoreWindow(self.window, self.message)
File "/usr/share/deepin-software-center/src/moreWindow.py", line 52, in __init__
self.newFeatureWindow = NewFeature(widget)
File "/usr/share/deepin-software-center/src/moreWindow.py", line 202, in __init__
self.textView.get_buffer().set_text(readFile("../news/%s.txt" % (getDefaultLanguage())))
File "/usr/share/deepin-software-center/src/utils.py", line 115, in readFile
rFile = open(filepath, "r")
IOError: [Errno 2] No such file or directory: '../news/default.txt'
这是打包时的失误。临时的解决方法就是自己建一个空的default.txt放在那里。
Reply Like 0 View the author
系统:Ubuntu 11.10
安装 deepin-software-center_2.0~beta1.1-2_all.deb 后无法运行,系统报错。信息如下:
Traceback (most recent call last):
File "./deepin-software-center.py", line 1458, in
DeepinSoftwareCenter().main()
File "./deepin-software-center.py", line 110, in __init__
self.moreWindow = moreWindow.MoreWindow(self.window, self.message)
File "/usr/share/deepin-software-center/src/moreWindow.py", line 52, in __init__
self.newFeatureWindow = NewFeature(widget)
File "/usr/share/deepin-software-center/src/moreWindow.py", line 202, in __init__
self.textView.get_buffer().set_text(readFile("../news/%s.txt" % (getDefaultLanguage())))
File "/usr/share/deepin-software-center/src/utils.py", line 115, in readFile
rFile = open(filepath, "r")
IOError: [Errno 2] No such file or directory: '../news/default.txt'