On Wednesday, May 20, 2015 at 12:00:04 PM UTC-5, Cédric Krier wrote:
>
> On 20 May 09:24, Fabyc wrote: 
> > Hello everybody. 
> > 
> > I have installed these libs: 
> > apt-get install libreoffice-java-common python-uno 
> > 
> > As a test, in "Administration->User Interface->Actions->Reports" I set 
> the 
> > "Extension" field the 
> > option "PDF" for the "Labels" report. 
> > 
> > When I tried to print to PDF, I get this error: 
> > 
> > Traceback (most recent call last): 
> >   File "/trytond/protocols/jsonrpc.py", line 125, in _marshaled_dispatch 
> >     response['result'] = dispatch_method(method, params) 
> >   File "/trytond/protocols/jsonrpc.py", line 158, in _dispatch 
> >     res = dispatch(*args) 
> >   File "/trytond/protocols/dispatcher.py", line 159, in dispatch 
> >     result = rpc.result(meth(*c_args, **c_kwargs)) 
> >   File "/trytond/report/report.py", line 128, in execute 
> >     type, data = cls.parse(action_report, records, data, {}) 
> >   File "/trytond/report/report.py", line 284, in parse 
> >     data = cls.unoconv(data, report.template_extension, output_format) 
> >   File "/trytond/report/report.py", line 301, in unoconv 
> >     proc = subprocess.Popen(cmd, stdout=subprocess.PIPE) 
> >   File "/subprocess.py", line 679, in __init__ 
> >     errread, errwrite) 
> >   File "/subprocess.py", line 1259, in _execute_child 
> >     raise child_exceptionOSError: [Errno 2] No such file or directory 
> > 
> > 
> > 
> > It is the same error when I try to print to PDF any other report. I 
> tested 
> > in tryton 3.2, 3.4. 
> > 
> > I installed this lib too: "apt-get install unoconv" and the error 
> persists. 
> > 
> > Is there something I'm missing? 
>
> It looks like unoconv executable is not in the $PATH. 
>

You're right.
 
That solved the problem.

Thank you

--
Regards

Reply via email to