|
From: | euan livingstone |
Subject: | Re: [Health] Various problems.... |
Date: | Tue, 12 Jul 2016 15:55:01 +0100 |
Hi,
In relation to issue 2: I have managed to get past this error. I had to edit the run_server.py file, changing the lines 'from server import create_app, from server.config import ProductionConfig' to 'from app import create_app, from config import ProductionConfig'. I also had to edit a line in the app.py file from 'from server.common import .........' to 'from common import .........'. This has got me past this error but is now presenting me with a new error, now when I run the run_server.py file it says: IOError: Database "gnuhealth_demo_test.sqlite" doesn't exist! Can anyone offer me any clues as to what might be wrong? Cheers, Euan. From: address@hidden To: address@hidden Date: Tue, 5 Jul 2016 12:42:28 +0100 Subject: [Health] Various problems.... I have some virtual machines running to test the application and have been trying to get a couple of different things setup but not getting anywhere fast: 1) synchronisation of satalite installation to a central database: I wish to have a number of small GNU Health installation that can be synced to a central GNU Health server. I noticed that there is a guide to synchronisation (https://en.wikibooks.org/wiki/GNU_Health/Synchronization_Guide) but it stops at GNU Health 2.8 and I am running GNU Health 3.0. I read that the version 3.2 will offer a new solution (http://savannah.gnu.org/forum/forum.php?forum_id=8524) but does that mean that there is currently no way of synchronising version 3.0? 2)While looking at the synchronisation stuff I read about the FHIR REST server (http://savannah.gnu.org/forum/forum.php?forum_id=8524) and it seems that this will become an important part of GNU Health in the future. I found the guide on installing the FHIR REST server (https://en.wikibooks.org/wiki/GNU_Health/FHIR_REST_server) but when I try to follow it fails, when I run the command 'python run_server.py' I get the import error: Traceback (most recent call): File "run_server.py", line 7, in <module> from server import create_app ImportError: No module named server Has anyone had this error before and able to shed some light on how to fix it? |
[Prev in Thread] | Current Thread | [Next in Thread] |