health
[Top][All Lists]
Advanced

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

Re: [Health] installation problem on unix


From: Dirk Willems
Subject: Re: [Health] installation problem on unix
Date: Mon, 21 Aug 2017 15:07:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Hello Luis,


check the file but it seems we missing some characters ???


address@hidden:/export/home/gnuhealth $ cdmods
address@hidden:/export/home/gnuhealth/gnuhealth/tryton/server/modules $ cd health_pediatrics_growth_charts_who/wizard/
address@hidden:/export/home/gnuhealth/gnuhealth/tryton/server/modules/health_pediatrics_growth_charts_who/wizard $ ls
PaxHeaders.6495  __init__.py  __pycache__  health_pediatrics_growth_charts_who_wizar  wizard_health_pediatrics_growth_charts_wh


Kind Regards,


Dirk


On 20-08-17 19:04, Luis Falcon wrote:
Hi Dirk !

On Sun, 20 Aug 2017 00:23:21 +0200
Dirk Willems <address@hidden> wrote:

Hello Luis,


Thanks,

The package coreutils did the job ;)
Excellent ! :)

2017-08-19 21:25:58 [INFO] Installation of GNU Health version 3.2.1
successful !
Cool !


however I had to modify the gnuhealth-setup script

get_url() {
     # $1 : Module name
     # return : URL to download
     echo ${TRYTON_BASE_URL}/${TRYTON_VERSION}/$(wget --quiet -O-
${TRYTON_BASE_URL}/${TRYTON_VERSION} | gegrep -o
"${1}-${TRYTON_VERSION}.[0-9\.]+.tar.gz" | gsort -V | tail -1)
}


Yeah, we can modify the upcoming gnuhealth-setup program so it checks
for OmniOSCE (and other *NIX variants) and the gsort command.

In the meantime, we can document it.

then I tried to start the server ...

address@hidden:/export/home/gnuhealth/gnuhealth/tryton/server/trytond-4.2.6/bin
$ ./trytond --verbose
23339 1 [2017-08-19 21:35:56,182] INFO trytond.config using
/export/home/gnuhealth//gnuhealth/tryton/server/config/trytond.conf
as configuration files
[...]
"/export/home/gnuhealth/gnuhealth/tryton/server/trytond-4.2.6/trytond/modules/health_pediatrics_growth_charts_who/wizard/__init__.py",
line 22, in <module>
     from .wizard_health_pediatrics_growth_charts_who import *
ModuleNotFoundError: No module named
'trytond.modules.health_pediatrics_growth_charts_who.wizard.wizard_health_pediatrics_growth_charts_who'

Any suggestion ?

Hmm, strange.

Check that you have the module
wizard_health_pediatrics_growth_charts_who.py

$ cdmods
$ cd health_pediatrics_growth_charts_who/wizard
$ ls wizard_health_pediatrics_growth_charts_who.py

If you have not done anything, the module should be there, as it's part
of the distribution.

Just a guess, there might be some restrictions on the object name
imposed by the OS / architecture. Interesting enough, the
absolute module length is 101 ... ( just 1 over 100 ;-) ).

If that is the case, it would have an easy way around.

Bests
Luis


--
Dirk Willems
System Engineer


+32 (0)3 443 12 38
address@hidden

Quality. Passion. Personality

www.exitas.be | Veldkant 31 | 2550 Kontich

Illumos OmniOS Installation and Configuration Implementation Specialist.
Oracle Solaris 11 Installation and Configuration Certified Implementation Specialist.

reply via email to

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