health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] Development snapshot for upcoming 3.6 series [Was:Re: H


From: Cornelius Lee
Subject: Re: [Health-dev] Development snapshot for upcoming 3.6 series [Was:Re: Health-dev Digest, Vol 97, Issue 3]
Date: Tue, 17 Sep 2019 02:10:00 +0000

Hi Luis,

I am not sure if you have received my emails dated on 09/09/2019.

May I know where I could find the Federation Resource Locator, please?

Also,. I am still unable to connect to the health DB. Any advice on this?


Thank you.

Kind Regards,
Cornelius

From: Luis Falcon <address@hidden>
Sent: Wednesday, September 11, 2019 7:01 PM
To: Cornelius Lee <address@hidden>
Cc: address@hidden <address@hidden>
Subject: Re: Development snapshot for upcoming 3.6 series [Was:Re: [Health-dev] Health-dev Digest, Vol 97, Issue 3]
 
Hi Cornelius
On Wed, 11 Sep 2019 09:10:20 +0000
Cornelius Lee <address@hidden> wrote:

> Hi Luis,
>
> I have tried to uninstall any traces of tryton but encountered the
> following error: Cannot uninstall requirement tryton, not installed
>
> Upon closer inspection, I notice the following:
> pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
>
> This would mean that pip is not installing the packages in the right
> location, ie. ~/.local/lib/python3.6/site-packages
>

When you provide the argument --user to pip3 it will install it under
the user's .local dir.

> However, I might be wrong on this(I suspect this might/might not have
> played an important role) but the following was what I did to get it
> up and running.
>
>   1.  Appended to the line below:
> vim  .gnuhealthrc

The GNU Health RC file (.gnuhealthrc) is for the server environment,
but of course it will work if you also have the client on it.


> #Add PYTHONPATH environment variable
> export
> PYTHONPATH=${GNUHEALTH_DIR}/tryton/server/${TRYTOND}:${GNUHEALTH_DIR}/tryton/server/config:{GNUHEALTH_DIR}/.local/lib/python3.6/site-packages
> 2.  cd
> home/gnuhealth/gnuhealth_35_daily_sept7_2019/gnuhealth-client-35 3.
> sudo python setup.py build 4.  sudo python setup.py install 5.  See
> attached for the logs(build_logs.txt & install_logs.txt) 6.  cd
> /home/gnuhealth/gnuhealth_35_daily_sept7_2019/gnuhealth-client-35/bin
> 7.  python3 gnuhealth-client (it works!)
>
> End of (bumpy)update: Gnuhealth-Client(snapshot_20190907).

Great ! Actually, when using the tarball, there is no need to run
setup.py.

You should be able to run the client directly from the
gnuhealth-client/bin dir.

> However, I have noticed 2 problems:
>
>
>   1.   After creating tables with the included sql script and
> populating the 'federation' DB with bash scripts, nothing appears
> after activating the 'health_federation' module on Gnuhealth 3.5
> Client.
>

The health_federation module allows you to configure the GH HMIS node
to be able to communicate to Thalamus and the Federation.

It also enables the Federation Queue.

Once you install the module, set up the connectivity params on the
Configuration menu.

If you want to bring information from the GNU Health Information
System into your local GH HMIS instance, you need the Federation
Resource Locator (FRL) plugin for the gnuhealth client. It currently
manages the "people" resource.

You might want to take a look a these docs :

https://en.wikibooks.org/wiki/GNU_Health/GNU_Health_Federation

https://en.wikibooks.org/wiki/GNU_Health/Federation_Technical_Guide

> 2. I am unable to log into the health DB via the gnuhealth 3.5 client
> even with the correct password. I seem to be stuck at the password
> page. Any ideas about this?
>

To which database are you trying to connect ?
Did you initialize a new 3.5 local instance   ?

> Please advise me if I am on the right track or am I missing something
> out?
> Thank you.

Thanks again for the feedback !

Bests
Luis

reply via email to

[Prev in Thread] Current Thread [Next in Thread]