← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 659268] [NEW] Can't create minimal profile database on 5.0.14

 

Public bug reported:

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

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
Can't create minimal profile database on 5.0.14
https://bugs.launchpad.net/bugs/659268
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Server: New

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





Follow ups

References