← Back to team overview

openerp-india team mailing list archive

[Bug 1297784] [NEW] Error installing Project Management module: No such external ID currently defined in the system: mail.group_all_employees

 

Public bug reported:

I installed OpenERP from the http://nightly.openerp.com/7.0/nightly/deb/
repository (Ubuntu 12.04 Server 64-bit). I am running  OpenERP version
7.0-20140304-000402.

When trying to install the Project Management module I get the
following:

Client Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1132, in call_button
    action = self._call_kw(req, model, method, args, {})
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1120, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/wizard/base_module_upgrade.py", line 90, in upgrade_module
    pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 233, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 354, in load_modules
    loaded_modules, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 256, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 188, in load_module_graph
    load_data(module_name, idref, mode)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 76, in <lambda>
    load_data = lambda *args: _load_data(cr, *args, kind='data')
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 124, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 954, in convert_xml_import
    obj.parse(doc.getroot())
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 805, in _tag_record
    f_val = self.id_get(cr, f_ref)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 824, in id_get
    res = self.model_id_get(cr, id_str)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 833, in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
    value = d[key] = self.method(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 874, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
    value = d[key] = self.method(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 867, in _get_id
    raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
ValueError: No such external ID currently defined in the system: mail.group_all_employees

I've defined the outgoing mail server under Technical Settings, although
am yet to get the mail flow working, so suspect this is something to do
with my mail setup.

I've installed auth_ldap and users_ldap_populate to pull in users from
AD (both of which are working), but other than that no other modules
have been installed.

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1297784

Title:
  Error installing Project Management module: No such external ID
  currently defined in the system: mail.group_all_employees

Status in OpenERP Addons (modules):
  New

Bug description:
  I installed OpenERP from the
  http://nightly.openerp.com/7.0/nightly/deb/ repository (Ubuntu 12.04
  Server 64-bit). I am running  OpenERP version 7.0-20140304-000402.

  When trying to install the Project Management module I get the
  following:

  Client Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch
      response["result"] = method(self, **self.params)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1132, in call_button
      action = self._call_kw(req, model, method, args, {})
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1120, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 42, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send
      raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch
      res = fn(db, uid, *params)
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/wizard/base_module_upgrade.py", line 90, in upgrade_module
      pooler.restart_pool(cr.dbname, update_module=True)
    File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool
      registry = RegistryManager.new(db_name, force_demo, status, update_module)
    File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 233, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 354, in load_modules
      loaded_modules, update_module)
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 256, in load_marked_modules
      loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 188, in load_module_graph
      load_data(module_name, idref, mode)
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 76, in <lambda>
      load_data = lambda *args: _load_data(cr, *args, kind='data')
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 124, in _load_data
      tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
    File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 954, in convert_xml_import
      obj.parse(doc.getroot())
    File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 805, in _tag_record
      f_val = self.id_get(cr, f_ref)
    File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 824, in id_get
      res = self.model_id_get(cr, id_str)
    File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 833, in model_id_get
      return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
    File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
      value = d[key] = self.method(self2, cr, *args)
    File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 874, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
      value = d[key] = self.method(self2, cr, *args)
    File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 867, in _get_id
      raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
  ValueError: No such external ID currently defined in the system: mail.group_all_employees

  I've defined the outgoing mail server under Technical Settings,
  although am yet to get the mail flow working, so suspect this is
  something to do with my mail setup.

  I've installed auth_ldap and users_ldap_populate to pull in users from
  AD (both of which are working), but other than that no other modules
  have been installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1297784/+subscriptions


Follow ups

References