While installing gnuhealth thalamus server:

5) Initialize the Federation Demo database

$ bash ./populate.sh

the reply is

Importing ....
Unable to connect to the database
Traceback (most recent call last):
  File "/home/rohit/.local/lib/python3.10/site-packages/thalamus/demo/./import_pg.py", line 29, in <module>
    cur = conn.cursor()
NameError: name 'conn' is not defined

1.Postgresql is running and listening
2. writing the above code as user of psql

Please help

This doesn’t come from Tryton. Ask to the authors: https://savannah.gnu.org/bugs/?group=health&func=additem

1 Like