error "update=all" after installing profile_manufacturing

Bug #320077 reported by Ferdinand
2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

after installing in a new database "test_20090122"
* minimal profile
* load German language
* profile_manufacturing
so far so good

the updatescript fails
./openerp-server.py -d test_20090122 --stop-after-init --update=all

-- snip ---
[Thu Jan 22 2009 16:34:45] INFO:init:module process: loading translation file for language de_DE
Traceback (most recent call last):
  File "./openerp-server.py", line 108, in <module>
    pooler.get_db_and_pool(db, update_module=tools.config['init'] or tools.config['update'])
  File "/data/downloads/bzr/openobject-server/bin/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/data/downloads/bzr/openobject-server/bin/addons/__init__.py", line 663, in load_modules
    load_module_graph(cr, graph, status, report=report)
  File "/data/downloads/bzr/openobject-server/bin/addons/__init__.py", line 597, in load_module_graph
    modobj.update_translations(cr, 1, [mid], None)
  File "/data/downloads/bzr/openobject-server/bin/addons/base/module/module.py", line 473, in update_translations
    tools.trans_load(cr.dbname, f, lang, verbose=False)
  File "/data/downloads/bzr/openobject-server/bin/tools/translate.py", line 504, in trans_load
    r = trans_load_data(db_name, fileobj, fileformat, lang, strict=strict, verbose=verbose)
  File "/data/downloads/bzr/openobject-server/bin/tools/translate.py", line 568, in trans_load_data
    'thousands_sep' : str(locale.nl_langinfo(locale.THOUSEP))
  File "/data/downloads/bzr/openobject-server/bin/osv/orm.py", line 2217, in write
    'where id in ('+ids_str+')', upd1)
  File "/data/downloads/bzr/openobject-server/bin/sql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
  File "/data/downloads/bzr/openobject-server/bin/sql_db.py", line 116, in execute
    res = self._obj.execute(query, params)
psycopg2.extensions.TransactionRollbackError: could not serialize access due to concurrent update
KONTEXT: SQL statement "SELECT 1 FROM ONLY "public"."res_users" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR SHARE OF x"

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.