Exception: No references to poweremail.menu_poweremail_administration_server

Bug #495474 reported by Vadim - Enapps LTD on 2009-12-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Power Email
Fix Committed
Undecided
Sharoon Thomas http://openlabs.co.in

Bug Description

when I try to install the latest revision from the current trunk or the latest 6.2 from zip, i get this:

  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 635, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 615, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/lib/python2.5/site-packages/openerp-server/pooler.py", line 62, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/lib/python2.5/site-packages/openerp-server/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/__init__.py", line 738, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/__init__.py", line 628, in load_module_graph
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 870, in convert_xml_import
    obj.parse(xmlstr)
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 764, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 502, in _tag_menuitem
    menu_parent_id = self.id_get(cr, 'ir.ui.menu', rec.get('parent',''))
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 747, in id_get
    result = self.pool.get('ir.model.data')._get_id(cr, self.uid, mod, id_str)
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/misc.py", line 686, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/ir/ir_model.py", line 435, in _get_id
    raise Exception('No references to %s.%s' % (module, xml_id))
Exception: No references to poweremail.menu_poweremail_administration_server

I will try one more time shortly on a clean clean database and report again if i have the same problem

Related branches

checked one more time and I get the same result on a clean db

I cannot recreate the error.
Can you update to the latest version and check. Please make sure you have removed the zip file from the addons directory before changin

Changed in poweremail:
assignee: nobody → Sharoon Thomas (sharoonthomas)
status: New → Incomplete

I uploaded the folder manually to the server.
I used a brand new company instalation with the manufacturing profile and checked just CRM checkbox on the way of configuring. Now I get a different error:

  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 635, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 615, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/lib/python2.5/site-packages/openerp-server/pooler.py", line 62, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/lib/python2.5/site-packages/openerp-server/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/__init__.py", line 738, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/__init__.py", line 578, in load_module_graph
    register_class(package.name)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/__init__.py", line 400, in register_class
    imp.load_module(m, *fm)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/powermail/__init__.py", line 26, in <module>
    import poweremail_core
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/powermail/poweremail_core.py", line 43, in <module>
    class poweremail_core_accounts(osv.osv):
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/powermail/poweremail_core.py", line 116, in poweremail_core_accounts
    (_constraint_unique, _('Error: You are not allowed to have more than 1 account.'), [])
NameError: name '_' is not defined

brand new install with manufacturing profile and no chart of accounts and nothing else, give the below:
Just to confirm, I am using the unpacked zip file 5.0.6.2

 File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 635, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 615, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/lib/python2.5/site-packages/openerp-server/pooler.py", line 62, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/lib/python2.5/site-packages/openerp-server/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/__init__.py", line 738, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/__init__.py", line 628, in load_module_graph
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 870, in convert_xml_import
    obj.parse(xmlstr)
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 764, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 502, in _tag_menuitem
    menu_parent_id = self.id_get(cr, 'ir.ui.menu', rec.get('parent',''))
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/convert.py", line 747, in id_get
    result = self.pool.get('ir.model.data')._get_id(cr, self.uid, mod, id_str)
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/misc.py", line 686, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/ir/ir_model.py", line 435, in _get_id
    raise Exception('No references to %s.%s' % (module, xml_id))
Exception: No references to poweremail.menu_poweremail_administration_server

I still thik you are using a previous version.

Let me release a new module with the updated code as a ZIP.

Check poweremail after 5 minutes

got the new files from the zip - version 5.0.0.6.3
same error for on the backup db, let me to a clean install one more time

clean install did one more time, same error unfortunately, sorry.

I think i have an idea why is this error, but i can be wrong.
I am using openerp 5.0.7
It was a new install that I done a few days ago and i was expecting it to install a 5.0.6, but it did the 5.0.7. weird. last night i reinstalled everything with the all is one installer and the files got updated, yet i am getting the same error.

Hi,

I have done a patch on the server, can you update to trunk and check?

Changed in poweremail:
status: Incomplete → Fix Committed

perfection! installed from the first time. so it was to do with the new openerp revision wasnt it?
many thanks - out to configure it now :)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers