c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17011
[Bug 722869] Re: Crash when installing module product_listprice_upgrade
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
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/722869
Title:
Crash when installing module product_listprice_upgrade
Status in OpenERP Modules (addons):
In Progress
Bug description:
Version Series 6.0 revno: 4418
1) Installing 6.0 with only sales, then installing the module product_listprice_upgrade
2) The result:
Traceback (most recent call last):
File "/home/jplevy/baazar-projects/openerp60/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/jplevy/baazar-projects/openerp60/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/jplevy/baazar-projects/openerp60/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/jplevy/baazar-projects/openerp60/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 "/home/jplevy/baazar-projects/openerp60/server/bin/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/home/jplevy/baazar-projects/openerp60/server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home/jplevy/baazar-projects/openerp60/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 "/home/jplevy/baazar-projects/openerp60/server/bin/addons/__init__.py", line 748, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/home/jplevy/baazar-projects/openerp60/server/bin/addons/__init__.py", line 641, in load_init_update_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "/home/jplevy/baazar-projects/openerp60/server/bin/tools/convert.py", line 975, in convert_xml_import
obj.parse(doc.getroot())
File "/home/jplevy/baazar-projects/openerp60/server/bin/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/jplevy/baazar-projects/openerp60/server/bin/tools/convert.py", line 586, in _tag_menuitem
menu_parent_id = self.id_get(cr, rec.get('parent',''))
File "/home/jplevy/baazar-projects/openerp60/server/bin/tools/convert.py", line 842, in id_get
res = self.model_id_get(cr, id_str)
File "/home/jplevy/baazar-projects/openerp60/server/bin/tools/convert.py", line 851, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/home/jplevy/baazar-projects/openerp60/server/bin/tools/misc.py", line 823, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/home/jplevy/baazar-projects/openerp60/server/bin/addons/base/ir/ir_model.py", line 609, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/home/jplevy/baazar-projects/openerp60/server/bin/tools/misc.py", line 823, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/home/jplevy/baazar-projects/openerp60/server/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 product.menu_main_product
3) Platform: Linux 10.0.4 Postgres 8.4
References