credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #00641
[Bug 900275] [NEW] point_of_sale : IndexError: list index out of range
Public bug reported:
while installing the point of sale i got the trace back
Client Traceback (most recent call last):
File "/home/amit/OpenERP/web/trunk/addons/web/common/http.py", line 154, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/amit/OpenERP/web/trunk/addons/web/controllers/main.py", line 799, in call
return self.call_common(req, model, method, args, domain_id, context_id)
File "/home/amit/OpenERP/web/trunk/addons/web/controllers/main.py", line 795, in call_common
return getattr(req.session.model(model), method)(*args)
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 429, in proxy
*args)
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 306, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 276, in send
raise fault
Server Traceback (most recent call last):
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/amit/OpenERP/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/amit/OpenERP/server/trunk/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amit/OpenERP/server/trunk/openerp/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/amit/OpenERP/server/trunk/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/home/amit/OpenERP/server/trunk/openerp/modules/registry.py", line 160, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 339, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 254, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 193, in load_module_graph
load_update_xml(module_name, idref, mode)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 92, in <lambda>
load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 140, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/home/amit/OpenERP/server/trunk/openerp/tools/convert.py", line 999, in convert_xml_import
obj.parse(doc.getroot())
File "/home/amit/OpenERP/server/trunk/openerp/tools/convert.py", line 889, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/amit/OpenERP/server/trunk/openerp/tools/convert.py", line 856, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/home/amit/OpenERP/server/trunk/openerp/addons/base/ir/ir_model.py", line 719, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/amit/OpenERP/server/trunk/openerp/addons/base/ir/ir_ui_menu.py", line 147, in create
return super(ir_ui_menu, self).create(*args, **kwargs)
File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 4161, in create
self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 4284, in _store_set_values
result = self._columns[val[0]].get(cr, self, ids, val, SUPERUSER_ID, context=context)
File "/home/amit/OpenERP/server/trunk/openerp/osv/fields.py", line 1034, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/amit/OpenERP/server/trunk/openerp/addons/base/ir/ir_ui_menu.py", line 247, in _get_image_icon
r[fn] = self.read_image(menu[fn_src])
File "/home/amit/OpenERP/server/trunk/openerp/addons/base/ir/ir_ui_menu.py", line 231, in read_image
icon_path = openerp.modules.get_module_resource(path_info[0],path_info[1])
IndexError: list index out of range
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/900275
Title:
point_of_sale : IndexError: list index out of range
Status in OpenERP Addons (modules):
New
Bug description:
while installing the point of sale i got the trace back
Client Traceback (most recent call last):
File "/home/amit/OpenERP/web/trunk/addons/web/common/http.py", line 154, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/amit/OpenERP/web/trunk/addons/web/controllers/main.py", line 799, in call
return self.call_common(req, model, method, args, domain_id, context_id)
File "/home/amit/OpenERP/web/trunk/addons/web/controllers/main.py", line 795, in call_common
return getattr(req.session.model(model), method)(*args)
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 429, in proxy
*args)
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 306, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 276, in send
raise fault
Server Traceback (most recent call last):
File "/home/amit/OpenERP/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/amit/OpenERP/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/amit/OpenERP/server/trunk/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amit/OpenERP/server/trunk/openerp/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/amit/OpenERP/server/trunk/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/home/amit/OpenERP/server/trunk/openerp/modules/registry.py", line 160, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 339, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 254, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 193, in load_module_graph
load_update_xml(module_name, idref, mode)
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 92, in <lambda>
load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
File "/home/amit/OpenERP/server/trunk/openerp/modules/loading.py", line 140, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/home/amit/OpenERP/server/trunk/openerp/tools/convert.py", line 999, in convert_xml_import
obj.parse(doc.getroot())
File "/home/amit/OpenERP/server/trunk/openerp/tools/convert.py", line 889, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/amit/OpenERP/server/trunk/openerp/tools/convert.py", line 856, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/home/amit/OpenERP/server/trunk/openerp/addons/base/ir/ir_model.py", line 719, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/amit/OpenERP/server/trunk/openerp/addons/base/ir/ir_ui_menu.py", line 147, in create
return super(ir_ui_menu, self).create(*args, **kwargs)
File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 4161, in create
self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 4284, in _store_set_values
result = self._columns[val[0]].get(cr, self, ids, val, SUPERUSER_ID, context=context)
File "/home/amit/OpenERP/server/trunk/openerp/osv/fields.py", line 1034, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/amit/OpenERP/server/trunk/openerp/addons/base/ir/ir_ui_menu.py", line 247, in _get_image_icon
r[fn] = self.read_image(menu[fn_src])
File "/home/amit/OpenERP/server/trunk/openerp/addons/base/ir/ir_ui_menu.py", line 231, in read_image
icon_path = openerp.modules.get_module_resource(path_info[0],path_info[1])
IndexError: list index out of range
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/900275/+subscriptions
Follow ups
References