← Back to team overview

openerp-india team mailing list archive

[Bug 922519] Re: Trunk: Problem using webkit-module

 

If bug is related only to l10n_ch bvr_invoice then why my webkit reports
don't work too if are base on report_webkit_sample?

My reports are working well on 6.03 and not in 6.1rc1...there are any
significant change in the report_webkit_sample module in trunk??

Thanks.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/922519

Title:
  Trunk: Problem using webkit-module

Status in OpenERP Addons (modules):
  New

Bug description:
  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 -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/922519/+subscriptions


References