我正在运行 Tryton 3.4 ( tryton.org ) 实例并尝试生成报告。此任务需要 unoconv(我已安装 v.0.6)和 libreoffice(也已安装并最近更新)。即便如此,当我尝试生成报告(应该从 odt 转换为 pdf)时,我收到以下错误:
"
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"
我还让自己确定 unoconv 在 $PATH 上。所有其他库和依赖项都已安装并且是最新的(python3-UNO、uno-libs3 等)。
所以我不知道问题可能是什么。任何人都暗示可能是什么问题?
谢谢!