openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13208
[Bug 1020176] [NEW] Last nightly build error (OpenERP Server 6.1-20120701-233246)
Public bug reported:
I had my OpenERP v6.1 correctly running on Ubuntu 10.04 and I just
installed the new nightly build (version: OpenERP Server
6.1-20120701-233246). Now when I enter different menus I get the
following error:
Client Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 1525, in load
action = req.session.model(action_type[0]['type']).read([action_id], False, ctx)
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 611, in send
raise fault
Server Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/pymodules/python2.6/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 3416, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 3539, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/usr/lib/pymodules/python2.6/openerp/osv/fields.py", line 1129, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/usr/lib/pymodules/python2.6/openerp/addons/base/ir/ir_actions.py", line 223, in _search_view
'search', context)
File "/usr/lib/pymodules/python2.6/openerp/addons/account/account_invoice.py", line 315, in fields_view_get
res = super(account_invoice,self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 2153, in fields_view_get
xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 1793, in __view_look_dom_arch
fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 1742, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 1742, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 1709, in __view_look_dom
transfer_node_to_modifiers(node, modifiers, context, in_tree_view)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 110, in transfer_node_to_modifiers
v = bool(eval(node.get(a), {'context': context or {}}))
File "/usr/lib/pymodules/python2.6/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
KeyError: 'type'
I try to check what can be but cannot find it. It seems that the last
nightly build had done something strange.
** Affects: openobject-addons
Importance: Undecided
Status: Invalid
--
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/1020176
Title:
Last nightly build error (OpenERP Server 6.1-20120701-233246)
Status in OpenERP Addons (modules):
Invalid
Bug description:
I had my OpenERP v6.1 correctly running on Ubuntu 10.04 and I just
installed the new nightly build (version: OpenERP Server
6.1-20120701-233246). Now when I enter different menus I get the
following error:
Client Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 1525, in load
action = req.session.model(action_type[0]['type']).read([action_id], False, ctx)
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 611, in send
raise fault
Server Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/openerp/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/pymodules/python2.6/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 3416, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 3539, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/usr/lib/pymodules/python2.6/openerp/osv/fields.py", line 1129, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/usr/lib/pymodules/python2.6/openerp/addons/base/ir/ir_actions.py", line 223, in _search_view
'search', context)
File "/usr/lib/pymodules/python2.6/openerp/addons/account/account_invoice.py", line 315, in fields_view_get
res = super(account_invoice,self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 2153, in fields_view_get
xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 1793, in __view_look_dom_arch
fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 1742, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 1742, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 1709, in __view_look_dom
transfer_node_to_modifiers(node, modifiers, context, in_tree_view)
File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 110, in transfer_node_to_modifiers
v = bool(eval(node.get(a), {'context': context or {}}))
File "/usr/lib/pymodules/python2.6/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
KeyError: 'type'
I try to check what can be but cannot find it. It seems that the last
nightly build had done something strange.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1020176/+subscriptions
Follow ups
References