Bug#552609: python-lxml patch breaks exporting of translation

2009-11-07 Thread Daniel Baumann
tag 552609 pending
thanks

A proper version of the patch that's applied in debian is applied
upstream now, see
https://code.launchpad.net/~akretion-team/openobject-server/openobject-server_5.0_patches/+merge/14112
for the odysse.

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#552609: python-lxml patch breaks exporting of translation

2009-10-29 Thread Daniel Baumann
Maximilian Gass  wrote:
> 04-python-lxml.patch breaks the exporting of translations to PO files.
> It works fine without that patch applied.


without the patch, openerp-server does not work at all. so dropping it
is not an option.

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#552609: python-lxml patch breaks exporting of translation

2009-10-27 Thread Maximilian Gass
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