openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14703
[Bug 1039872] Re: install crm_claim gets traceback
Hello,
It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1039872-nco
Revno: 7276
Revision ID: nco@xxxxxxxxxxx-20120822055023-4y39imx6dhwyjqsi
It will be available in trunk soon.
Thanks,
NCO.
** Changed in: openobject-addons
Status: In Progress => Fix Committed
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1039872-nco
--
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/1039872
Title:
install crm_claim gets traceback
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Hello ,
Install crm_claim module in new db gets this traceback,
2012-08-22 05:04:55,232 2239 ERROR crm openerp.tools.convert: Parse error in /home/nco/workspace/rdtools/addons/trunk/crm_claim/crm_claim_menu.xml:53:
<menuitem id="base.menu_project_config_project" name="Stages" parent="base.menu_definitions" sequence="1"/>
Traceback (most recent call last):
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 858, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 579, in _tag_menuitem
menu_parent_id = self.id_get(cr, rec.get('parent',''))
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 835, in id_get
res = self.model_id_get(cr, id_str)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 844, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 46, in lookup
value = d[args] = self.method(self2, cr, *args)
File "/home/nco/workspace/rdtools/server/trunk/openerp/addons/base/ir/ir_model.py", line 725, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 46, in lookup
value = d[args] = self.method(self2, cr, *args)
File "/home/nco/workspace/rdtools/server/trunk/openerp/addons/base/ir/ir_model.py", line 718, 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: base.menu_definitions
2012-08-22 05:04:55,261 2239 ERROR crm openerp: Failed to initialize database `crm`.
Traceback (most recent call last):
File "./openerp-server", line 95, in preload_registry
db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
File "/home/nco/workspace/rdtools/server/trunk/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/registry.py", line 154, in get
update_module, pooljobs)
File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/registry.py", line 176, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 332, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 243, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 178, in load_module_graph
load_update_xml(module_name, idref, mode)
File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 75, in <lambda>
load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
File "/home/nco/workspace/rdtools/server/trunk/openerp/modules/loading.py", line 124, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 965, in convert_xml_import
obj.parse(doc.getroot())
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 858, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 579, in _tag_menuitem
menu_parent_id = self.id_get(cr, rec.get('parent',''))
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 835, in id_get
res = self.model_id_get(cr, id_str)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/convert.py", line 844, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 46, in lookup
value = d[args] = self.method(self2, cr, *args)
File "/home/nco/workspace/rdtools/server/trunk/openerp/addons/base/ir/ir_model.py", line 725, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/home/nco/workspace/rdtools/server/trunk/openerp/tools/cache.py", line 46, in lookup
value = d[args] = self.method(self2, cr, *args)
File "/home/nco/workspace/rdtools/server/trunk/openerp/addons/base/ir/ir_model.py", line 718, 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: base.menu_definitions
Thanks,
NCO.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1039872/+subscriptions
References