Resynchronise Terms error

Bug #597244 reported by c001os
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

I get error when i try Resynchronise Terms. Here is the error message:

Traceback (most recent call last):
  File "/usr/lib/openerp-server/netsvc.py", line 245, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/openerp-server/netsvc.py", line 74, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/openerp-server/service/web_services.py", line 576, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/lib/openerp-server/osv/osv.py", line 58, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/openerp-server/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/openerp-server/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/openerp-server/addons/base/module/wizard/wizard_update_translations.py", line 49, in act_update
    tools.trans_export(this.lang, ['all'], buf, 'csv', dbname=cr.dbname)
  File "/usr/lib/openerp-server/tools/translate.py", line 351, in trans_export
    trans = trans_generate(lang, modules, dbname)
  File "/usr/lib/openerp-server/tools/translate.py", line 475, in trans_generate
    for field_name, field_def in result['fields'].iteritems():
KeyError: 'fields'

Revision history for this message
c001os (c001os) wrote :

Im using the current stable under debian stable! (5.0.11)

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi,

What are the languages and modules you have installed?

I tried few ways, but did not meet to the error.

Thanks.

Revision history for this message
c001os (c001os) wrote :

Hungarian and English languages. Modules: Base, Base_setup, document, document_extension, base_contact.

Thx

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi,

I 've tried with the same environment, but I did not face any error.

Let me know if you have changed any translations from DB?

Thanks.

Revision history for this message
c001os (c001os) wrote :

i have made several translations and everything was fine until now... Now i have made a new database and this problem doesnt exist anymore... I dont know what was the problem..

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi,

I assure you that it doesn't occur normally, and also at my end too.

It could happen when someone might have changed some translations badly.

I am closing the bug for now, but I would be happy to investigate more if it happens again.

Thanks.

Changed in openobject-server:
milestone: none → 5.0.12
status: New → Invalid
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.