2016-08-30 2 views
0

trytond 서버를 시작한 후 브라우저에서 localhost : 8000/index.html을 실행하면 문제가 발생합니다. trytond 서버를 성공적으로 설치했습니다 .I 또한 tryton-sao 웹 클라이언트를 설치했습니다. (npm install 및 grunt를 실행합니다.) 내가 잘못 할 수 있습니까? Trytond.conftryton-sao 웹 클라이언트가 시작되지 않습니다.

# /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 
+0

어떤 trytond 버전과 sao 버전을 사용하고 있습니까? – pokoli

답변

0

은 구성에 따라, 당신은 3.8 시리즈 tryton 실행해야합니다. jsonrpc에서 데이터 구성이 잘못되었습니다. 다음과 같은 형식이어야합니다 :

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