← Back to team overview

openerp-india team mailing list archive

[Bug 613721] Re: [5.0] [trunk] non-ascii characters not handled properly in XML views

 

@Alex i tested it in 6.1 and works well in XML but the error is raised
when in _description object attribute has any special character, please
test it with áéí (i used them commonly).

Regards,

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

Title:
  [5.0] [trunk] non-ascii characters not handled properly in XML views

Status in OpenERP Server:
  Fix Released
Status in OpenERP Server 5.0 series:
  Fix Released
Status in OpenERP Server trunk series:
  Fix Released

Bug description:
  Hello,
  I just installed the last 5.0.12 server version but when restarting the server, I get the following error :

    File "/usr/lib/openerp-server/osv/orm.py", line 1104, in __view_look_dom
      node.set('string', trans)
    File "lxml.etree.pyx", line 646, in lxml.etree._Element.set (src/lxml/lxml.etree.c:9638)
    File "apihelpers.pxi", line 416, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:31554)
    File "apihelpers.pxi", line 1136, in lxml.etree._utf8 (src/lxml/lxml.etree.c:36998)
  ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes

  
  This is due to a xml file i made which contains the following instruction :

  <separator string="Valeurs dans la monnaie de la société"
  colspan="4"/>

  So, I changed my accented letters with the symbols &#233; but the
  problem remains ...

  This problem did not occured in the previous versions

  Thanks

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