← Back to team overview

openerp-india team mailing list archive

[Bug 1006346] [NEW] [6.1] If any raise occured from Report Services then getting errors

 

Public bug reported:


If there any defined raise exception such as warning messages then getting unicode problem.

Client Traceback (most recent call last):
  File "/home/jacara/workspace/migration611/openerp/addons/web/common/http.py", line 260, in dispatch
    r = method(controller, self, **self.params)
  File "/home/jacara/workspace/migration611/openerp/addons/web/controllers/main.py", line 1784, in index
    req.session._db, req.session._uid, req.session._password, report_id)
  File "/home/jacara/workspace/migration611/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/jacara/workspace/migration611/openerp/addons/web/common/http.py", line 596, in send
    fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + e.value, '')
TypeError: coercing to Unicode: need string or buffer, tuple found

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

Title:
  [6.1] If any raise occured from Report Services then getting errors

Status in OpenERP Server:
  New

Bug description:
  
  If there any defined raise exception such as warning messages then getting unicode problem.

  Client Traceback (most recent call last):
    File "/home/jacara/workspace/migration611/openerp/addons/web/common/http.py", line 260, in dispatch
      r = method(controller, self, **self.params)
    File "/home/jacara/workspace/migration611/openerp/addons/web/controllers/main.py", line 1784, in index
      req.session._db, req.session._uid, req.session._password, report_id)
    File "/home/jacara/workspace/migration611/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/jacara/workspace/migration611/openerp/addons/web/common/http.py", line 596, in send
      fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + e.value, '')
  TypeError: coercing to Unicode: need string or buffer, tuple found

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


Follow ups

References