peaceman
2012-04-04 18:48 deepin
现在是在桌面放一个脚本,内容为python /home/linuxmint/Software/deepin-software-center/src/main,运行没有反映,
直接在终端运行,出现错误
linuxmint@XXX-PC ~ $ python /home/linuxmint/Software/deepin-software-center/src/main
Traceback (most recent call last):
File "/home/linuxmint/Software/deepin-software-center/src/main", line 23, in
from lang import __, getDefaultLanguage
File "/home/linuxmint/Software/deepin-software-center/src/lang.py", line 38, in
__ = gettext.translation('deepin-software-center', '../locale', languages=[lang]).gettext
File "/usr/lib/python2.7/gettext.py", line 484, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'deepin-software-center'
linuxmint@XXX-PC ~ $
但是我先进入src,再在终端运行python main是没有问题的。
直接在终端运行,出现错误
linuxmint@XXX-PC ~ $ python /home/linuxmint/Software/deepin-software-center/src/main
Traceback (most recent call last):
File "/home/linuxmint/Software/deepin-software-center/src/main", line 23, in
from lang import __, getDefaultLanguage
File "/home/linuxmint/Software/deepin-software-center/src/lang.py", line 38, in
__ = gettext.translation('deepin-software-center', '../locale', languages=[lang]).gettext
File "/usr/lib/python2.7/gettext.py", line 484, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'deepin-software-center'
linuxmint@XXX-PC ~ $
但是我先进入src,再在终端运行python main是没有问题的。
Reply Like 0 View the author