hi! i’m checking out tryton 7 for the first time in my windows 11 machine.
i have installed trytond into my venv, with the following config file, the server is listening on localhost port 7779
full conf file below:
[database]
uri = sqlite://
path = C:\Users\evan\db
[web]
listen = 0.0.0.0:7779
when i ran
python C:\tryton7\venv\Scripts\trytond-admin -c C:\tryton7\trytond.conf -d test --all
it seemed to have ran successfully, after i gave the admin password.
the following tables were created in test.sqlite
ir_cache
ir_configuration
ir_lang
ir_model
ir_model_field
ir_module
ir_module_dependency
ir_translation
ir_ui_menu
ir_ui_view
res_group
res_user
res_user-res-group
sqlite-sequence
when i ran the windows desktop client (installed on same machine as the server trytond), i get the following error:
Traceback (most recent call last):
File "C:/msys64/home/ced/tryton-7.0-64/tryton/tryton/gui/main.py", line 256, in do_activate
File "C:/msys64/home/ced/tryton-7.0-64/tryton/tryton/common/common.py", line 1032, in get_credentials
File "C:/msys64/home/ced/tryton-7.0-64/tryton/tryton/common/common.py", line 1089, in __init__
File "C:/msys64/home/ced/tryton-7.0-64/tryton/tryton/rpc.py", line 122, in login
File "C:/msys64/mingw64/lib/python3.11/xmlrpc/client.py", line 1122, in __call__
File "C:/msys64/home/ced/tryton-7.0-64/tryton/tryton/jsonrpc.py", line 304, in __request
tryton.jsonrpc.Fault: 'ir.configuration'
Fault: 'ir.configuration'
i was running in the desktop client with the following info
profile name: mydemo
host: localhost:7779
database: test
user name: admin
here is the output in the terminal where i’m running the server:
(venv) C:\tryton7>python C:\tryton7\venv\Scripts\trytond -c C:\tryton7\trytond.conf
C:\tryton7\venv\Lib\site-packages\trytond\__init__.py:27: UserWarning: Timezone must be set to UTC instead of Taipei Standard Time
warnings.warn('Timezone must be set to UTC instead of %s' % time.tzname[0])
8852 6332 [2024-04-17 16:50:56,017] INFO werkzeug WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:7779
* Running on deleted
8852 6332 [2024-04-17 16:50:56,017] INFO werkzeug Press CTRL+C to quit
8852 14568 [2024-04-17 16:52:40,202] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:52:40] "POST / HTTP/1.1" 200 -
8852 8692 [2024-04-17 16:52:50,735] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:52:50] "POST / HTTP/1.1" 200 -
8852 11452 [2024-04-17 16:52:56,688] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:52:56] "POST /test/ HTTP/1.1" 200 -
8852 8992 [2024-04-17 16:54:28,785] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:54:28] "POST / HTTP/1.1" 200 -
8852 11200 [2024-04-17 16:54:55,527] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:54:55] "POST / HTTP/1.1" 200 -
8852 10756 [2024-04-17 16:55:01,534] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:55:01] "POST /test/ HTTP/1.1" 200 -
8852 10912 [2024-04-17 16:55:17,504] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:55:17] "POST / HTTP/1.1" 200 -
8852 14220 [2024-04-17 16:56:05,658] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:56:05] "POST / HTTP/1.1" 200 -
8852 8708 [2024-04-17 16:56:07,963] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:56:07] "POST / HTTP/1.1" 200 -
8852 13840 [2024-04-17 16:56:25,227] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:56:25] "POST / HTTP/1.1" 200 -
8852 14784 [2024-04-17 16:56:32,368] INFO werkzeug 127.0.0.1 - - [17/Apr/2024 16:56:32] "POST /test/ HTTP/1.1" 200 -
the single row in res_user table has the following values:
id = 0
name = Root
active = 0
login = root
password = NULL
so is this where an admin user is supposed to have been saved?
also. the ir_configuration table is empty
any idea how to fix the problem?
thank you for any help!!