I ve installed the source tryton 5.0 manualy on windows 10, but when I launch the server this error message :
file configuration
[database]
# Database related settings
# The URI to connect to the SQL database (following RFC-3986)
# uri = database://username:password@host:port/
# (Internal default: sqlite:// (i.e. a local SQLite database))
#
# PostgreSQL via Unix domain sockets
# (e.g. PostgreSQL database running on the same machine (localhost))
#uri = postgresql://dbsapmanage:sapmanage@/
#
#Default setting for a local postgres database
#uri = postgresql:///
#
# PostgreSQL via TCP/IP
# (e.g. connecting to a PostgreSQL database running on a remote machine or
# by means of md5 authentication. Needs PostgreSQL to be configured to accept
# those connections (pg_hba.conf).)
#uri = postgresql://tryton:tryton@localhost:5432/
uri = postgresql://xxxxxxxxx:xxxxxxxxx@localhost:5434/
# 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 = c:/appli/tryton/05_00/bin
# Shall available databases be listed in the client?
#list = True
# The number of retries of the Tryton Server when there are errors
# in a request to the database
#retry = 5
# The primary language, that is used to store entries in translatable
# fields into the database.
#language = en_US
language = fr_FR
[session]
#super_pwd = jkUbZGvFNeugk
super_pwd = admin
timeout = 259200
[web]
# Path for the web-frontend
listen = *:8000
command :
C:\appli\tryton\05_00>python .\bin\trytond -c ..\conf\trytond-sap-dev.conf -v
C:\appli\tryton\05_00\trytond\__init__.py:15: UserWarning: Timezone must be set to UTC instead of Amér. du Sud occid.
warnings.warn('Timezone must be set to UTC instead of %s' % time.tzname[0])
12260 15144 [2020-02-03 16:16:54,360] INFO trytond.config using ..\conf\trytond-sap-dev.conf as configuration files
Traceback (most recent call last):
File "C:\appli\python36\lib\configparser.py", line 846, in items
d.update(self._sections[section])
KeyError: 'tryton'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".\bin\trytond", line 29, in <module>
Pool.start()
File "C:\appli\tryton\05_00\trytond\pool.py", line 102, in start
register_classes()
File "C:\appli\tryton\05_00\trytond\modules\__init__.py", line 323, in register_classes
for node in create_graph(get_module_list()):
File "C:\appli\tryton\05_00\trytond\modules\__init__.py", line 149, in create_graph
info = get_module_info(module)
File "C:\appli\tryton\05_00\trytond\modules\__init__.py", line 90, in get_module_info
info = dict(module_config.items('tryton'))
File "C:\appli\python36\lib\configparser.py", line 849, in items
raise NoSectionError(section)
configparser.NoSectionError: No section: 'tryton'