Trunk: Problem using webkit-module

Asked by René Glauser

Hello
I installed webkit-module and took care about installation-instructions. When I try to print a "bvr invoice" I always get the following error-messages:

[2012-01-27 09:30:58,836][?] INFO:werkzeug:192.168.0.68 - - [27/Jan/2012 09:30:58] "POST /web/session/eval_domain_and_context HTTP/1.1" 200 -
No LSB modules are available.
[2012-01-27 09:31:01,606][?] ERROR:web-services:[01]:
[2012-01-27 09:31:01,606][?] ERROR:web-services:[02]: Environment Information :
[2012-01-27 09:31:01,606][?] ERROR:web-services:[03]: System : Linux-2.6.32-38-server-x86_64-with-Ubuntu-10.04-lucid
[2012-01-27 09:31:01,606][?] ERROR:web-services:[04]: OS Name : posix
[2012-01-27 09:31:01,606][?] ERROR:web-services:[05]: Distributor ID: Ubuntu
[2012-01-27 09:31:01,606][?] ERROR:web-services:[06]: Description: Ubuntu 10.04.3 LTS
[2012-01-27 09:31:01,606][?] ERROR:web-services:[07]: Release: 10.04
[2012-01-27 09:31:01,606][?] ERROR:web-services:[08]: Codename: lucid
[2012-01-27 09:31:01,606][?] ERROR:web-services:[09]: Operating System Release : 2.6.32-38-server
[2012-01-27 09:31:01,606][?] ERROR:web-services:[10]: Operating System Version : #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012
[2012-01-27 09:31:01,607][?] ERROR:web-services:[11]: Operating System Architecture : 64bit
[2012-01-27 09:31:01,607][?] ERROR:web-services:[12]: Operating System Locale : en_US.UTF8
[2012-01-27 09:31:01,607][?] ERROR:web-services:[13]: Python Version : 2.6.5
[2012-01-27 09:31:01,607][?] ERROR:web-services:[14]: OpenERP-Server Version : 6.1rc1
[2012-01-27 09:31:01,607][?] ERROR:web-services:[15]: Exception: [Errno 2] No such file or directory: '/tmp/webkit.tmp.7_hwhR.pdf'
[2012-01-27 09:31:01,607][?] ERROR:web-services:[16]: Traceback (most recent call last):
[2012-01-27 09:31:01,607][?] ERROR:web-services:[17]: File "/home/erp/openerp_trunk/server/openerp/service/web_services.py", line 728, in go
[2012-01-27 09:31:01,607][?] ERROR:web-services:[18]: (result, format) = obj.create(cr, uid, ids, datas, context)
[2012-01-27 09:31:01,607][?] ERROR:web-services:[19]: File "/home/erp/openerp6.1rc1/addons/report_webkit/webkit_report.py", line 325, in create
[2012-01-27 09:31:01,607][?] ERROR:web-services:[20]: result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
[2012-01-27 09:31:01,607][?] ERROR:web-services:[21]: File "/home/erp/openerp_trunk/server/openerp/report/report_sxw.py", line 498, in create_source_pdf
[2012-01-27 09:31:01,607][?] ERROR:web-services:[22]: return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
[2012-01-27 09:31:01,607][?] ERROR:web-services:[23]: File "/home/erp/openerp6.1rc1/addons/l10n_ch/report/report_webkit_html.py", line 317, in create_single_pdf
[2012-01-27 09:31:01,607][?] ERROR:web-services:[24]: pdf = self.generate_pdf(bin, report_xml, head, foot, htmls)
[2012-01-27 09:31:01,607][?] ERROR:web-services:[25]: File "/home/erp/openerp6.1rc1/addons/report_webkit/webkit_report.py", line 174, in generate_pdf
[2012-01-27 09:31:01,608][?] ERROR:web-services:[26]: pdf = file(out_filename, 'rb').read()
[2012-01-27 09:31:01,608][?] ERROR:web-services:[27]: IOError: [Errno 2] No such file or directory: '/tmp/webkit.tmp.7_hwhR.pdf'
[2012-01-27 09:31:01,823][?] ERROR:web.common.http.HttpRequest.dispatch:An error occurred while handling a json request
Traceback (most recent call last):
  File "/home/erp/openerp6.1rc1/openerp-web/addons/web/common/http.py", line 260, in dispatch
    r = method(controller, self, **self.params)
  File "/home/erp/openerp6.1rc1/openerp-web/addons/web/controllers/main.py", line 1643, in index
    req.session._db, req.session._uid, req.session._password, report_id)
  File "/home/erp/openerp6.1rc1/openerp-web/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/erp/openerp6.1rc1/openerp-web/addons/web/common/http.py", line 594, in send
    fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + e.value, '')
TypeError: coercing to Unicode: need string or buffer, tuple found
[2012-01-27 09:31:01,831][?] INFO:werkzeug:192.168.0.68 - - [27/Jan/2012 09:31:01] "POST /web/report HTTP/1.1" 500 -

Question information

Language:
English Edit question
Status:
Expired
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #922519.

Revision history for this message
Amit Parik (amit-parik) said :
#1

Hello Rene,

Thanks a lot for your reply on this!

Your last comment describe that the problem appear on the 64 bit system and which is resolved follow the instructions of above link.

So better way is I am converting this to question.

Thank you!

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.