URL: <https://savannah.gnu.org/bugs/?63725>
Summary: Initialize the thalamus demo database folder Project: GNU Health Submitter: rohyt Submitted: Sun 29 Jan 2023 12:51:47 PM UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Release: None Discussion Lock: Any Module: Thalamus Component: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sun 29 Jan 2023 12:51:47 PM UTC By: Rohit Gupta <rohyt> $ 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 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63725> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/