Can't create new database: "menus_by_module" don't exist

Bug #314986 reported by Nicolas DS
2
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Critical
Christophe Simonis (OpenERP)

Bug Description

I am using the lastest trunk version.

When I try to create a new database I get this error:
[Thu Jan 08 2009 08:21:40] INFO:web-services:CREATE DATABASE: terp
[Thu Jan 08 2009 08:21:40] INFO:dbpool:Connecting to terp
[Thu Jan 08 2009 08:21:41] INFO:init:module base loading objects
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[01]: CREATE DATABASE
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[02]: Traceback (most recent call last):
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[03]: File "/usr/local/lib/openerp/server/bin/service/web_services.py", line 88, in __call__
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[04]: update_module=True)[1]
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[05]: File "/usr/local/lib/openerp/server/bin/pooler.py", line 61, in restart_pool
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[06]: return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[07]: File "/usr/local/lib/openerp/server/bin/pooler.py", line 40, in get_db_and_pool
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[08]: addons.load_modules(db, force_demo, status, update_module)
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[09]: File "/usr/local/lib/openerp/server/bin/addons/__init__.py", line 614, in load_modules
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[10]: load_module_graph(cr, basegraph, status, check_access_rules=False, report=report)
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[11]: File "/usr/local/lib/openerp/server/bin/addons/__init__.py", line 533, in load_module_graph
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[12]: modobj.check(cr, 1, [mid])
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[13]: File "/usr/local/lib/openerp/server/bin/addons/base/module/module.py", line 476, in check
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[14]: if not mod.description:
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[15]: File "/usr/local/lib/openerp/server/bin/osv/orm.py", line 208, in __getattr__
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[16]: return self[name]
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[17]: File "/usr/local/lib/openerp/server/bin/osv/orm.py", line 175, in __getitem__
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[18]: datas = self._table.read(self._cr, self._uid, ids, fffields, context=self._context, load="_classic_write")
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[19]: File "/usr/local/lib/openerp/server/bin/osv/orm.py", line 1842, in read
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[20]: result = self._read_flat(cr, user, select, fields, context, load)
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[21]: File "/usr/local/lib/openerp/server/bin/osv/orm.py", line 1889, in _read_flat
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[22]: self._order))
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[23]: File "/usr/local/lib/openerp/server/bin/sql_db.py", line 76, in wrapper
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[24]: return f(self, *args, **kwargs)
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[25]: File "/usr/local/lib/openerp/server/bin/sql_db.py", line 114, in execute
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[26]: res = self._obj.execute(query, params)
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[27]: ProgrammingError: la colonne « menus_by_module » n'existe pas
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[28]: LINE 1: SELECT "website","menus_by_module","certificate","descriptio...
[Thu Jan 08 2009 08:21:41] ERROR:web-services:[29]: ^

Changed in openobject-server:
assignee: nobody → kangol
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Christophe Simonis (OpenERP) (kangol) wrote :

fixed by 1580 <email address hidden>

Changed in openobject-server:
status: Confirmed → Fix Released
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.