請幫我解決關於運行tryton client
的這個問題。在ubuntu中運行tryton客戶端
還有就是我的錯誤的堆棧跟蹤當我運行tryton client
在ubuntu
:
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
Traceback (most recent call last):
File "/usr/local/bin/tryton", line 45, in <module>
from tryton import client
File "/usr/local/lib/python2.7/dist-packages/tryton/client.py", line 24, in <module>
import tryton.common as common
File "/usr/local/lib/python2.7/dist-packages/tryton/common/__init__.py", line 3, in <module>
from common import *
File "/usr/local/lib/python2.7/dist-packages/tryton/common/common.py", line 16, in <module>
from tryton.config import CONFIG
File "/usr/local/lib/python2.7/dist-packages/tryton/config.py", line 188, in <module>
os.path.join(PIXMAPS_DIR, 'tryton-icon.png').encode('utf-8'))
glib.GError: Failed to open file '/usr/share/pixmaps/tryton/tryton-icon.png': No such file or directory
您在哪裏擁有該文件? tryton-的icon.png。運行'locate tryton-icon.png' – lapinkoira
感謝您的迴應,tryton-icon.png位於以下路徑:root/tryton-3.4.3/share/pixmaps/tryton。請提前感謝您的幫助 –