← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 623845] Re: improve error messages during XML view processing

 

looks good, didn't test

-- 
improve error messages during XML view processing
https://bugs.launchpad.net/bugs/623845
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: In Progress

Bug description:
for debugging it would be helpfull to know names of
module, view, parent view

Environment Information : 
System : Linux-2.6.34-12-desktop-x86_64-with-SuSE-11.3-x86_64
OS Name : posix
LSB Version:	core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID:	SUSE LINUX
Description:	openSUSE 11.3 (x86_64)
Release:	11.3
Codename:	n/a
Operating System Release : 2.6.34-12-desktop
Operating System Version : #1 SMP PREEMPT 2010-06-29 02:39:08 +0200
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0dev
Last revision No. & ID :1504 codehost@crowberry-20100822034827-lrh0d7zya8vg1ov6
Traceback (most recent call last):
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/netsvc.py", line 431, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/service/web_services.py", line 589, in dispatch
    res = fn(db, uid, *params)
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/audittrail/audittrail.py", line 503, in execute
    res = my_fct(db, uid, model, method, *args)
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/audittrail/audittrail.py", line 488, in my_fct
    return fct_src(db, uid, model, method, *args)
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/osv.py", line 135, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/osv.py", line 125, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1674, in fields_view_get
    result['arch'] = _inherit_apply_rec(inherit_result, sql_res[3])
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1669, in _inherit_apply_rec
    result = _inherit_apply(result, inherit)
  File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1613, in _inherit_apply
    raise AttributeError(_("Couldn't find tag '%s' in parent view !") % tag)
AttributeError: Couldn't find tag '<field colspan="4" context="address=address" name="bank_ids" nolabel="1" select="2">' in parent view !