health
[Top][All Lists]
Advanced

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

Re: [Health] Error printing pdf reports


From: Luis Falcon
Subject: Re: [Health] Error printing pdf reports
Date: Sat, 28 Sep 2019 22:03:21 +0100

Hi Axel, Humberto !

On Sat, 28 Sep 2019 15:01:21 +0200
Axel Braun <address@hidden> wrote:

> Hello Humberto,
> 
> Am Freitag, 27. September 2019, 17:33:19 CEST schrieb Humberto
> Freitas:
> 
> > I have an instance of GNU Health installed on a server: Debian 10.
> > The installation was all good. However, when I try to print any
> > report which I have the extension configured to export to pdf, it
> > gives me the following error:
> >
> > Traceback (most recent call last):
> >   File "/trytond/wsgi.py", line 70, in dispatch_request
> >     return endpoint(request, **request.view_args)
> >   File "/trytond/protocols/dispatcher.py", line 41, in rpc
> >     request, database_name, *request.rpc_params)
> >   File "/trytond/wsgi.py", line 41, in auth_required
> >     return wrapped(*args, **kwargs)
> >   File "/trytond/protocols/wrappers.py", line 110, in wrapper
> >     return func(request, pool, *args, **kwargs)
> >   File "/trytond/protocols/dispatcher.py", line 165, in _dispatch
> >     result = rpc.result(meth(*c_args, **c_kwargs))
> >   File "/trytond/report/report.py", line 173, in execute
> >     oext, content = cls._execute(records, data, action_report)
> >   File "/trytond/report/report.py", line 181, in _execute
> >     return cls.convert(action, cls.render(action, report_context))
> >   File "/trytond/report/report.py", line 301, in convert
> >     raise Exception(stderrdata)
> > Exception: None  
> 
> That looks pretty much the same as the error I get when printing an
> appointment receipt/QRcode.
> Appointments -> right click on one line -> Report-> Appointment
> receipt:
> 
> Traceback (most recent call last):
>   File "/trytond/wsgi.py", line 70, in dispatch_request
>     return endpoint(request, **request.view_args)
>   File "/trytond/protocols/dispatcher.py", line 41, in rpc
>     request, database_name, *request.rpc_params)
>   File "/trytond/wsgi.py", line 41, in auth_required
>     return wrapped(*args, **kwargs)
>   File "/trytond/protocols/wrappers.py", line 110, in wrapper
>     return func(request, pool, *args, **kwargs)
>   File "/trytond/protocols/dispatcher.py", line 165, in _dispatch
>     result = rpc.result(meth(*c_args, **c_kwargs))
>   File "/trytond/report/report.py", line 173, in execute
>     oext, content = cls._execute(records, data, action_report)
>   File "/trytond/report/report.py", line 181, in _execute
>     return cls.convert(action, cls.render(action, report_context))
>   File "/trytond/report/report.py", line 301, in convert
>     raise Exception(stderrdata)
> Exception: None
> 
You're talking about the stable 3.4 , right ?

I just tried locally and at community server (federation.gnuhealth.org
- health34) and could not reproduce the error.

Can you try at the demo server and see if you can reproduce it ?

Take a look at this screenshot, for the example on the appointment
report config

https://i.imgur.com/Hn5FmCZ.png

Best,


-- 
Dr. Luis Falcon, M.D.
President, GNU Solidario
GNU Health: Freedom and Equity in Healthcare
www.gnuhealth.org
GPG Fingerprint :ACBF C80F C891 631C 68AA  8DC8 C015 E1AE 0098 9199
 
Join us at GNU Health Con 2019 https://www.gnuhealthcon.org



reply via email to

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