Odoo Help


running 'compute stock minimum rules' causes 'server error' v7

on 3/3/15, 5:22 AM 1,144 views

we have been using openerp for 2 years without issue. Version 7.0-20130122-001415

todays error :

OpenERP Server Error

Client Traceback (most recent call last): File "/opt/openerp/server/openerp/addons/web/http.py", line 195, in dispatch response["result"] = method(self, **self.params) File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1078, in call_kw return self._call_kw(req, model, method, args, kwargs) File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1062, in _call_kw names = dict(req.session.model(model).name_get(args[0], **kwargs)) File "/opt/openerp/server/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 "/opt/openerp/server/openerp/addons/web/session.py", line 31, in proxy_method result = self.session.send(self.service_name, method, *args) File "/opt/openerp/server/openerp/addons/web/session.py", line 104, in send raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info) Server Traceback (most recent call last): File "/opt/openerp/server/openerp/addons/web/session.py", line 90, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/opt/openerp/server/openerp/netsvc.py", line 289, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/server/openerp/service/web_services.py", line 614, in dispatch res = fn(db, uid, *params) File "/opt/openerp/server/openerp/osv/osv.py", line 169, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/opt/openerp/server/openerp/osv/osv.py", line 123, in wrapper return f(self, dbname, *args, **kwargs) File "/opt/openerp/server/openerp/osv/osv.py", line 179, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/opt/openerp/server/openerp/osv/osv.py", line 166, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/opt/openerp/server/openerp/osv/orm.py", line 2377, in name_get load='_classic_write', context=context)] File "/opt/openerp/server/openerp/osv/orm.py", line 3606, in read result = self._read_flat(cr, user, select, fields, context, load) File "/opt/openerp/server/openerp/osv/orm.py", line 3628, in _read_flat rule_clause, rule_params, tables = self.pool.get('ir.rule').domain_get(cr, user, self._name, 'read', context=context) File "/opt/openerp/server/openerp/addons/base/ir/ir_rule.py", line 156, in domain_get query = self.pool.get(model_name)._where_calc(cr, SUPERUSER_ID, dom, active_test=False) File "/opt/openerp/server/openerp/osv/orm.py", line 4676, in _where_calc e = expression.expression(cr, user, domain, self, context) File "/opt/openerp/server/openerp/osv/expression.py", line 632, in __init__ self.parse(cr, uid, context=context) File "/opt/openerp/server/openerp/osv/expression.py", line 974, in parse dom = child_of_domain(left, ids2, relational_model, prefix=field._obj) File "/opt/openerp/server/openerp/osv/expression.py", line 716, in child_of_domain return [(left, 'in', recursive_children(ids, left_model, parent or left_model._parent_name))] File "/opt/openerp/server/openerp/osv/expression.py", line 714, in recursive_children ids2 = model.search(cr, uid, [(parent_field, 'in', ids)], context=context) File "/opt/openerp/server/openerp/osv/orm.py", line 2356, in search return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count) File "/opt/openerp/server/openerp/addons/base/res/res_company.py", line 197, in _search context=context, count=count, access_rights_uid=access_rights_uid) File "/opt/openerp/server/openerp/osv/orm.py", line 4858, in _search cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params) File "/opt/openerp/server/openerp/sql_db.py", line 162, in wrapper return f(self, *args, **kwargs) File "/opt/openerp/server/openerp/sql_db.py", line 227, in execute res = self._obj.execute(query, params) OperationalError: out of shared memory HINT: You might need to increase max_locks_per_transaction.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/3/15, 5:22 AM
Seen: 1144 times
Last updated: 3/16/15, 8:10 AM