1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22.
Traceback (most recent call last): File "/var/www/advokatai/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/home/web2py/advokatai/web2py/applications/bow_law/controllers/plugin_invoice.py" <http://localhost:8001/admin/default/edit/bow_law/controllers/plugin_invoice.py>, line 321, in <module> File "/var/www/advokatai/gluon/globals.py", line 187, in <lambda> self._caller = lambda f: f() File "/var/www/advokatai/gluon/tools.py", line 2838, in f return action(*a, **b) File "/home/web2py/advokatai/web2py/applications/bow_law/controllers/plugin_invoice.py" <http://localhost:8001/admin/default/edit/bow_law/controllers/plugin_invoice.py>, line 301, in print_invoice (series, number, file) = print_file(db, invoice_id, template_id, ooPort=OO_PORT) File "applications/bow_law/modules/plugin_invoice.py", line 73, in print_file filename='{0}{1}'.format(series, number)) File "applications/bow_law/modules/plugin_printer.py", line 25, in print_document renderer.run() File "applications/bow_law/modules/appy/pod/renderer.py", line 369, in run self.finalize() File "applications/bow_law/modules/appy/pod/renderer.py", line 486, in finalize output = self.callOpenOffice(resultOdtName, resultType) File "applications/bow_law/modules/appy/pod/renderer.py", line 443, in callOpenOffice raise pe PodError: Extension of result file is "pdf". In order to perform conversion from ODT to this format we need to call OpenOffice. But the Python interpreter which runs the current script does not know UNO, the library that allows to connect to OpenOffice in server mode. If you can't install UNO in this Python interpreter, you can specify, in parameter "pythonWithUnoPath", the path to a UNO-enabled Python interpreter. One such interpreter may be found in <open_office_path>/program. Using appy.pod v0.8.0 --