[6.0] Impossible to export translations and synchronize

Bug #658993 reported by Quentin THEURET @Amaris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Anup(SerpentCS)

Bug Description

Revno. 2852

New database with demo data, and only base and base_setup are installed.

When I try to export a translation file ( for French in PO file ) for the two modules, I clicked on Export button and this error occurs :

Traceback (most recent call last):
  File "/home/quentin/Developpement/demo_v6/server/bin/netsvc.py", line 481, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/quentin/Developpement/demo_v6/server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/quentin/Developpement/demo_v6/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/quentin/Developpement/demo_v6/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/quentin/Developpement/demo_v6/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/quentin/Developpement/demo_v6/server/bin/addons/base/module/wizard/base_export_language.py", line 50, in act_getfile
    tools.trans_export(this.lang, mods, buf, this.format, dbname=cr.dbname)
  File "/home/quentin/Developpement/demo_v6/server/bin/tools/translate.py", line 403, in trans_export
    trans = trans_generate(lang, modules, dbname)
  File "/home/quentin/Developpement/demo_v6/server/bin/tools/translate.py", line 608, in trans_generate
    for t in parse_func(d):
  File "/home/quentin/Developpement/demo_v6/server/bin/tools/translate.py", line 425, in trans_parse_rml
    for n in de:
TypeError: 'lxml.etree._ElementTree' object is not iterable

Related branches

summary: - [6.0] Impossible to export translations
+ [6.0] Impossible to export translations and synchronize
Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Quentin,

   It has been fixed by revision 2858 <email address hidden>

Thanks.

Changed in openobject-server:
assignee: nobody → Anup (OpenERP) (ach-openerp)
milestone: none → 6.0
status: New → Fix Released
Revision history for this message
Quentin THEURET @Amaris (qtheuret) wrote :

Thanks Anup.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.