health
[Top][All Lists]
Advanced

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

Re: [Health] Error printing pdf reports


From: Axel Braun
Subject: Re: [Health] Error printing pdf reports
Date: Sat, 28 Sep 2019 15:01:21 +0200

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

Cheers
Axel





reply via email to

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