← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 691628] Re: base_report_designer module crashes on modify existing report in openoffice

 

** Changed in: openobject-addons
    Milestone: None => 6.0

-- 
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/691628

Title:
  base_report_designer module crashes on modify existing report in
  openoffice

Status in OpenObject Addons Modules:
  Fix Released

Bug description:
  After installation of base_report_designer module on OpenERP 6, and
  installation of report_designer extension on OpenOffice 3.2, when I
  try to modify an existing report on OpenOffice, nothing happens in
  openoffice and the server sends this message :

  " ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/home/almai/openerp/6.0/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/almai/openerp/6.0/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/almai/openerp/6.0/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/almai/openerp/6.0/addons/base_report_designer/base_report_designer.py", line 64, in report_get
      'report_sxw_content': report.report_sxw_content and base64.encodestring(report.report_sxw_content) or False,
    File "/usr/lib/python2.6/base64.py", line 315, in encodestring
      pieces.append(binascii.b2a_base64(chunk))
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xce' in position 10: ordinal not in range(128)"





References