← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697066] Re: Encoding problem in OpenOffice Plugin

 

** 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/697066

Title:
  Encoding problem in OpenOffice Plugin

Status in OpenObject Addons Modules:
  Fix Released

Bug description:
  I use base_report_designer to open an existing report (RML) and it
  produced the following error

  [2011-01-04 10:36:11,175][demo60] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/var/local/software/openerp-v6.0dev/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/var/local/software/openerp-v6.0dev/server/bin/addons/base_report_designer/base_report_designer.py", line 68, in report_get
      'report_rml_content': report.report_rml_content and base64.encodestring(report.report_rml_content) or False
    File "/usr/lib/python2.6/base64.py", line 315, in encodestring
      pieces.append(binascii.b2a_base64(chunk))
  UnicodeEncodeError: 'latin-1' codec can't encode character u'\u1eef' in position 55: ordinal not in range(256)

  addons/ : sbh@xxxxxxxxxxx-20110103110832-t013w7l0ncicvqrh 4167
  addons-community/ : alexis@xxxxxxxxxx-20110103091019-pu80lsonsoia5eys 293
  addons-extra/ : parthivgls@xxxxxxxxx-20110103095019-7lme58e3mjuhsyin 5141
  server/ : chs@xxxxxxxxxxx-20110103123456-mqxqymhj62d3sw05 3203
  web/ : chs@xxxxxxxxxxx-20110103123908-62uflu2uubf3sh6t 4236





References