请帮助我解决有关tryton client
。
当我在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
答案 0 :(得分:0)
你被https://bugs.tryton.org/issue4102击中了最新版本的解决方案你有三个解决方案:
cd /usr/shar/pixmaps/ ln -s /root/tryton-3.4.3/share/pixmaps/tryton