← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 786087] Re: issue google_calendar install : ValueError: No references to event.menu_event_main

 

** Branch linked: lp:openobject-addons/extra-6.0

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

Title:
  issue google_calendar install : ValueError: No references to
  event.menu_event_main

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  OpenERP 6.02
  Try to install google_calendar, following issue :

  Traceback (most recent call last):
    File "/etc/openerp/server-6.0.2/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/etc/openerp/server-6.0.2/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/etc/openerp/server-6.0.2/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/etc/openerp/server-6.0.2/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/etc/openerp/server-6.0.2/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/etc/openerp/server-6.0.2/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 "/etc/openerp/server-6.0.2/bin/pooler.py", line 60, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/etc/openerp/server-6.0.2/bin/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/etc/openerp/server-6.0.2/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 "/etc/openerp/server-6.0.2/bin/addons/__init__.py", line 748, in load_module_graph
      load_init_update_xml(cr, m, idref, mode, kind)
    File "/etc/openerp/server-6.0.2/bin/addons/__init__.py", line 641, in load_init_update_xml
      tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
    File "/etc/openerp/server-6.0.2/bin/tools/convert.py", line 975, in convert_xml_import
      obj.parse(doc.getroot())
    File "/etc/openerp/server-6.0.2/bin/tools/convert.py", line 865, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/etc/openerp/server-6.0.2/bin/tools/convert.py", line 586, in _tag_menuitem
      menu_parent_id = self.id_get(cr, rec.get('parent',''))
    File "/etc/openerp/server-6.0.2/bin/tools/convert.py", line 842, in id_get
      res = self.model_id_get(cr, id_str)
    File "/etc/openerp/server-6.0.2/bin/tools/convert.py", line 851, in model_id_get
      return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
    File "/etc/openerp/server-6.0.2/bin/tools/misc.py", line 823, in cached_result
      result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
    File "/etc/openerp/server-6.0.2/bin/addons/base/ir/ir_model.py", line 609, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/etc/openerp/server-6.0.2/bin/tools/misc.py", line 823, in cached_result
      result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
    File "/etc/openerp/server-6.0.2/bin/addons/base/ir/ir_model.py", line 602, in _get_id
      raise ValueError('No references to %s.%s' % (module, xml_id))
  ValueError: No references to event.menu_event_main


References