← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 705415] [NEW] installation fails with ValueError: No references to stock.group_stock_manager

 

Public bug reported:

Steps to reproduce:

1. Create new database on 6.0 server
2. Using gtk or web client, schedule magentoerpconnect for installation
3. Error message below

I suspect this is a regression problem with permissions.

Environment Information : 
System : Darwin-10.6.0-i386-64bit
OS Name : posix
Your System is not lsb compliant
Operating System Release : 10.6.0
Operating System Version : Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
Operating System Architecture : 64bit
Operating System Locale : en_GB.UTF8
Python Version : 2.7.1
OpenERP-Client Version : 6.0.0
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/opt/local/src/openerp6/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/opt/local/src/openerp6/server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/opt/local/src/openerp6/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/local/src/openerp6/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/local/src/openerp6/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/local/src/openerp6/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/opt/local/src/openerp6/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/openerp6/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/opt/local/src/openerp6/server/bin/addons/__init__.py", line 883, in load_modules
    processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
  File "/opt/local/src/openerp6/server/bin/addons/__init__.py", line 748, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/opt/local/src/openerp6/server/bin/addons/__init__.py", line 635, 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/openerp6/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/openerp6/server/bin/osv/orm.py", line 860, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/opt/local/src/openerp6/server/bin/osv/orm.py", line 810, in process_liness
    res = _get_id(relation, line[i], current_module, mode)
  File "/opt/local/src/openerp6/server/bin/osv/orm.py", line 727, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to stock.group_stock_manager

** Affects: magentoerpconnect
     Importance: Undecided
         Status: New

-- 
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/705415

Title:
  installation fails with ValueError: No references to
  stock.group_stock_manager

Status in Magento Open ERP Connector:
  New

Bug description:
  Steps to reproduce:

  1. Create new database on 6.0 server
  2. Using gtk or web client, schedule magentoerpconnect for installation
  3. Error message below

  I suspect this is a regression problem with permissions.

  Environment Information : 
  System : Darwin-10.6.0-i386-64bit
  OS Name : posix
  Your System is not lsb compliant
  Operating System Release : 10.6.0
  Operating System Version : Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
  Operating System Architecture : 64bit
  Operating System Locale : en_GB.UTF8
  Python Version : 2.7.1
  OpenERP-Client Version : 6.0.0
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/opt/local/src/openerp6/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/opt/local/src/openerp6/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/opt/local/src/openerp6/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/local/src/openerp6/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/local/src/openerp6/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/local/src/openerp6/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/opt/local/src/openerp6/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/openerp6/server/bin/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/opt/local/src/openerp6/server/bin/addons/__init__.py", line 883, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/opt/local/src/openerp6/server/bin/addons/__init__.py", line 748, in load_module_graph
      load_init_update_xml(cr, m, idref, mode, kind)
    File "/opt/local/src/openerp6/server/bin/addons/__init__.py", line 635, 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/openerp6/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/openerp6/server/bin/osv/orm.py", line 860, in import_data
      process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
    File "/opt/local/src/openerp6/server/bin/osv/orm.py", line 810, in process_liness
      res = _get_id(relation, line[i], current_module, mode)
    File "/opt/local/src/openerp6/server/bin/osv/orm.py", line 727, in _get_id
      raise ValueError('No references to %s.%s' % (module, xml_id))
  ValueError: No references to stock.group_stock_manager





Follow ups

References