← Back to team overview

openerp-india team mailing list archive

[Bug 1153876] [NEW] Update to CRM Module - Invalid XML for View Architecture!

 

Public bug reported:

OpenERP Server Error
Client Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 203, in dispatch
    response["result"] = method(self, **self.params)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1074, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1058, in _call_kw
    names = dict(req.session.model(model).name_get(args[0], **kwargs))
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 43, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 104, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 293, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 614, in dispatch
    security.check(db,uid,passwd)
  File "/usr/lib/pymodules/python2.7/openerp/service/security.py", line 40, in check
    pool = pooler.get_pool(db)
  File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 49, in get_pool
    return get_db_and_pool(db_name, force_demo, status, update_module)[1]
  File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 192, in get
    update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 218, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 344, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 259, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 191, in load_module_graph
    load_data(module_name, idref, mode)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 76, in <lambda>
    load_data = lambda *args: _load_data(cr, *args, kind='data')
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 127, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 954, in convert_xml_import
    obj.parse(doc.getroot())
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 814, 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 "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 937, in _update
    model_obj.write(cr, uid, [res_id], values, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 207, in write
    return super(view, self).write(cr, uid, ids, vals, context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4201, in write
    self._validate(cr, user, ids, context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1544, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')

** Affects: openobject-server
     Importance: Undecided
         Status: New


** Tags: crm module severe update

** Attachment added: "Screenshot after update and OpenERP does not permit login"
   https://bugs.launchpad.net/bugs/1153876/+attachment/3569309/+files/Screen%20Shot%202013-03-11%20at%2010.36.04%20PM.png

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1153876

Title:
  Update to CRM Module -  Invalid XML for View Architecture!

Status in OpenERP Server:
  New

Bug description:
  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 203, in dispatch
      response["result"] = method(self, **self.params)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1074, in call_kw
      return self._call_kw(req, model, method, args, kwargs)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1058, in _call_kw
      names = dict(req.session.model(model).name_get(args[0], **kwargs))
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 43, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 31, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 104, in send
      raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 90, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 293, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 614, in dispatch
      security.check(db,uid,passwd)
    File "/usr/lib/pymodules/python2.7/openerp/service/security.py", line 40, in check
      pool = pooler.get_pool(db)
    File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 49, in get_pool
      return get_db_and_pool(db_name, force_demo, status, update_module)[1]
    File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 33, in get_db_and_pool
      registry = RegistryManager.get(db_name, force_demo, status, update_module)
    File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 192, in get
      update_module)
    File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 218, in new
      openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 344, in load_modules
      processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 259, in load_marked_modules
      loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 191, in load_module_graph
      load_data(module_name, idref, mode)
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 76, in <lambda>
      load_data = lambda *args: _load_data(cr, *args, kind='data')
    File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 127, in _load_data
      tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
    File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 954, in convert_xml_import
      obj.parse(doc.getroot())
    File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 814, 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 "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 937, in _update
      model_obj.write(cr, uid, [res_id], values, context=context)
    File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 207, in write
      return super(view, self).write(cr, uid, ids, vals, context)
    File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4201, in write
      self._validate(cr, user, ids, context)
    File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1544, in _validate
      raise except_orm('ValidateError', '\n'.join(error_msgs))
  except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1153876/+subscriptions


Follow ups

References