[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health] installation problem on unix
From: |
Luis Falcon |
Subject: |
Re: [Health] installation problem on unix |
Date: |
Sun, 20 Aug 2017 18:04:53 +0100 |
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
- [Health] installation problem on unix, Dirk Willems, 2017/08/18
- Re: [Health] installation problem on unix, Dirk Willems, 2017/08/18
- Re: [Health] installation problem on unix, Luis Falcon, 2017/08/18
- Re: [Health] installation problem on unix, Dirk Willems, 2017/08/19
- Re: [Health] installation problem on unix, Luis Falcon, 2017/08/19
- Re: [Health] installation problem on unix, Dirk Willems, 2017/08/20
- Re: [Health] installation problem on unix,
Luis Falcon <=
- Re: [Health] installation problem on unix, Dirk Willems, 2017/08/21
- Re: [Health] installation problem on unix, Luis Falcon, 2017/08/21
- Re: [Health] installation problem on unix, Dirk Willems, 2017/08/22
- Re: [Health] installation problem on unix, Luis Falcon, 2017/08/22
Re: [Health] installation problem on unix, Luis Falcon, 2017/08/18