trytonsao web客户端没有

2024-04-27 18:06:52 发布

您现在位置:Python中文网/ 问答频道 /正文

我遇到了一个问题,我运行时找不到页面本地主机:8000/index.html在启动trytond服务器后在浏览器中。我已经成功地安装了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

Tags: thetopath服务器localhostdefaultfordata
1条回答
网友
1楼 · 发布于 2024-04-27 18:06:52

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

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

相关问题 更多 >