Dear all,I have restored a GNU Health 3.6.2 instance online based on the server 
backup of the vanilla version. The server was initially set up on a virtual 
machine.The installation was almost fine. I had a few issues with dependencies, 
which I managed to fix.I currently have printing errors with the GNU Health 
modules. There are no issues with the Tryton modules.
When I try to print a GNU Health report, I get the following message:
Traceback (most recent call last):
  File "/trytond/wsgi.py", line 73, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 45, in rpc
    return methods.get(request.rpc_method, _dispatch)(
  File "/trytond/wsgi.py", line 44, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 122, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 176, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/report/report.py", line 182, in execute
    oext, content = cls._execute(records, data, action_report)
  File "/trytond/report/report.py", line 190, in _execute
    return cls.convert(action, cls.render(action, report_context))
  File "/trytond/report/report.py", line 317, in convert
    subprocess.check_call(cmd)
  File "/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['soffice', '--headless', 
'--nolockcheck', '--nodefault', '--norestore', '--convert-to', 'pdf', 
'--outdir', '/tmp/trytond_f9sjugnb', 
'/tmp/trytond_f9sjugnb/prescription.order.odt']' returned non-zero exit status 
127.


I had to manually install Libreoffice.
Any assistance will be well appreciated. 

Kind regards
Armand

Reply via email to