|
From: | Khay Bagus |
Subject: | Re: [Health] upgrade issue |
Date: | Sun, 14 Apr 2013 11:15:22 +0200 |
KhaizerregardsCan find a solutionthe thing now is that I get this error when run the command:I managed to install health_services module using the sudo python setup.py install command in new module downloadednow for the upgrade I am following the tutorial on wikibooksDear Luisyes i first installed gnuhealth using pip
sudo trytond --database=gnuhealth1 --update=all
[Sun Apr 14 06:37:54 2013] INFO:server:using default configuration
[Sun Apr 14 06:37:54 2013] INFO:server:initialising distributed objects services
[Sun Apr 14 06:37:54 2013] INFO:database:connect to "gnuhealth1"
[Sun Apr 14 06:37:54 2013] INFO:modules:ir:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:res:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:webdav:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:currency:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:test:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:product:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:country:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:calendar:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:party:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:company:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:health:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:stock:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:account:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:health_socioeconomics:registering classes
[Sun Apr 14 06:37:54 2013] INFO:modules:health_inpatient:registering classes
/usr/local/lib/python2.7/dist-packages/trytond_health_inpatient-1.8.1-py2.7.egg/trytond/modules/health_inpatient/__init__.py:24: ImportWarning: Not importing directory '/usr/local/lib/python2.7/dist-packages/trytond_health_inpatient-1.8.1-py2.7.egg/trytond/modules/health_inpatient/wizard': missing __init__.py
from wizard import *File "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/trytond/modules/__init__.py", line 347, in register_classes
Traceback (most recent call last):
File "/usr/local/bin/trytond", line 5, in <module>
pkg_resources.run_script('trytond==2.6.3', 'trytond')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/EGG-INFO/scripts/trytond", line 109, in <module>
trytond.server.TrytonServer(options).run()
File "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/trytond/server.py", line 135, in run
Pool(db_name).init(update=update, lang=lang)
File "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/trytond/pool.py", line 123, in init
self.start()
File "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/trytond/pool.py", line 75, in start
register_classes()
mod_file, pathname, description)
File "/usr/local/lib/python2.7/dist-packages/trytond_health_inpatient-1.8.1-py2.7.egg/trytond/modules/health_inpatient/__init__.py", line 24, in <module>
from wizard import *
ImportError: No module named wizardOn Sun, Apr 14, 2013 at 2:06 AM, Luis Falcon <address@hidden> wrote:Dear Khay
It looks like you did the Tryton installation with "pip". Did you
On Sat, Apr 13, 2013 at 8:54 PM, Khay Bagus <address@hidden> wrote:
> thanx for the quick answer. i believe the services module is already
> installed because it was downloaded from the gnuhealth.latest.tar.gz. after
> that i extrated all the modules in trytond modules folder. when i try to
> update the database... then... comes the error in previows email.
>
install GNU Health with "pip" also ?
If so, it probably is looking at the wrong directory.
Best regards
> best
>
> On Apr 14, 2013 1:41 AM, "Luis Falcon" <address@hidden> wrote:
>>
>> Dear Khay
>>
>> On Sat, Apr 13, 2013 at 7:48 PM, Khay Bagus <address@hidden> wrote:
>> > dear all,
>> >
>> > after trying to upgrade to the new 1.8 version get this error
>> >
>> > sudo trytond --database=gnuhealth1 --update=all
>> > [Sat Apr 13 22:42:31 2013] INFO:server:using default configuration
>> > [Sat Apr 13 22:42:31 2013] INFO:server:initialising distributed objects
>> > services
>> > [Sat Apr 13 22:42:31 2013] INFO:database:connect to "gnuhealth1"
>> > Traceback (most recent call last):
>> > File "/usr/local/bin/trytond", line 5, in <module>
>> > pkg_resources.run_script('trytond==2.6.3', 'trytond')
>> > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in
>> > run_script
>> > self.require(requires)[0].run_script(script_name, ns)
>> > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235,
>> > in
>> > run_script
>> > execfile(script_filename, namespace, namespace)
>> > File
>> >
>> > "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/EGG-INFO/scripts/trytond",
>> > line 109, in <module>
>> > trytond.server.TrytonServer(options).run()
>> > File
>> >
>> > "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/trytond/server.py",
>> > line 135, in run
>> > Pool(db_name).init(update=update, lang=lang)
>> > File
>> >
>> > "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/trytond/pool.py",
>> > line 123, in init
>> > self.start()
>> > File
>> >
>> > "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/trytond/pool.py",
>> > line 75, in start
>> > register_classes()
>> > File
>> >
>> > "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/trytond/modules/__init__.py",
>> > line 317, in register_classes
>> > for package in create_graph(get_module_list())[0]:
>> > File
>> >
>> > "/usr/local/lib/python2.7/dist-packages/trytond-2.6.3-py2.7.egg/trytond/modules/__init__.py",
>> > line 155, in create_graph
>> > raise Exception('Module %s not found' % module)
>> > Exception: Module health_services not found
>> >
>> You need to install the health_services module. Please do so and then
>> repeat the upgrade process
>>
>> > as you see I cant even complete the database update process
>> >
>> > HELP!!!! please
>> >
>> > Khaizer
>> >
>> > --
>> > ***********************************************************************
>> >
>> > Dr. Khaizer Bagus
>> > Médico Generalista
>> >
>> > Khaizer Bagus, MD
>> > General Practitioner
>> >
>> > Tete, Matundo
>> >
>> > Email: address@hidden
>> > MSN: address@hidden
>> > Skype name: khaybagus
>> >
>> > ************************************************************************
>>
>>
>>
>> --
>> Luis Falcon
>> President, GNU Solidario
>> http://health.gnu.org
>>
>
--
Luis Falcon
President, GNU Solidario
http://health.gnu.org
--
***********************************************************************
Dr. Khaizer Bagus
Médico Generalista
Khaizer Bagus, MD
General Practitioner
Tete, Matundo
Email: address@hidden
MSN: address@hidden
Skype name: khaybagus
************************************************************************
[Prev in Thread] | Current Thread | [Next in Thread] |