Error en archivo xml modulo ou_account_partner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openerp-argentina |
Fix Released
|
Undecided
|
Bruno M. Villasanti (Thymbra) |
Bug Description
El problema surge al instalar el modulo ou_account_partner, luego de instalado sin errores no puedo acceder a la vista de partner o empresas que trae el open dentro del menu partners-> partners, el error es el típico cuando metes algún carácter que no está codificado como utf-8.
Environment Information :
System : Linux-2.
OS Name : posix
Distributor ID: LinuxMint
Description: Linux Mint 9 Isadora
Release: 9
Codename: isadora
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : es_ES.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.14
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/
result = LocalService(
File "/home/
return getattr(self, method)(*params)
File "/home/
res = service.execute(db, uid, object, method, *args)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
xarch, xfields = self.__
File "/home/
fields_def = self.__
File "/home/
fields.
File "/home/
fields.
File "/home/
fields.
File "/home/
node.
File "lxml.etree.pyx", line 634, in lxml.etree.
File "apihelpers.pxi", line 487, in lxml.etree.
File "apihelpers.pxi", line 1242, in lxml.etree._utf8 (src/lxml/
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes
Changed in openerp-argentina: | |
assignee: | nobody → Bruno M. Villasanti - http://www.openunit.com.ar/ (brunovillasanti) |
status: | New → Confirmed |
Al parecer, el acento causa ésta excepción en determinados sistemas operativos. En Open UnIT utilizamos Ubuntu 10.04 e incluso desde la versión 9.04 hemos incluido cadenas no UTF8 como traducciones sin problemas. Sin embargo ahora veo que éste error ya ha sido reportado y por ello se recomienda utilizar los archivos .po para introducir traducciones con caracteres no válidos. Quizás las diferentes versiones en el parser XML de Python instalado de los cuales disponen las distintas distribuciones de Linux sean una razón para la irregularidad de la excepción.