Odoo Help


inOpenERP v7 incoming mail server --> fetchnow--> InternalError: current transaction is aborted, commands ignored until end of transaction block ?

Ahmed elbarbary
on 4/25/15, 4:03 AM 1,112 views

i am using v7 and i have configured incoming mail server to create new lead when recieve an email , it was working fine for three months and afrer that i get complains because the emails not going to create leads so i check the email server and fetch now then i get this error :

OpenERP Server Error

Client Traceback (most recent call last):

File "/home/habib/openerp7/web/addons/web/http.py", line 204, in dispatch

response["result"] = method(self, **self.params)

File "/home/habib/openerp7/web/addons/web/controllers/main.py", line 1132, in call_button

action = self._call_kw(req, model, method, args, {})

File "/home/habib/openerp7/web/addons/web/controllers/main.py", line 1120, in _call_kw

return getattr(req.session.model(model), method)(*args, **kwargs)

File "/home/habib/openerp7/web/addons/web/session.py", line 42, in proxy

result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)

File "/home/habib/openerp7/web/addons/web/session.py", line 30, in proxy_method

result = self.session.send(self.service_name, method, *args)

File "/home/habib/openerp7/web/addons/web/session.py", line 103, in send

raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):

File "/home/habib/openerp7/web/addons/web/session.py", line 89, in send

return openerp.netsvc.dispatch_rpc(service_name, method, args)

File "/home/habib/openerp7/server/openerp/netsvc.py", line 289, in dispatch_rpc

result = ExportService.getService(service_name).dispatch(method, params)

File "/home/habib/openerp7/server/openerp/service/web_services.py", line 614, in dispatch

res = fn(db, uid, *params)

File "/home/habib/openerp7/server/openerp/osv/osv.py", line 169, in execute_kw

return self.execute(db, uid, obj, method, *args, **kw or {})

File "/home/habib/openerp7/server/openerp/osv/osv.py", line 123, in wrapper

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

File "/home/habib/openerp7/server/openerp/osv/osv.py", line 179, in execute

res = self.execute_cr(cr, uid, obj, method, *args, **kw)

File "/home/habib/openerp7/server/openerp/osv/osv.py", line 166, in execute_cr

return getattr(object, method)(cr, uid, *args, **kw)

File "/home/habib/openerp7/addons/fetchmail/fetchmail.py", line 241, in fetch_mail

server.write({'date': time.strftime(tools.DEFAULT_SERVER_DATETIME_FORMAT)})

File "/home/habib/openerp7/server/openerp/osv/orm.py", line 374, in function_proxy

return attr(self._cr, self._uid, [self._id], *args, **kwargs)

File "/home/habib/openerp7/addons/fetchmail/fetchmail.py", line 263, in write

res = super(fetchmail_server, self).write(cr, uid, ids, values, context=context)

File "/home/habib/openerp7/server/openerp/osv/orm.py", line 4152, in write

'where id IN %s', upd1 + [sub_ids])

File "/home/habib/openerp7/server/openerp/sql_db.py", line 162, in wrapper

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

File "/home/habib/openerp7/server/openerp/sql_db.py", line 227, in execute

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

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

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

2 follower(s)


Asked: 4/25/15, 4:03 AM
Seen: 1112 times
Last updated: 7/7/17, 2:36 AM