Hi,

I came across tryton when I was looking for an open source ERP written in 
python and decided to try. This is my first attemp so bear with me please.

I installed tryton 2.2.1-1 from ubuntu 12.04 repositories on a virtual 
machine.

I installed tryton-all-modules. I created tryton user and database in 
postgresql database. I initiated the database and  I restarted the server 
several times so the tryton-server is running for sure.

My trytond.conf file is:

#This file is part of Tryton.  The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
[options]

# This is the hostname used when generating tryton URI
hostname = localhost

# Activate the json-rpc protocol
jsonrpc = localhost:8000
#ssl_jsonrpc = False

# Configure the path of json-rpc data
#jsondata_path = /var/www/localhost/tryton

# Activate the xml-rpc protocol
#xmlrpc = *:8069
#ssl_xmlrpc = False

# Activate the webdav protocol
#webdav = *:8080
#ssl_webdav = False

# Configure the database type
# allowed values are postgresql, sqlite, mysql
db_type = postgresql

# Configure the database connection
## Note: Only databases owned by db_user will be displayed in the connection 
dialog
## of the Tryton client. db_user must have create permission for new databases
## to be able to use automatic database creation with the Tryton client.
db_host = localhost
db_port = 5432
db_user = tryton
db_password = trytonpw
#db_minconn = 1
#db_maxconn = 64

# Configure the postgresql path for the executable
#pg_path = None

# Configure the Tryton server password
admin_passwd = adminpw

# Configure the path of the files for the pid and the logs
#pidfile = False
#logfile = False

secure_netrpc = True
secure_xmlrpc = True
secure_jsonrpc = True
secure_webdav = True
privatekey = /etc/ssl/private/server.pem
certificate = /etc/ssl/certs/server.pem

# Configure the SMTP connection
#smtp_server = localhost
#smtp_port = 25
#smtp_ssl = False
#smtp_tls = False
#smtp_password = False
#smtp_user = False

# Configure the path to store attachments and sqlite database
data_path = /var/lib/tryton

# Allow to run more than one instance of trytond
#multi_server = False

# Configure the session timeout (inactivity of the client in sec)
#session_timeout = 600

# Enable psyco module
# Need to have psyco installed http://psyco.sourceforge.net/
#psyco = False

# Enable auto-reload of modules if changed
#auto_reload = True

# Prevent database listing
#prevent_dblist = False

# Enable cron
# cron = True

# unoconv connection
#unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext

# Number of retries on database operational error
# retry = 5



I am unsuccesfully trying to connect from a windows machine (192.168.2.22) 
running tryton client 2.2.1 to the vm in the same network (192.168.2.20). 


My connection settings are:


Host: 192.168.2.20:5432

Database: tytondb

User: admin


I receive the following error:


Application Error!
Error: ''

Traceback (most recent call last):
        File "tryton\gui\window\dblogin.pyc", line 639, in run
        File "tryton\common\common.pyc", line 144, in test_server_version
        File "tryton\rpc.pyc", line 62, in server_version
        File "xmlrpclib.pyc", line 1224, in __call__
        File "tryton\jsonrpc.pyc", line 294, in __request
        File "xmlrpclib.pyc", line 1264, in request
        File "xmlrpclib.pyc", line 1294, in single_request
        File "httplib.pyc", line 1027, in getresponse
        File "httplib.pyc", line 407, in begin
        File "httplib.pyc", line 371, in _read_status
BadStatusLine: ''

Could anybody help me?


Thanks.





-- 
[email protected] mailing list

Reply via email to