Comment 1 for bug 610256

Revision history for this message
xrg (xrg) wrote : Re: [Bug 610256] [NEW] value error when opening form view of a product

On Tuesday 27 July 2010, you wrote:
> Public bug reported:
>
> In the revision n° 2544 when opening a product in form view, it raises a
> value error :

> (src/lxml/lxml.etree.c:19848) ValueError: All strings must be XML
> compatible: Unicode or ASCII, no NULL bytes
>
> It works in the revision n°2543 so it must be in the modification of :
> bin/addons/base/ir/ir_translation.py
>
> note that the proucts are registered in Portuguese.
>
Only judging from the error description, (that resides in some C code), it
seems that you have slipped some invalid character (yes, utf8 can have bad
data) in your xml file. Please test it. You could xmllint it as well.