health
[Top][All Lists]
Advanced

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

Re: [Health] Health Digest, Vol 21, Issue 23


From: Amidu Sila
Subject: Re: [Health] Health Digest, Vol 21, Issue 23
Date: Thu, 02 May 2013 13:03:01 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

Will try again and leave the results here.
Many thanks dr. Larsen and GNUHealth community
Amidu

On 5/2/13 11:29 AM, Christoph H. Larsen wrote:
Dear Amidu,
When you look down the instructions I sent you which we should probably digest and publish on the Wiki (Luis?), there is a very important step oyu must
do, or things will fail: Get the versions right :-).
Tryton's latest version is 2.8.something. With pip install trytond this is what you will get.
GNU Health always experiences a little lapse, till it catches up with Tryton's latest baby, so make sure you get this right. The easiest way is not ot install trytond first, but to go for pip install tryton_health in the first place, and let take GNU Hwalth take care of the required versions. In short, scroll down to the GNU Health instance specific instruction inside virtualenv in my instructions.
If you did do this, please let me know the errors you got.
Thanks!
Chris


Amidu Sila wrote:
It didn't work. So the temporary solution I found was uninstalling the
module. After that I have the system working fine.
By the way, if one find the solution I will appreciate if could share
with me.
Many thanks
Amidu

On 4/30/13 02:20 AM, Christoph H. Larsen wrote:
You are right, Amidu:
There is a minor bug in GNU Health that forgets a couple of possible
dependencies, namely qrcode and cdecimal (the latter is entirely
optional, a drop-in rplacement for the standard decimal module, and
speeds up your number crunching... good for accounting!).
How did you install GNU Health?
If you used pip, just do:

pip install qrcode
pip install cdecimal

Restart trytond and you are sorted.
Cheers!
Chris

address@hidden wrote:
Send Health mailing list submissions to
address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/health
or, via email, send a message with subject or body 'help' to
address@hidden

You can reach the person managing the list at
address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Health digest..."


Today's Topics:

    1. No module named qrcode (Amidu Sila)
    2. Re: No module named qrcode (Amidu Sila)


----------------------------------------------------------------------

Message: 1
Date: Tue, 30 Apr 2013 01:48:06 +0000
From: Amidu Sila <address@hidden>
To: General discussion and help <address@hidden>
Subject: [Health] No module named qrcode
Message-ID: <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Gentlemen,
After  installing a Gnu Health in a new server, during the creation of
the database I got the following message:

Error creating database!

Can't create the database, caused by an unknown reason.

If there is a database created, it could be broken. Maybe drop this
database! Please check the error message for possible informations.

Error message:

No module named qrcode

For your information I did the installation of the following modules
successfully, after the /tryton_health_profile/ /one/ :

trytond_health_services,trytond_health_reporting,trytond_health_history,
trytond_health_nursing,trytond_health_stock,trytond_health_icu,trytond_health_mdg6,trytond_health_qrcodes,

trytond_health_icd10pcs and  trytond_health_inpatient_calendar

Please can you help me to overcome the situation?
Thank you all in advance
Amidu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.gnu.org/archive/html/health/attachments/20130430/fff662ea/attachment.html>

------------------------------

Message: 2
Date: Tue, 30 Apr 2013 01:52:43 +0000
From: Amidu Sila <address@hidden>
To: General discussion and help <address@hidden>
Subject: Re: [Health] No module named qrcode
Message-ID: <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

May be this log message can help understanding the issue:

[Tue Apr 30 00:25:53 2013] INFO:database:connect to "template1"
[Tue Apr 30 00:26:37 2013] INFO:database:connect to "HPBOR"
[Tue Apr 30 00:26:37 2013] INFO:database:connect to "HPBOR"
[Tue Apr 30 00:26:39 2013] INFO:modules:ir:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:res:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:webdav:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:currency:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:test:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:product:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:country:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:calendar:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:party:registering classes
[Tue Apr 30 00:26:39 2013] WARNING:party:Unable to import vatnumber. VAT
number validation disabled.
[Tue Apr 30 00:26:39 2013] INFO:modules:company:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:stock:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:account:registering classes
[Tue Apr 30 00:26:39 2013]
INFO:modules:health_socioeconomics:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_reporting:registering
classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_inpatient:registering
classes
[Tue Apr 30 00:26:39 2013] INFO:modules:account_product:registering
classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_lab:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_gyneco:registering
classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_icd10pcs:registering
classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_pediatrics:registering
classes
[Tue Apr 30 00:26:39 2013] INFO:modules:stock_lot:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_lifestyle:registering
classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_genetics:registering
classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_surgery:registering
classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_icd10:registering classes
[Tue Apr 30 00:26:39 2013] INFO:modules:health_qrcodes:registering
classes
[Tue Apr 30 00:26:39 2013] ERROR:database:CREATE DB: HPBOR failed
[Tue Apr 30 00:26:39 2013] ERROR:database:Exception in call:
Traceback (most recent call last):
    File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/protocols/dispatcher.py",

line 227, in create
      pool.init(update=True, lang=[lang])
    File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/pool.py",
line 123, in init
      self.start()
    File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/pool.py",
line 75, in start
      register_classes()
    File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/modules/__init__.py",

line 347, in register_classes
      mod_file, pathname, description)
    File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/modules/health_qrcodes/__init__.py",

line 23, in <module>
      from .health_qrcodes import *
    File
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/modules/health_qrcodes/health_qrcodes.py",

line 21, in <module>
      import qrcode
ImportError: No module named qrcode

Thanks
Amidu


On 4/30/13 01:48 AM, Amidu Sila wrote:
Gentlemen,
After  installing a Gnu Health in a new server, during the creation of
the database I got the following message:

Error creating database!

Can't create the database, caused by an unknown reason.

If there is a database created, it could be broken. Maybe drop this
database! Please check the error message for possible informations.

Error message:

No module named qrcode

For your information I did the installation of the following modules
successfully, after the /tryton_health_profile/ /one/ :
trytond_health_services,trytond_health_reporting,trytond_health_history,
trytond_health_nursing,trytond_health_stock,trytond_health_icu,trytond_health_mdg6,trytond_health_qrcodes,

trytond_health_icd10pcs and  trytond_health_inpatient_calendar
Please can you help me to overcome the situation?
Thank you all in advance
Amidu



--


--

reply via email to

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