← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 730746] Re: [6.0] wiki - difference - UNICODE Error

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

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

Title:
  [6.0] wiki - difference - UNICODE Error

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  wiki difference with german text creates error

          Traceback (most recent call last): File
  "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/netsvc.py", line
  489, in dispatch result =
  ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home2/gass/OpenERP/trunk/openobject-
  server/6.0/bin/service/web_services.py", line 599, in dispatch res =
  fn(db, uid, *params) File "/home2/gass/OpenERP/trunk/openobject-
  server/6.0/bin/addons/audittrail/audittrail.py", line 511, in execute
  res = my_fct(db, uid, model, method, *args) File
  "/home2/gass/OpenERP/trunk/openobject-
  server/6.0/bin/addons/audittrail/audittrail.py", line 495, in my_fct
  return fct_src(db, uid, model, method, *args) File
  "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/osv.py", line
  122, in wrapper return f(self, dbname, *args, **kwargs) File
  "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/osv.py", line
  176, in execute res = self.execute_cr(cr, uid, obj, method, *args,
  **kw) File "/home2/gass/OpenERP/trunk/openobject-
  server/6.0/bin/osv/osv.py", line 167, in execute_cr return
  getattr(object, method)(cr, uid, *args, **kw) File
  "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/orm.py", line
  981, in default_get defaults[f] = self._defaults[f](self, cr, uid,
  context) File "/home2/gass/OpenERP/trunk/openobject-
  server/6.0/bin/addons/wiki/wizard/wiki_show_diff.py", line 52, in
  get_diff diff = base64.encodestring(history.getDiff(cr, uid, ids[0],
  nids[-1])) File "/usr/lib64/python2.6/base64.py", line 315, in
  encodestring pieces.append(binascii.b2a_base64(chunk))
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in
  position 31: ordinal not in range(128)



References