← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 673056] [NEW] Impossible to install the "Chemical" module

 

Public bug reported:

When trying to install the "chemical" module in the trunk, the following
error is reported :

Environment Information : 
System : Linux-2.6.32-25-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-25-generic
Operating System Version : #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : fr_BE.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1675 launchpad_translations_on_behalf_of_openerp-20101109044756-3mjfecdutx8jmnaj
Traceback (most recent call last):
  File "/home/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/trunk/server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/trunk/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 99, in upgrade_module
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/openerp/trunk/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/openerp/trunk/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/openerp/trunk/server/bin/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/openerp/trunk/server/bin/addons/__init__.py", line 728, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/openerp/trunk/server/bin/addons/__init__.py", line 624, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 960, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 851, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 572, in _tag_menuitem
    menu_parent_id = self.id_get(cr, 'ir.ui.menu', rec.get('parent',''))
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 824, in id_get
    res = self.model_id_get(cr, model, id_str)
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 833, in model_id_get
    result = model_data_obj._get_id(cr, self.uid, mod, id_str)
  File "/home/openerp/trunk/server/bin/tools/misc.py", line 799, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/openerp/trunk/server/bin/addons/base/ir/ir_model.py", line 402, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to product.menu_config_product

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

-- 
Impossible to install the "Chemical" module
https://bugs.launchpad.net/bugs/673056
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
When trying to install the "chemical" module in the trunk, the following error is reported : 

Environment Information : 
System : Linux-2.6.32-25-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-25-generic
Operating System Version : #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : fr_BE.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1675 launchpad_translations_on_behalf_of_openerp-20101109044756-3mjfecdutx8jmnaj
Traceback (most recent call last):
  File "/home/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/trunk/server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/trunk/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 99, in upgrade_module
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/openerp/trunk/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/openerp/trunk/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/openerp/trunk/server/bin/addons/__init__.py", line 853, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/openerp/trunk/server/bin/addons/__init__.py", line 728, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/openerp/trunk/server/bin/addons/__init__.py", line 624, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 960, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 851, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 572, in _tag_menuitem
    menu_parent_id = self.id_get(cr, 'ir.ui.menu', rec.get('parent',''))
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 824, in id_get
    res = self.model_id_get(cr, model, id_str)
  File "/home/openerp/trunk/server/bin/tools/convert.py", line 833, in model_id_get
    result = model_data_obj._get_id(cr, self.uid, mod, id_str)
  File "/home/openerp/trunk/server/bin/tools/misc.py", line 799, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/openerp/trunk/server/bin/addons/base/ir/ir_model.py", line 402, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to product.menu_config_product





Follow ups

References