Odoo Help

Welcome!

This community 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.

1

InternalError: current transaction is aborted, commands ignored until end of transaction block

By
Indrabhan Bhamare
on 11/26/15, 5:00 AM 858 views

Hello,

Below is the log facing this error randomly. Mainly when login for first time and click on sale order.

Traceback (most recent call last):

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/http.py", line 518, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/http.py", line 539, in dispatch

result = self._call_function(**self.params)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/http.py", line 295, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/service/model.py", line 113, in wrapper

return f(dbname, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/http.py", line 292, in checked_call

return self.endpoint(*a, **kw)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/http.py", line 755, in __call__

return self.method(*args, **kw)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/http.py", line 388, in response_wrap

response = f(*args, **kw)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/addons/web/controllers/main.py", line 875, in search_read

return self.do_search_read(model, fields, offset, limit, domain, sort)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/addons/web/controllers/main.py", line 896, in do_search_read

request.context)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/http.py", line 859, in proxy

result = meth(cr, request.uid, *args, **kw)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/api.py", line 237, in wrapper

return old_api(self, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/models.py", line 5075, in search_read

result = self.read(cr, uid, record_ids, fields, context=read_ctx)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/api.py", line 237, in wrapper

return old_api(self, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/models.py", line 3091, in read

result = BaseModel.read(records, fields, load=load)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/api.py", line 235, in wrapper

return new_api(self, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/models.py", line 3123, in read

self._read_from_database(stored)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/api.py", line 235, in wrapper

return new_api(self, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/models.py", line 3287, in _read_from_database

res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/osv/fields.py", line 1356, in get

result = self._fnct(obj, cr, uid, ids, name, self._arg, context)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/api.py", line 237, in wrapper

return old_api(self, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/api.py", line 360, in old_api

result = method(recs, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/addons/base/res/res_partner.py", line 195, in _has_image

return dict((p.id, bool(p.image)) for p in self)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/addons/base/res/res_partner.py", line 195, in <genexpr>

return dict((p.id, bool(p.image)) for p in self)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/fields.py", line 774, in __get__

self.determine_value(record)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/fields.py", line 867, in determine_value

record._prefetch_field(self)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/api.py", line 235, in wrapper

return new_api(self, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/models.py", line 3178, in _prefetch_field

result = records.read(list(fnames), load='_classic_write')

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/api.py", line 235, in wrapper

return new_api(self, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/models.py", line 3123, in read

self._read_from_database(stored)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/api.py", line 235, in wrapper

return new_api(self, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/models.py", line 3235, in _read_from_database

cr.execute(query, [tuple(sub_ids)] + rule_params)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/sql_db.py", line 158, in wrapper

return f(self, *args, **kwargs)

File "/home/software/workspace/bma8_dev_1015/odoo/openerp/sql_db.py", line 234, in execute

res = self._obj.execute(query, params)

InternalError: current transaction is aborted, commands ignored until end of transaction block

Any Help is Highly Appreciated.


Thank You

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/26/15, 5:00 AM
Seen: 858 times
Last updated: 4/27/16, 8:42 AM