Good morning, Wei

El Sun, 8 Sep 2024 18:11:00 +0000
Wei Zhao <wei.z...@uclouvain.be> escribió:
> Hello all,
> 
> I am trying to run the GNUHealth FHIR server by following the
> instructions given
> here: https://pypi.org/project/gnuhealth-fhir-server/
> 
> When I start it, it terminates with an error:
> 
> "/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.51/trytond/pool.py",
> line 187, in get return self._pool[self.database_name][type][name]
> KeyError: 'gnuhealth.patient'
> 
> Things I have already checked:
> -  I have a working GNUHealth server v4.4.1 in the directory
> "/home/gnuhealth/gnuhealth"
> -  I have set the configuration variable TRYTON_CONFIG to
> "/home/gnuhealth/gnuhealth/tryton/server/conf/trytond.conf" in
> config.py
> -  I have set the configuration variable TRYTON_DATABASE in config.py
> and the environment variable TRYTOND_DATABASE_URI. I think I have set
> them correctly because the FHIR server shows a database error if I
> don't put the right values there.
> 
> Do you know what else I have to do to make it work?
> 
I will take a look.

At first glance it seems like is not finding the DB, or the DB has not
yet been initialized.  gnuhealth.patient is a known model ..

PS: Could you please open an issue in codeberg, so we can all keep
track of it?

Bests
Luis

Reply via email to