← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 721789] Re: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)

 

Sorry I fogot telling that it is on jasper_report module where I obtain
the error.

Thanks

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

Title:
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
  1: ordinal not in range(128)

Status in Qt/KDE OpenObject Client:
  New

Bug description:
  Trying to export data template in an installation with
  magentoerpconnect installed I obtain this error on 5.0.15 version
  OpenERP.

  Environment Information :
  System : Windows-32bit
  OS Name : nt
  Operating System Release :
  Operating System Version : 32bit
  Operating System Architecture : 32bit
  Operating System Locale : es_ES.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 5.0.15
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 299, in dispatch
      result = LocalService(service_name)(method, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 77, in __call__
      return getattr(self, method)(*params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 633, in execute
      return self._execute(db, uid, wiz_id, datas, action, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 613, in _execute
      return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 178, in execute
      res = self.execute_cr(cr, uid, data, state, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
      action_res = action(self, cr, uid, data, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/jasper_reports/wizard/create_data_template.py", line 156, in _action_create_xml
      topNode.toxml()
    File "/usr/lib/python2.6/xml/dom/minidom.py", line 45, in toxml
      return self.toprettyxml("", "", encoding)
    File "/usr/lib/python2.6/xml/dom/minidom.py", line 60, in toprettyxml
      return writer.getvalue()
    File "/usr/lib/python2.6/StringIO.py", line 270, in getvalue
      self.buf += ''.join(self.buflist)
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)

  Thank you:

  Ana



References