tryton-sao网站客户端无法启动

时间:2016-08-30 15:08:01

标签: python tryton

我有一个问题,我在启动trytond服务器后在浏览器中运行localhost:8000 / index.html时找不到页面。我已经成功安装了trytond服务器。我还安装了tryton-sao web客户端。 (运行npm install和grunt)。我可能做错了什么?

Trytond.conf

# /etc/tryton/trytond.conf - Configuration file for Tryton Server    (trytond)

# This file contains the most common settings for trytond (Defaults
# are commented).
# For more information read 
# /usr/share/doc/packages/trytond

[database]
# Database related settings

# The URI to connect to the SQL database (following RFC-3986)
uri =  sqlite://
# (Internal default: sqlite:// (i.e. a local SQLite database))


# The path to the directory where the Tryton Server stores files.
# The server must have write permissions to this directory.
# (Internal default: /var/lib/trytond)


path = /var/lib/trytond

[jsonrpc]
# Settings for the JSON-RPC network interface

# The IP/host and port number of the interface
# (Internal default: localhost:8000)

# Listen on all interfaces (IPv4)


jsonpath_data = /var/tryton-sao-5b6089a3ffa3

listen = localhost:8000


# Listen on all interfaces (IPv4 and IPv6)
listen = localhost:8000

# The hostname for this interface
hostname = localhost

# The root path to retrieve data for GET requests
data = jsondata

timeout = 7000

1 个答案:

答案 0 :(得分:0)

根据您的配置,您必须运行tryton 3.8系列。 您在jsonrpc下的数据配置似乎是错误的。它应该是这样的:

[jsonrpc]
listen = localhost:8000
data = /var/tryton-sao-5b6089a3ffa3