Can't create new database on 5.0.14

Bug #659187 reported by Messaoud GUERRIDA - http://www.Smile.fr
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

revno 2140.

I tried to create a new data-base with minimal profile, but i have this msg :

Traceback (most recent call last):
  File "/home/megue/openerp/trunk/server/bin/netsvc.py", line 299, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/megue/openerp/trunk/server/bin/netsvc.py", line 77, in __call__
    return getattr(self, method)(*params)
  File "/home/megue/openerp/trunk/server/bin/service/web_services.py", line 633, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/home/megue/openerp/trunk/server/bin/service/web_services.py", line 613, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/home/megue/openerp/trunk/server/bin/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/home/megue/openerp/trunk/server/bin/wizard/__init__.py", line 73, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/home/megue/openerp/trunk/addons/base_setup/wizard/wizard_base_setup.py", line 208, in _update
    (db, pool)=pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/megue/openerp/trunk/server/bin/pooler.py", line 61, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/megue/openerp/trunk/server/bin/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/megue/openerp/trunk/server/bin/addons/__init__.py", line 736, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/megue/openerp/trunk/server/bin/addons/__init__.py", line 626, in load_module_graph
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/home/megue/openerp/trunk/server/bin/tools/convert.py", line 877, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/megue/openerp/trunk/server/bin/tools/convert.py", line 774, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/megue/openerp/trunk/server/bin/tools/convert.py", line 514, in _tag_menuitem
    menu_parent_id = self.id_get(cr, 'ir.ui.menu', rec.get('parent',''))
  File "/home/megue/openerp/trunk/server/bin/tools/convert.py", line 760, in id_get
    return int(self.pool.get('ir.model.data').read(cr, self.uid, [result], ['res_id'])[0]['res_id'])
IndexError: list index out of range

Revision history for this message
Messaoud GUERRIDA - http://www.Smile.fr (megue) wrote :

I have this bug only with minimal profile.

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

Hello Megue,

I just tried and successfully installed new db with each profile.

I guess there is a problem with your local code. Seems like some changes done by you have caused you such an error.

Possible reasons:
1. You removed some data_xml records.
2. Some menus have been removed.

Thanks.

Changed in openobject-server:
status: New → Invalid
milestone: none → 5.0.15
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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