Comment 3 for bug 675008

Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

hello,

i have the latest rev (4373) and wkhtmltopdf 0.9.9-1ubuntu2, i set up the path in the company to /usr/bin/wkhtmltopdf, but i still get the same error (almost the same traceback):

ERROR:web-services:[01]: Exception: [Errno 2] No such file or directory: u'/tmp/factureWebKit1295751144.77.pdf'
[2011-01-23 03:52:24,988][bs_test_02] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-01-23 03:52:24,988][bs_test_02] ERROR:web-services:[03]: File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 724, in go
[2011-01-23 03:52:24,989][bs_test_02] ERROR:web-services:[04]: (result, format) = obj.create(cr, uid, ids, datas, context)
[2011-01-23 03:52:24,989][bs_test_02] ERROR:web-services:[05]: File "/home/openerp/addons/report_webkit/webkit_report.py", line 369, in create
[2011-01-23 03:52:24,989][bs_test_02] ERROR:web-services:[06]: result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
[2011-01-23 03:52:24,989][bs_test_02] ERROR:web-services:[07]: File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 491, in create_source_pdf
[2011-01-23 03:52:24,989][bs_test_02] ERROR:web-services:[08]: return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
[2011-01-23 03:52:24,989][bs_test_02] ERROR:web-services:[09]: File "/home/openerp/addons/report_webkit/webkit_report.py", line 341, in create_single_pdf
[2011-01-23 03:52:24,990][bs_test_02] ERROR:web-services:[10]: pdf = self.generate_pdf(bin, report_xml, head, foot, [html])
[2011-01-23 03:52:24,990][bs_test_02] ERROR:web-services:[11]: File "/home/openerp/addons/report_webkit/webkit_report.py", line 158, in generate_pdf
[2011-01-23 03:52:24,990][bs_test_02] ERROR:web-services:[12]: pdf = file(out).read()
[2011-01-23 03:52:24,990][bs_test_02] ERROR:web-services:[13]: IOError: [Errno 2] No such file or directory: u'/tmp/factureWebKit1295751144.77.pdf'