Module recorder - Unicode decode error

Bug #324759 reported by Corentin Pouhet-Brunerie - http://www.Smile.fr
2
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Server revision : 1691
Addons revision : 2203

I can't save recorded module.

Traceback (most recent call last):
  File "/home/corentin/OpenERP/trunk/server/bin/netsvc.py", line 229, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/corentin/OpenERP/trunk/server/bin/netsvc.py", line 74, in __call__
    return getattr(self, method)(*params)
  File "/home/corentin/OpenERP/trunk/server/bin/service/web_services.py", line 537, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/home/corentin/OpenERP/trunk/server/bin/service/web_services.py", line 517, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/home/corentin/OpenERP/trunk/server/bin/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/home/corentin/OpenERP/trunk/server/bin/wizard/__init__.py", line 74, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/home/corentin/OpenERP/trunk/server/bin/addons/base_module_record/wizard/base_module_save.py", line 113, in _create_module
    res_xml = mod.generate_xml(cr, uid)
  File "/home/corentin/OpenERP/trunk/server/bin/addons/base_module_record/base_module_record.py", line 327, in generate_xml
    res = doc.toprettyxml(indent="\t")
  File "/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line 62, in toprettyxml
    return writer.getvalue()
  File "/usr/lib/python2.5/StringIO.py", line 270, in getvalue
    self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 31: ordinal not in range(128)

Changed in openobject-server:
status: New → In Progress
Changed in openobject-server:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.