报个Bug吧,LD 软件中心2.0的。
Tofloor
poster avatar
jackie2k
deepin
2011-11-30 04:48
Author
硬件: 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'
Reply Favorite View the author
All Replies
stephen
deepin
2011-11-30 04:57
#1
硬件: 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 View the author
jackie2k
deepin
2011-11-30 15:11
#2
按楼上方法,问题解决。多谢!
Reply View the author
s.******[email protected]
deepin
2011-12-01 08:18
#3
谢谢反馈~
Reply View the author