Hi Axel ! On Sat, 26 Oct 2019 12:59:40 +0200 Axel Braun <axel.br...@gmx.de> wrote:
> > install_demo_database.sh invokes the BASH interpreter, not python > > .... > > yes, /usr/bin/env - does it not make sense to use /usr/bin/python3 > instead? No. Hint... look at the extension of the file "install_demo_database.sh" Basically env runs the code in the environment of the program you want to invoke. In this case, the program code is BASH, so we call #!/usr/bin/env bash. It has nothing to do with Python. The reason I use #!/usr/bin/env bash , and not hardcoded #!/usr/bin/bash is to make sure it finds the right PATH to the interpreter in other OS where GNU Health runs, as in the case of FreeBSD. > > At least since Trytond 4.6, the date format is controlled by the > > language set on the user, at Party level. > > Yes, that works fine if I set user-language of GH-User to german. > But for English I have no chance to set it to English-English format. > American English seems to be the default (language parameter in > trytond.conf does not fix this!), which is IMO a bad choice > > > > 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' > > Does it happen with _all_ reports ? Does it happen when printing in odt format and not pdf ? Please make sure that is not related to the issue that Humberto mentioned. https://lists.gnu.org/archive/html/health/2019-10/msg00010.html Have a great weekend ! Luis