Package: openerp-server
Version: 5.0.6-2
Severity: normal
04-python-lxml.patch breaks the exporting of translations to PO files. It works
fine without that patch applied.
Traceback (most recent call last):
File "/usr/lib/openerp-server/osv/osv.py", line 59, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/openerp-server/osv/osv.py", line 118, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/openerp-server/osv/osv.py", line 110, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File
"/usr/lib/openerp-server/addons/base/module/wizard/wizard_export_lang.py", line
53, in act_getfile
tools.trans_export(this.lang, mods, buf, this.format, dbname=cr.dbname)
File "/usr/lib/openerp-server/tools/translate.py", line 330, in trans_export
trans = trans_generate(lang, modules, dbname)
File "/usr/lib/openerp-server/tools/translate.py", line 438, in trans_generate
for t in trans_parse_view(d.getroot()):
AttributeError: 'lxml.etree._Element' object has no attribute 'getroot'
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org