c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #10229
[Bug 695678] [NEW] [trunk] Unable to edit the path for web icon or web icon hover.
Public bug reported:
Administration/Customization/User Interface/Menu Items-->switch to form
view
Edit path for web icon or web icon hover following traceback appears:
Environment Information :
System : Linux-2.6.32-21-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_IN.ISO8859-1
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1746 nch@xxxxxxxxxxx-20101230052945-fllet5tuayu0uwer
Traceback (most recent call last):
File "/home/janki/workspace/trunk/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/janki/workspace/trunk/server/bin/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/janki/workspace/trunk/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/janki/workspace/trunk/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/janki/workspace/trunk/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/janki/workspace/trunk/server/bin/addons/base/ir/ir_ui_menu.py", line 180, in write
return super(ir_ui_menu, self).write(*args, **kwargs)
File "/home/janki/workspace/trunk/server/bin/osv/orm.py", line 3472, in write
self.pool.get(object)._store_set_values(cr, user, todo, fields, context)
File "/home/janki/workspace/trunk/server/bin/osv/orm.py", line 3729, in _store_set_values
result = self._columns[val[0]].get(cr, self, ids, val, 1, context=context)
File "/home/janki/workspace/trunk/server/bin/osv/fields.py", line 785, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/janki/workspace/trunk/server/bin/addons/base/ir/ir_ui_menu.py", line 274, in _get_image_icon
res[menu.id]['web_icon_data'] = self.read_image(menu.web_icon)
File "/home/janki/workspace/trunk/server/bin/addons/base/ir/ir_ui_menu.py", line 259, in read_image
icon_path = addons.get_module_resource(path_info[0],path_info[1])
IndexError: list index out of range
** Affects: openobject-server
Importance: Medium
Assignee: OpenERP's Framework R&D (openerp-dev-framework)
Status: Confirmed
** Changed in: openobject-server
Importance: Undecided => Medium
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
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/695678
Title:
[trunk] Unable to edit the path for web icon or web icon hover.
Status in OpenObject Server:
Confirmed
Bug description:
Administration/Customization/User Interface/Menu Items-->switch to form view
Edit path for web icon or web icon hover following traceback appears:
Environment Information :
System : Linux-2.6.32-21-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : en_IN.ISO8859-1
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1746 nch@xxxxxxxxxxx-20101230052945-fllet5tuayu0uwer
Traceback (most recent call last):
File "/home/janki/workspace/trunk/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/janki/workspace/trunk/server/bin/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/janki/workspace/trunk/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/janki/workspace/trunk/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/janki/workspace/trunk/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/janki/workspace/trunk/server/bin/addons/base/ir/ir_ui_menu.py", line 180, in write
return super(ir_ui_menu, self).write(*args, **kwargs)
File "/home/janki/workspace/trunk/server/bin/osv/orm.py", line 3472, in write
self.pool.get(object)._store_set_values(cr, user, todo, fields, context)
File "/home/janki/workspace/trunk/server/bin/osv/orm.py", line 3729, in _store_set_values
result = self._columns[val[0]].get(cr, self, ids, val, 1, context=context)
File "/home/janki/workspace/trunk/server/bin/osv/fields.py", line 785, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/janki/workspace/trunk/server/bin/addons/base/ir/ir_ui_menu.py", line 274, in _get_image_icon
res[menu.id]['web_icon_data'] = self.read_image(menu.web_icon)
File "/home/janki/workspace/trunk/server/bin/addons/base/ir/ir_ui_menu.py", line 259, in read_image
icon_path = addons.get_module_resource(path_info[0],path_info[1])
IndexError: list index out of range
Follow ups
References