← Back to team overview

openerp-india team mailing list archive

[Bug 944761] Re: [6.1] Project GTD unicode error

 

Hello Ravish,

Same error occurs on my 6.1.1 system. Maybe it is limited to the French language version according to the forum topic (http://www.openerp.com/forum/post96245.html?hilit=my%20tasks#p96245).
After the first error message "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)", as related by Paulius, and a few operations around project and tasks, the message has become : "File "/opt/openerp/server/openerp/addons/project_gtd/project_gtd.py", line 118, in fields_view_get
    res['arch'] = res['arch'],replace('<separator name="gtdsep"/>', search_extended)
NameError: global name 'replace' is not defined".

This happens as well in Sales/My Tasks or Project / My Tasks

Ready to give you more info if needed.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/944761

Title:
  [6.1] Project GTD unicode error

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  When opening Project->My task got error:

  addons/6.1/project_gtd/project_gtd.py", line 118, in fields_view_get
      res['arch'] = res['arch'].replace('<separator name="gtdsep"/>', search_extended)
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)

  I think fix is to add unicode() around res['arch'].

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/944761/+subscriptions


References