health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] gnuhealth 2.8 fails to init database


From: Bruno M. Villasanti
Subject: Re: [Health-dev] gnuhealth 2.8 fails to init database
Date: Mon, 26 Jan 2015 11:09:57 -0300

Hi Alex,

2015-01-26 9:55 GMT-03:00 Axel Braun <address@hidden>:
Hi Luis,

when initializing an empty database with gnuhealth 28rc2 installed I run into the error:
[Mon Jan 26 12:45:27 2015] INFO:modules:health_genetics:registering classes
[Mon Jan 26 12:45:27 2015] INFO:modules:health_imaging:registering classes
[Mon Jan 26 12:45:27 2015] INFO:modules:health_surgery:registering classes
[Mon Jan 26 12:45:27 2015] INFO:modules:health_who_essential_medicines:registering classes
[Mon Jan 26 12:45:27 2015] INFO:modules:health_iss:registering classes
[Mon Jan 26 12:45:27 2015] INFO:modules:health_reporting:registering classes
/usr/lib/python2.7/site-packages/trytond/modules/health_reporting/__init__.py:24: ImportWarning: Not importing directory '/usr/lib/python2.7/site-packages/trytond/modules/health_reporting/report': missing __init__.py
  from report import *
Traceback (most recent call last):
  File "/usr/bin/trytond", line 80, in <module>
    trytond.server.TrytonServer(options).run()
  File "/usr/lib/python2.7/site-packages/trytond/server.py", line 98, in run
    Pool(db_name).init(update=self.options.update, lang=lang)
  File "/usr/lib/python2.7/site-packages/trytond/pool.py", line 140, in init
    self.start()
  File "/usr/lib/python2.7/site-packages/trytond/pool.py", line 92, in start
    register_classes()
  File "/usr/lib/python2.7/site-packages/trytond/modules/__init__.py", line 351, in register_classes
    mod_file, pathname, description)
  File "/usr/lib/python2.7/site-packages/trytond/modules/health_reporting/__init__.py", line 24, in <module>
    from report import *
ImportError: No module named report

​​
Is this related to health_reporting/setup.py ?

​Yes, it's an issue related to "setup.py"​.

Has already been solved in [1].
​​

Thx
Axel



​Regards.​

--

--
Bruno M. Villasanti
thymbr@

reply via email to

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