← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 695627] Re: Installation fails with ValueError: No references to product.group_product_manager

 

I can confirm this bug.

Installing the dependency module 'base_sale_multichannels' causes the
following problem:

Environment Information : 
System : Linux-2.6.32-27-generic-x86_64-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-27-generic
Operating System Version : #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1747 nch@xxxxxxxxxxx-20101230124417-dkvdjo5g5cadytu7
Traceback (most recent call last):
  File "/home/openerp/openerp-server/magento/openobject-server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/addons/base/module/wizard/base_module_upgrade.py", line 100, in upgrade_module
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/openerp/openerp-server/magento/openobject-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/openerp-server/magento/openobject-server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/addons/__init__.py", line 875, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/addons/__init__.py", line 742, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/addons/__init__.py", line 633, in load_init_update_xml
    tools.convert_csv_import(cr, m, os.path.basename(filename), fp.read(), idref, mode=mode, noupdate=noupdate)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/tools/convert.py", line 947, in convert_csv_import
    result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/osv/orm.py", line 858, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/osv/orm.py", line 808, in process_liness
    res = _get_id(relation, line[i], current_module, mode)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/osv/orm.py", line 722, in _get_id
    record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/tools/misc.py", line 813, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/openerp/openerp-server/magento/openobject-server/bin/addons/base/ir/ir_model.py", line 426, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to product.group_product_manager

OpenERP-Server-Trunk Revno: 3198
OpenERP-Addons-Trunk Revno: 4139
OpenERP-Extra Addons-Trunk Revno: 5137
OpenERP-Openerp6-module Revno: 379

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

Title:
  Installation fails with ValueError: No references to product.group_product_manager

Status in Magento Open ERP Connector:
  New

Bug description:
  Steps to reproduce:

1. update all from trunk
2. create new database
3. set magento erp connector module for installation
4. installation fails with following message:

ERROR:common.message:Message No references to product.group_product_manager: 
Environment Information : 
System : Darwin-10.5.0-i386-64bit
OS Name : posix
Your System is not lsb compliant
Operating System Release : 10.5.0
Operating System Version : Darwin Kernel Version 10.5.0: Fri Nov  5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386
Operating System Architecture : 64bit
Operating System Locale : en_GB.UTF8
Python Version : 2.7.1
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :25 peter@xxxxxxxxxxx-20101230095355-ycz1p0np6uktmkbb
Traceback (most recent call last):
  File "/opt/local/src/openerp/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/opt/local/src/openerp/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/opt/local/src/openerp/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/local/src/openerp/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/local/src/openerp/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/local/src/openerp/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 100, in upgrade_module
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/opt/local/src/openerp/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/opt/local/src/openerp/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/opt/local/src/openerp/server/bin/addons/__init__.py", line 875, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/opt/local/src/openerp/server/bin/addons/__init__.py", line 742, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/opt/local/src/openerp/server/bin/addons/__init__.py", line 633, in load_init_update_xml
    tools.convert_csv_import(cr, m, os.path.basename(filename), fp.read(), idref, mode=mode, noupdate=noupdate)
  File "/opt/local/src/openerp/server/bin/tools/convert.py", line 947, in convert_csv_import
    result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
  File "/opt/local/src/openerp/server/bin/osv/orm.py", line 858, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/opt/local/src/openerp/server/bin/osv/orm.py", line 808, in process_liness
    res = _get_id(relation, line[i], current_module, mode)
  File "/opt/local/src/openerp/server/bin/osv/orm.py", line 722, in _get_id
    record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
  File "/opt/local/src/openerp/server/bin/tools/misc.py", line 813, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/opt/local/src/openerp/server/bin/addons/base/ir/ir_model.py", line 426, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to product.group_product_manager





References