Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raise Exception(stderrdata) whe trying to convert from odt to pdf #277

Closed
ceciliasp opened this issue Aug 3, 2015 · 2 comments
Closed

Comments

@ceciliasp
Copy link

OS: Ubuntu 14.04 lts

I'm running a Tryton 3.4 (tryton.org) instance and trying to generate a report. This task is requires unoconv (which I have installed v.0.6) and libreoffice (also installed and recently updated). Even so, when I try to generate the report (that should be converted from odt to pdf) I get the following error:

"

File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch
res = dispatch(_args)
File "/trytond/protocols/dispatcher.py", line 161, in dispatch
result = rpc.result(meth(_c_args, **c_kwargs))
File "/trytond/modules/account_invoice/invoice.py", line 2450, in execute
res = super(InvoiceReport, cls).execute(ids, data)
File "/trytond/report/report.py", line 144, in execute
type, data = cls.parse(action_report, records, data, {})
File "/trytond/modules/account_invoice_ar/invoice.py", line 706, in parse
localcontext=localcontext)
File "/trytond/modules/account_invoice/invoice.py", line 2479, in parse
localcontext)
File "/trytond/report/report.py", line 300, in parse
data = cls.unoconv(data, report.template_extension, output_format)
File "/trytond/report/report.py", line 320, in unoconv
raise Exception(stderrdata)
Exception: None"
I also made myself sure that unoconv is on $PATH. All other libraries and dependencies are installed and up to date (python3-UNO, uno-libs3, etc).

So I'm out of ideas of what could the problem be. Anyone has a hint on what could be the problem?

Thanks!

@dagwieers
Copy link
Member

It does not seem to be a unoconv problem.
The Exception is produced by report.py.

@regebro
Copy link
Member

regebro commented Feb 19, 2019

Closing for lack of feedback. This can be reopened if needed.

@regebro regebro closed this as completed Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants