← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 799948] Re: Modify Locations Values crashes after install c2c_webkit_report (5.0)

 

Hello Antonio,

The "c2c_webkit_report" module is of extra-addons for the v5.

So would you please contact with the related author. Currently I am
marked it as a "Won't fix"  because this issue does not effec6t in
official addons.

Thanks for understanding!


** Changed in: openobject-addons
       Status: New => Won't Fix

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

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

Title:
  Modify Locations Values crashes after install c2c_webkit_report (5.0)

Status in OpenERP Modules (addons):
  Won't Fix

Bug description:
  Without install c2c_webkit_report, you can modify the report without
  problems in the standard way, i.e. (Administration - > Customization
  -> report_designer). But afert install c2c_webkit_report, only
  download and upload the report (without modify), crashes with the next
  error:

  Environment Information :
  System : Linux-2.6.32-32-generic-x86_64-with-Ubuntu-10.04-lucid
  OS Name : posix
  Distributor ID:    Ubuntu
  Description:    Ubuntu 10.04.2 LTS
  Release:    10.04
  Codename:    lucid
  Operating System Release : 2.6.32-32-generic
  Operating System Version : #62-Ubuntu SMP Wed Apr 20 21:52:38 UTC 2011
  Operating System Architecture : 64bit
  Operating System Locale : es_ES.UTF8
  Python Version : 2.6.5
  OpenERP-Client Version : 5.0.16
  Last revision No. & ID :1099 stephane@xxxxxxxxxxx-20110323101057-05l1k3lbt8murn07
  Traceback (most recent call last):
    File "/home/openerp/5.0/bin/service/web_services.py", line 683, in go
      (result, format) = obj.create(cr, uid, ids, datas, context)
    File "/home/openerp/5.0/bin/addons/c2c_webkit_report/webkit_report.py", line 418, in create
      return super(WebKitParser, self).create(cursor, uid, ids, data, context)
    File "/home/openerp/5.0/bin/report/report_sxw.py", line 366, in create
      fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
    File "/home/openerp/5.0/bin/report/report_sxw.py", line 428, in create_source_pdf
      return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
    File "/home/openerp/5.0/bin/addons/c2c_webkit_report/webkit_report.py", line 230, in create_single_pdf
      return super(WebKitParser,self).create_single_pdf(cursor, uid, ids, data, report_xml, context=context)
    File "/home/openerp/5.0/bin/report/report_sxw.py", line 449, in create_single_pdf
      pdf = create_doc(etree.tostring(processed_rml),rml_parser.localcontext,logo,title.encode('utf8'))
    File "/home/openerp/5.0/bin/report/interface.py", line 183, in create_pdf
      obj.render()
    File "/home/openerp/5.0/bin/report/render/render.py", line 50, in render
      result = self._render()
    File "/home/openerp/5.0/bin/report/render/rml.py", line 41, in _render
      return rml2pdf.parseNode(self.rml, self.localcontext, images=self.bin_datas, path=self.path,title=self.title)
    File "/home/openerp/5.0/bin/report/render/rml2pdf/trml2pdf.py", line 791, in parseNode
      r.render(fp)
    File "/home/openerp/5.0/bin/report/render/rml2pdf/trml2pdf.py", line 205, in render
      pt_obj.render(el)
    File "/home/openerp/5.0/bin/report/render/rml2pdf/trml2pdf.py", line 781, in render
      fis += r.render(node_story)
    File "/home/openerp/5.0/bin/report/render/rml2pdf/trml2pdf.py", line 710, in render
      return process_story(node_story)
    File "/home/openerp/5.0/bin/report/render/rml2pdf/trml2pdf.py", line 703, in process_story
      flow = self._flowable(node)
    File "/home/openerp/5.0/bin/report/render/rml2pdf/trml2pdf.py", line 667, in _flowable
      return self.render(node)
    File "/home/openerp/5.0/bin/report/render/rml2pdf/trml2pdf.py", line 710, in render
      return process_story(node_story)
    File "/home/openerp/5.0/bin/report/render/rml2pdf/trml2pdf.py", line 699, in process_story
      for node in utils._child_get(node_story, self):
    File "/home/openerp/5.0/bin/report/render/rml2pdf/utils.py", line 64, in _child_get
      for ctx in eval(n.get('rml_loop'),{}, self.localcontext):
    File "/home/openerp/5.0/bin/tools/safe_eval.py", line 274, in safe_eval
      return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
    File "", line 1, in <module>
  NameError: name 'process' is not defined

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


References