** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => Nicolas Bessi - Camptocamp (nbessi-c2c)

-- 
Error Report_Webkit
https://bugs.launchpad.net/bugs/675008
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Confirmed

Bug description:
Hello,

Fresh setup of openerp (13/11/2010)

Error when we generate the facture Webkit, log error : 

[2010-11-13 21:53:47,694][ags] ERROR:web-services:[02]: Traceback (most recent 
call last):
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[03]:   File 
"/opt/openerp/server/bin/service/web_services.py", line 711, in go
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[04]:     (result, format) = 
obj.create(cr, uid, ids, datas, context)
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[05]:   File 
"/opt/openerp/addons/report_webkit/webkit_report.py", line 344, in create
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[06]:     result = 
self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[07]:   File 
"/opt/openerp/server/bin/report/report_sxw.py", line 462, in create_source_pdf
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[08]:     return 
self.create_single_pdf(cr, uid, ids, data, report_xml, context)
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[09]:   File 
"/opt/openerp/addons/report_webkit/webkit_report.py", line 316, in 
create_single_pdf
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[10]:     pdf = 
self.generate_pdf(bin, report_xml, head, foot, [html])
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[11]:   File 
"/opt/openerp/addons/report_webkit/webkit_report.py", line 154, in generate_pdf
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[12]:     pdf = 
file(out).read()
[2010-11-13 21:53:47,695][ags] ERROR:web-services:[13]: IOError: [Errno 2] 
Aucun fichier ou dossier de ce type: u'/tmp/factureWebKit1289681627.68.pdf'


GTK Error : 

2
(<type 'exceptions.IOError'>, IOError(2, 'Aucun fichier ou dossier de ce 
type'), <traceback object at 0x940e3ec>)

For info : 

wkhtmltopdf setup with apt-get install and path found at : /usr/bin/wkhtmltopdf


Peaps user not have acces to create the tmp folder ? Im not sure, humm  !
I have create more folder "tmp" with chmod 777 but im realy not sure where to 
create that tmp folder...


Sincerely



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to