health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] 3.6RC1 - some testing results


From: Luis Falcon
Subject: Re: [Health-dev] 3.6RC1 - some testing results
Date: Fri, 25 Oct 2019 15:26:21 +0100

Hi Axel !

On Thu, 24 Oct 2019 16:51:12 +0200
Axel Braun <address@hidden> wrote:

> Hi,
> as suggested by Luis, I share my testing results of GNU Health
> 3.6RC1+ (with some later patches applied).
> 
> First, during build (missing files resp. translations):
> 
> [  167s] gnuhealth.noarch: W: zero-length
> /usr/lib/python3.6/site-packages/trytond/
> modules/health_ems/doc/index.rst [  167s] gnuhealth.noarch: W:
> zero-length /usr/lib/python3.6/site-packages/trytond/
[...]

You can safely ignore this warning, due to empty po files on the
package.

I have removed them anyways and the new strings will be generated for
the upcoming 3.6 from the new pot file.

> /usr/lib/python3.6/site-packages/trytond/
> modules/health_services_lab/locale/zh_CN.po and in general: [  167s]
> gnuhealth.noarch: E: env-script-interpreter (Badness: 9)
> /usr/share/doc/packages/ gnuhealth/demo/install_demo_database.sh
> /usr/bin/env bash

>[  167s] gnuhealth.noarch: E: env-script-interpreter (Badness: 9)
>/usr/share/doc/packages/ gnuhealth/demo/install_demo_database.sh
>/usr/bin/env bash [  167s] This script uses 'env' as an interpreter.
>For the rpm runtime dependency [  167s] detection to work, the shebang
>#!/usr/bin/env python  needs to be patched into [  167s]
>#!/usr/bin/python  otherwise the package dependency generator merely
>adds a [  167s] dependency on /usr/bin/env rather than the actual
>interpreter /usr/bin/python. [  167s] Alternatively, if the file should
>not be executed, then ensure that it is not [  167s] marked as
>executable or don't install it in a path that is reserved for [  167s]
>executables.

install_demo_database.sh invokes the BASH interpreter, not python
....

>. Errors during activation of an empty database
> (Sorry for the picture, but cant copy the text!):

Chris sent already the patch for orthanc package.

> 
> 
> Date widgets: Dates are displayed in US-Format (MM/DD/YYYY), although
> the user, who runs the GH client, is set to german

At least since Trytond 4.6, the date format is controlled by the
language set on the user, at Party level.

 
> Create a person and a patient, print ID card:
> Traceback (most recent call last):
> Fault: Command '['soffice', '--headless', '--nolockcheck',
> '--nodefault', '--norestore', '-- convert-to', 'pdf', '--outdir',
> '/tmp/trytond_aik87q6j', '/tmp/trytond_aik87q6j/ patient.card.odt']'
> returned non-zero exit status 77.
> 
> (soffice starts LibreOffice properly)
> 
> Print of medications:
> Traceback (most recent call last):
>   File "/site-packages/genshi/template/eval.py", line 318, in
> lookup_attr val = getattr(obj, key)
> AttributeError: 'NoneType' object has no attribute 'rec_name'
> 

That is strange. That error says that there is no content on the
patient name. Please check that you save it.

I have not been able to reproduce it.

Best
Luis



reply via email to

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