I am getting a "junk after document element" error when I try to launch a tree display from a menuitem in the trunk release but not in v4.x. I've checked all the xml files for extraneous chars after the closing doc tag and they are all fine.
ERROR:common.message:MSG junk after document element: line 4, column 4: Traceback (most recent call last): File "/root/build/openerp/server/bin/netsvc.py", line 384, in run r = m(*msg[2:]) File "/root/build/openerp/addons/base_module_record/base_module_record.py", line 208, in execute res = fnct(*args, **argv) File "/root/build/openerp/server/bin/service/web_services.py", line 382, in execute res = service.execute(db, uid, object, method, *args) File "/root/build/openerp/server/bin/osv/osv.py", line 115, in execute res = pool.execute_cr(cr, uid, obj, method, *args, **kw) File "/root/build/openerp/server/bin/osv/osv.py", line 90, in execute_cr return getattr(object,method)(cr, uid, *args, **kw) File "/root/build/openerp/server/bin/osv/orm.py", line 985, in fields_view_get result['arch'] = _inherit_apply_rec(result['arch'], sql_res[3]) File "/root/build/openerp/server/bin/osv/orm.py", line 981, in _inherit_apply_rec result = _inherit_apply(result, inherit) File "/root/build/openerp/server/bin/osv/orm.py", line 899, in _inherit_apply doc_dest = dom.minidom.parseString(inherit) File "/usr/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1925, in parseString return expatbuilder.parseString(string) File "/usr/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py", line 942, in parseString return builder.parseString(string) File "/usr/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py", line 223, in parseString parser.Parse(string, True) ExpatError: junk after document element: line 4, column 4 Traceback (most recent call last): File "/home/greno/build/openerp/client/bin/modules/gui/window/tree.py", line 200, in sig_open if not self.sig_action(widget, 'tree_but_open', warning=False): File "/home/greno/build/openerp/client/bin/modules/gui/window/tree.py", line 194, in sig_action warning=warning) File "/home/greno/build/openerp/client/bin/modules/action/main.py", line 188, in exec_keyword self._exec_action(action, data, context=context) File "/home/greno/build/openerp/client/bin/modules/action/main.py", line 135, in _exec_action limit=datas['limit'], auto_refresh=datas['auto_refresh']) File "/home/greno/build/openerp/client/bin/modules/gui/window/__init__.py", line 59, in create auto_refresh=auto_refresh) File "/home/greno/build/openerp/client/bin/modules/gui/window/form.py", line 85, in __init__ window=self.window, limit=limit, readonly=bool(auto_refresh)) File "/home/greno/build/openerp/client/bin/widget/screen/screen.py", line 108, in __init__ self.display() File "/home/greno/build/openerp/client/bin/widget/screen/screen.py", line 490, in display self.search_active(self.current_view.view_type in ('tree', 'graph')) File "/home/greno/build/openerp/client/bin/widget/screen/screen.py", line 117, in search_active self.filter_widget = widget_search.form(view_form['arch'], TypeError: unsubscriptable object ???? Regards, Gerry -------------------- m2f -------------------- -- http://www.openerp.com/forum/viewtopic.php?p=25828#25828 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
