← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 878128] [NEW] error when installing mrp_jit

 

Public bug reported:

When trying to install mrp_jit, the following error occured.

OpenERP Server Error

Client Traceback (most recent call last):
  File "/home/openerp/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 720, in call
    return self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 716, in call_common
    return getattr(req.session.model(model), method)(*args)
  File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 417, in proxy
    *args)
  File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 294, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 264, in send
    raise fault


Server Traceback (most recent call last):
  File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 245, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/openerp/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/openerp/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/source/server/trunk/openerp/addons/base/res/res_log.py", line 75, in get
    self.write(cr, uid, unread_log_ids, {'read': True}, context=context)
  File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 3780, in write
    'where id IN %s', upd1 + [sub_ids])
  File "/home/openerp/source/server/trunk/openerp/sql_db.py", line 153, in wrapper
    return f(self, *args, **kwargs)
  File "/home/openerp/source/server/trunk/openerp/sql_db.py", line 215, in execute
    res = self._obj.execute(query, params)
TransactionRollbackError: could not serialize access due to concurrent update
CONTEXT:  SQL statement "SELECT 1 FROM ONLY "public"."res_users" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR SHARE OF x"

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


** Tags: rc1

-- 
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/878128

Title:
  error when installing mrp_jit

Status in OpenERP Web:
  New

Bug description:
  When trying to install mrp_jit, the following error occured.

  OpenERP Server Error

  Client Traceback (most recent call last):
    File "/home/openerp/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 720, in call
      return self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 716, in call_common
      return getattr(req.session.model(model), method)(*args)
    File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 417, in proxy
      *args)
    File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 294, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 264, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 245, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/openerp/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/openerp/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/source/server/trunk/openerp/addons/base/res/res_log.py", line 75, in get
      self.write(cr, uid, unread_log_ids, {'read': True}, context=context)
    File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 3780, in write
      'where id IN %s', upd1 + [sub_ids])
    File "/home/openerp/source/server/trunk/openerp/sql_db.py", line 153, in wrapper
      return f(self, *args, **kwargs)
    File "/home/openerp/source/server/trunk/openerp/sql_db.py", line 215, in execute
      res = self._obj.execute(query, params)
  TransactionRollbackError: could not serialize access due to concurrent update
  CONTEXT:  SQL statement "SELECT 1 FROM ONLY "public"."res_users" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR SHARE OF x"

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


Follow ups

References