Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2014-09-18 19:43:06,378 23778 INFO control1 werkzeug: 190.181.19.103 - - [18/Sep/2014 19:43:06] "POST /web/dataset/call_button HTTP/1.1" 200 -
- 2014-09-18 19:43:06,894 23778 ERROR control1 openerp.tools.safe_eval: Cannot eval 'get_qrcode(o.qr_code_id.auth_number, o.number, o.nit, o.date_invoice, o.amount_total, o.qr_code_id.keygen)'
- Traceback (most recent call last):
- File "/opt/openerp/v7/control/openerp/tools/safe_eval.py", line 289, in safe_eval
- return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
- File "", line 1, in <module>
- File "/opt/openerp/v7/control/addons/account_invoice_report/report/invoice_factura.py", line 57, in get_qrcode
- resp = urllib2.urlopen(url)
- File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
- return _opener.open(url, data, timeout)
- File "/usr/lib/python2.7/urllib2.py", line 406, in open
- response = meth(req, response)
- File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
- 'http', request, response, code, msg, hdrs)
- File "/usr/lib/python2.7/urllib2.py", line 444, in error
- return self._call_chain(*args)
- File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
- result = func(*args)
- File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
- raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
- HTTPError: HTTP Error 404: Not Found
- 2014-09-18 19:43:06,928 23778 ERROR control1 openerp.service.web_services: Exception: 'bool' object has no attribute 'wrapOn'
- Traceback (most recent call last):
- File "/opt/openerp/v7/control/openerp/service/web_services.py", line 712, in go
- (result, format) = obj.create(cr, uid, ids, datas, context)
- File "/opt/openerp/v7/control/openerp/report/report_sxw.py", line 449, in create
- fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
- File "/opt/openerp/v7/control/openerp/report/report_sxw.py", line 518, in create_source_pdf
- return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
- File "/opt/openerp/v7/control/openerp/report/report_sxw.py", line 540, in create_single_pdf
- pdf = create_doc(etree.tostring(processed_rml),rml_parser.localcontext,logo,title.encode('utf8'))
- File "/opt/openerp/v7/control/openerp/report/interface.py", line 206, in create_pdf
- obj.render()
- File "/opt/openerp/v7/control/openerp/report/render/render.py", line 59, in render
- self._result = self._render()
- File "/opt/openerp/v7/control/openerp/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 "/opt/openerp/v7/control/openerp/report/render/rml2pdf/trml2pdf.py", line 1036, in parseNode
- r.render(fp)
- File "/opt/openerp/v7/control/openerp/report/render/rml2pdf/trml2pdf.py", line 328, in render
- pt_obj.render(el)
- File "/opt/openerp/v7/control/openerp/report/render/rml2pdf/trml2pdf.py", line 1016, in render
- self.doc_tmpl.build(fis)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py", line 880, in build
- self.handle_flowable(flowables)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py", line 763, in handle_flowable
- if frame.add(f, canv, trySplit=self.allowSplitting):
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/frames.py", line 159, in _add
- w, h = flowable.wrap(aW, h)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 1113, in wrap
- self._calc(availWidth, availHeight)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 587, in _calc
- self._calc_height(availHeight,availWidth,W=W)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 525, in _calc_height
- dW,t = self._listCellGeom(v,w or self._listValueWidth(v),s)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 377, in _listCellGeom
- vw, vh = v.wrapOn(canv, aW, aH)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/flowables.py", line 119, in wrapOn
- w, h = self.wrap(aW,aH)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 1113, in wrap
- self._calc(availWidth, availHeight)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 587, in _calc
- self._calc_height(availHeight,availWidth,W=W)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 525, in _calc_height
- dW,t = self._listCellGeom(v,w or self._listValueWidth(v),s)
- File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 377, in _listCellGeom
- vw, vh = v.wrapOn(canv, aW, aH)
- AttributeError: 'bool' object has no attribute 'wrapOn'
- 2014-09-18 19:43:07,000 23778 ERROR control1 openerp.netsvc: 'bool' object has no attribute 'wrapOn'
- (<type 'exceptions.AttributeError'>, AttributeError("'bool' object has no attribute 'wrapOn'",), <traceback object at 0x7f85014bc950>)
- Traceback (most recent call last):
- File "/opt/openerp/v7/control/openerp/netsvc.py", line 296, in dispatch_rpc
- result = ExportService.getService(service_name).dispatch(method, params)
- File "/opt/openerp/v7/control/openerp/service/web_services.py", line 654, in dispatch
- res = fn(db, uid, *params)
- File "/opt/openerp/v7/control/openerp/service/web_services.py", line 760, in exp_report_get
- return self._check_report(report_id)
- File "/opt/openerp/v7/control/openerp/service/web_services.py", line 738, in _check_report
- netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
- File "/opt/openerp/v7/control/openerp/netsvc.py", line 71, in abort_response
- raise openerp.osv.osv.except_osv(description, details)
- except_osv: (u"'bool' object has no attribute 'wrapOn'", (<type 'exceptions.AttributeError'>, AttributeError("'bool' object has no attribute 'wrapOn'",), <traceback object at 0x7f85014bc950>))
- 2014-09-18 19:43:07,002 23778 INFO control1 werkzeug: 190.181.19.103 - - [18/Sep/2014 19:43:07] "POST /web/report HTTP/1.1" 500 -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement