0

请帮助我解决有关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
4

1 回答 1

0

您已被最新版本解决的https://bugs.tryton.org/issue4102击中您有三个解决方案:

  1. (简单):创建从 /usr/share/pixmaps/tryton 到 root/tryton-3.4.3/share/pixmaps/tryton 的 simlink,以便正确读取图标。打开终端并执行:
cd /usr/shar/pixmaps/ 
ln -s /root/tryton-3.4.3/share/pixmaps/tryton
  1. (简单的)。使用来自https://launchpad.net/~rayanayar/+archive/ubuntu/tryton-3.6的最新稳定版(3.6)系列(服务器也必须更新)
  2. (先进的)。下载链接问题中的补丁并将其手动应用到您的 tryton 客户端
于 2015-05-06T06:01:27.047 回答