Skip to content

Instantly share code, notes, and snippets.

View lukebranch's full-sized avatar

Luke Branch lukebranch

View GitHub Profile
Traceback (most recent call last):
File "/opt/odoo/server/openerp/addons/report/controllers/main.py", line 96, in report_download
response = self.report_routes(reportname, docids=docids, converter='pdf')
File "/opt/odoo/server/openerp/http.py", line 514, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/server/openerp/addons/report_custom_filename/controllers/report_controller.py", line 18, in report_routes
reportname, docids=docids, converter=converter, **data)
File "/opt/odoo/server/openerp/http.py", line 514, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/server/openerp/addons/report/controllers/main.py", line 45, in report_routes
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 648, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 685, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 321, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 314, in checked_call
Traceback (most recent call last):
File "/opt/openerp/server/openerp/openerp/http.py", line 500, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/openerp/server/openerp/openerp/http.py", line 517, in dispatch
result = self._call_function(**self.params)
File "/opt/openerp/server/openerp/openerp/http.py", line 283, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/openerp/server/openerp/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/openerp/http.py", line 280, in checked_call
2017-04-12 00:35:41,670 2188 ERROR Zeeva_HK openerp.service.web_services: Exception:
identity=[ImageReader@0x7bfcd90]
handle_pageBegin args=()
Traceback (most recent call last):
File "/opt/openerp/server/openerp/service/web_services.py", line 712, in go
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/opt/openerp/server/openerp/report/report_sxw.py", line 444, in create
fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
File "/opt/openerp/server/openerp/report/report_sxw.py", line 513, in create_source_pdf
return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
2017-04-07 03:21:40,171 12033 ERROR Zeeva_HK openerp.service.web_services: Exception:
identity=[ImageReader@0x8244550]
handle_pageBegin args=()
Traceback (most recent call last):
File "/opt/openerp/server/openerp/service/web_services.py", line 712, in go
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/opt/openerp/server/openerp/report/report_sxw.py", line 444, in create
fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
File "/opt/openerp/server/openerp/report/report_sxw.py", line 513, in create_source_pdf
return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
<?xml version="1.0"?>
<tree string="ZWIP">
<field name="order_type"/>
<field name="account_manager_id"/>
<field name="sale_id"/>
<field name="purchase_id"/>
<field name="cust_po_ref"/>
<field name="partner_id"/>
<field name="supplier"/>
<field name="po_delivery_date"/>
Client Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1128, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1120, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/opt/openerp/server/openerp/addons/web/session.py", line 30, in proxy_method
Client Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1054, in search_read
return self.do_search_read(req, model, fields, offset, limit, domain, sort)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1089, in do_search_read
records = Model.read(ids, fields or False, req.context)
File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/opt/openerp/server/openerp/addons/web/session.py", line 30, in proxy_method
Traceback (most recent call last):
File "/opt/odoo/server/openerp/addons/report/controllers/main.py", line 96, in report_download
response = self.report_routes(reportname, docids=docids, converter='pdf')
File "/opt/odoo/server/openerp/http.py", line 514, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/server/openerp/addons/report_custom_filename/controllers/report_controller.py", line 18, in report_routes
reportname, docids=docids, converter=converter, **data)
File "/opt/odoo/server/openerp/http.py", line 514, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/server/openerp/addons/report/controllers/main.py", line 45, in report_routes
2017-03-15 04:35:11,692 31120 WARNING sunion_production_021216 openerp.pooler: openerp.pooler.get_db_and_pool() is deprecated.
2017-03-15 04:35:11,700 31120 ERROR sunion_production_021216 openerp.service.report: Exception: [Errno 5] Input/output error
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/service/report.py", line 93, in go
result, format = openerp.report.render_report(cr, uid, ids, object, datas, context)
File "/opt/odoo/odoo-server/openerp/report/__init__.py", line 40, in render_report
return registry['ir.actions.report.xml'].render_report(cr, uid, ids, name, data, context)
File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_actions.py", line 156, in render_report