← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 856346] [NEW] traceback after installing application

 

Public bug reported:

create a db.   Add more features and install all application (i think all is not needed)  and then click "install" Client Traceback (most recent call last):
  File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 169, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 702, in save
    r = m.write([id], data, req.session.eval_context(req.context))
  File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 339, in proxy
    *args)
  File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 216, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 93, in send
    return getattr(service, method)(*args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])


Server Traceback (most recent call last):
  File "/home/aline/openerp/server/trunk/openerp/netsvc.py", line 440, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/aline/openerp/server/trunk/openerp/service/web_services.py", line 583, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 118, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/server/trunk/openerp/osv/orm.py", line 2397, in write
    self.datas[object_id].update(vals2)
KeyError: 1

** Affects: openerp-web
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/856346

Title:
  traceback after installing application

Status in OpenERP Web:
  New

Bug description:
  create a db.   Add more features and install all application (i think all is not needed)  and then click "install" Client Traceback (most recent call last):
    File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 169, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 702, in save
      r = m.write([id], data, req.session.eval_context(req.context))
    File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 339, in proxy
      *args)
    File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 216, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 93, in send
      return getattr(service, method)(*args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
      return self._parse_response(h.getfile(), sock)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
      return u.close()
    File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
      raise Fault(**self._stack[0])

  
  Server Traceback (most recent call last):
    File "/home/aline/openerp/server/trunk/openerp/netsvc.py", line 440, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/aline/openerp/server/trunk/openerp/service/web_services.py", line 583, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 118, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/openerp/server/trunk/openerp/osv/orm.py", line 2397, in write
      self.datas[object_id].update(vals2)
  KeyError: 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/856346/+subscriptions


Follow ups

References