Advertisement
Guest User

Untitled

a guest
Sep 18th, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1. 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 -
  2. 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)'
  3. Traceback (most recent call last):
  4. File "/opt/openerp/v7/control/openerp/tools/safe_eval.py", line 289, in safe_eval
  5. return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  6. File "", line 1, in <module>
  7. File "/opt/openerp/v7/control/addons/account_invoice_report/report/invoice_factura.py", line 57, in get_qrcode
  8. resp = urllib2.urlopen(url)
  9. File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
  10. return _opener.open(url, data, timeout)
  11. File "/usr/lib/python2.7/urllib2.py", line 406, in open
  12. response = meth(req, response)
  13. File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
  14. 'http', request, response, code, msg, hdrs)
  15. File "/usr/lib/python2.7/urllib2.py", line 444, in error
  16. return self._call_chain(*args)
  17. File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
  18. result = func(*args)
  19. File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
  20. raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  21. HTTPError: HTTP Error 404: Not Found
  22. 2014-09-18 19:43:06,928 23778 ERROR control1 openerp.service.web_services: Exception: 'bool' object has no attribute 'wrapOn'
  23. Traceback (most recent call last):
  24. File "/opt/openerp/v7/control/openerp/service/web_services.py", line 712, in go
  25. (result, format) = obj.create(cr, uid, ids, datas, context)
  26. File "/opt/openerp/v7/control/openerp/report/report_sxw.py", line 449, in create
  27. fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
  28. File "/opt/openerp/v7/control/openerp/report/report_sxw.py", line 518, in create_source_pdf
  29. return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  30. File "/opt/openerp/v7/control/openerp/report/report_sxw.py", line 540, in create_single_pdf
  31. pdf = create_doc(etree.tostring(processed_rml),rml_parser.localcontext,logo,title.encode('utf8'))
  32. File "/opt/openerp/v7/control/openerp/report/interface.py", line 206, in create_pdf
  33. obj.render()
  34. File "/opt/openerp/v7/control/openerp/report/render/render.py", line 59, in render
  35. self._result = self._render()
  36. File "/opt/openerp/v7/control/openerp/report/render/rml.py", line 41, in _render
  37. return rml2pdf.parseNode(self.rml, self.localcontext, images=self.bin_datas, path=self.path,title=self.title)
  38. File "/opt/openerp/v7/control/openerp/report/render/rml2pdf/trml2pdf.py", line 1036, in parseNode
  39. r.render(fp)
  40. File "/opt/openerp/v7/control/openerp/report/render/rml2pdf/trml2pdf.py", line 328, in render
  41. pt_obj.render(el)
  42. File "/opt/openerp/v7/control/openerp/report/render/rml2pdf/trml2pdf.py", line 1016, in render
  43. self.doc_tmpl.build(fis)
  44. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py", line 880, in build
  45. self.handle_flowable(flowables)
  46. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/doctemplate.py", line 763, in handle_flowable
  47. if frame.add(f, canv, trySplit=self.allowSplitting):
  48. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/frames.py", line 159, in _add
  49. w, h = flowable.wrap(aW, h)
  50. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 1113, in wrap
  51. self._calc(availWidth, availHeight)
  52. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 587, in _calc
  53. self._calc_height(availHeight,availWidth,W=W)
  54. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 525, in _calc_height
  55. dW,t = self._listCellGeom(v,w or self._listValueWidth(v),s)
  56. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 377, in _listCellGeom
  57. vw, vh = v.wrapOn(canv, aW, aH)
  58. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/flowables.py", line 119, in wrapOn
  59. w, h = self.wrap(aW,aH)
  60. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 1113, in wrap
  61. self._calc(availWidth, availHeight)
  62. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 587, in _calc
  63. self._calc_height(availHeight,availWidth,W=W)
  64. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 525, in _calc_height
  65. dW,t = self._listCellGeom(v,w or self._listValueWidth(v),s)
  66. File "/usr/lib/python2.7/dist-packages/reportlab/platypus/tables.py", line 377, in _listCellGeom
  67. vw, vh = v.wrapOn(canv, aW, aH)
  68. AttributeError: 'bool' object has no attribute 'wrapOn'
  69. 2014-09-18 19:43:07,000 23778 ERROR control1 openerp.netsvc: 'bool' object has no attribute 'wrapOn'
  70. (<type 'exceptions.AttributeError'>, AttributeError("'bool' object has no attribute 'wrapOn'",), <traceback object at 0x7f85014bc950>)
  71. Traceback (most recent call last):
  72. File "/opt/openerp/v7/control/openerp/netsvc.py", line 296, in dispatch_rpc
  73. result = ExportService.getService(service_name).dispatch(method, params)
  74. File "/opt/openerp/v7/control/openerp/service/web_services.py", line 654, in dispatch
  75. res = fn(db, uid, *params)
  76. File "/opt/openerp/v7/control/openerp/service/web_services.py", line 760, in exp_report_get
  77. return self._check_report(report_id)
  78. File "/opt/openerp/v7/control/openerp/service/web_services.py", line 738, in _check_report
  79. netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
  80. File "/opt/openerp/v7/control/openerp/netsvc.py", line 71, in abort_response
  81. raise openerp.osv.osv.except_osv(description, details)
  82. except_osv: (u"'bool' object has no attribute 'wrapOn'", (<type 'exceptions.AttributeError'>, AttributeError("'bool' object has no attribute 'wrapOn'",), <traceback object at 0x7f85014bc950>))
  83. 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