translation with german instead english as default bug

Bug #318731 reported by Thorsten Vocks (OpenBig.org)
2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Version: openerp 5rc3

If i install new database with default language english at first (services profile), going through the wizard in english and at the end loading official translation, changing preferences to new language works for me as expected (all translations are visible)

The same failed with installation of a new database with german language as default. Wizard seems to crash. After restart of database wizard goes further on, but still translation is only partly loaded (main problem seems to be with crm and project, those modules which are main target of configuration wizard settings).

[Mon Jan 19 2009 12:27:47] INFO:init:module board_project: loading translation file for language de_DE
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[01]: Exception in call: Traceback (most recent call last):
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[02]: File "/home/vockst/openerp/server/bin/wizard/__init__.py", line 73, in execute_cr
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[03]: action_res = action(self, cr, uid, data, context)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[04]: File "/home/vockst/openerp/server/bin/addons/base_setup/wizard/wizard_base_setup.py", line 195, in _update
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[05]: (db, pool)=pooler.restart_pool(cr.dbname, update_module=True)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[06]: File "/home/vockst/openerp/server/bin/pooler.py", line 55, in restart_pool
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[07]: return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[08]: File "/home/vockst/openerp/server/bin/pooler.py", line 38, in get_db_and_pool
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[09]: addons.load_modules(db, force_demo, status, update_module)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[10]: File "/home/vockst/openerp/server/bin/addons/__init__.py", line 638, in load_modules
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[11]: load_module_graph(cr, graph, status, report=report)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[12]: File "/home/vockst/openerp/server/bin/addons/__init__.py", line 573, in load_module_graph
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[13]: modobj.update_translations(cr, 1, [mid], None)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[14]: File "/home/vockst/openerp/server/bin/addons/base/module/module.py", line 465, in update_translations
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[15]: tools.trans_load(cr.dbname, f, lang, verbose=False)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[16]: File "/home/vockst/openerp/server/bin/tools/translate.py", line 502, in trans_load
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[17]: r = trans_load_data(db_name, fileobj, fileformat, lang, strict=strict, verbose=verbose)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[18]: File "/home/vockst/openerp/server/bin/tools/translate.py", line 535, in trans_load_data
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[19]: lang_obj.write(cr, uid, ids, {'translatable':1})
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[20]: File "/home/vockst/openerp/server/bin/osv/orm.py", line 2205, in write
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[21]: 'where id in ('+ids_str+')', upd1)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[22]: File "/home/vockst/openerp/server/bin/sql_db.py", line 76, in wrapper
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[23]: return f(self, *args, **kwargs)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[24]: File "/home/vockst/openerp/server/bin/sql_db.py", line 114, in execute
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[25]: res = self._obj.execute(query, params)
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[26]: TransactionRollbackError: FEHLER: kann Zugriff nicht serialisieren wegen gleichzeitiger Aktualisierung
[Mon Jan 19 2009 12:27:47] ERROR:web-services:[27]: CONTEXT: SQL-Anweisung »SELECT 1 FROM ONLY "public"."res_users" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR SHARE

Revision history for this message
Thorsten Vocks (OpenBig.org) (openbig.org) wrote :
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.