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: Christoph H. Larsen
Subject: Re: [Health] Health Digest, Vol 21, Issue 23
Date: Mon, 29 Apr 2013 22:20:33 -0400
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1

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


--
Dr Christoph H. Larsen
synaLinQ
Apt. 171, C.cu CT4A, KDT Vinh Diem Trung, Xa Vinh Hiep
Nha Trang, Khanh Hoa, Vietnam
Mobile: +84-98-9607357 (Vietnam)
        +66-8-97434379 (Thailand)
        +254-755-706325 (Kenya)
        +256-757-098502 (Uganda)
Fax:    +49-231-292734790
E-mail: address@hidden
Skype:  christoph.larsen

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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