openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14688
[Bug 1039664] Re: [6.1] OperationalError: Unable to use a closed cursor.
** Changed in: openobject-addons
Status: New => Confirmed
** Summary changed:
- [6.1] OperationalError: Unable to use a closed cursor.
+ [6.1] Regression : edi : wrong cursor passed for process!
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1039664
Title:
[6.1] Regression : edi : wrong cursor passed for process!
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Using latest versions from 6.1 branches of web, server and addons and
without demo data, I installed the sale module and created a sales
order for a customer (having an email address).
When I confirm the sales order, I get this error message in the log:
2012-08-21 18:05:21,509 6600 WARNING ? edi: Ignoring EDI mail notification, failed to generate it.
Traceback (most recent call last):
File "/home/max/openerp/addons/6.1/edi/models/edi.py", line 475, in email_task
edi_context = dict(context, edi_web_url_view=self._edi_get_object_web_url_view(cr, uid, edi_record, context=context))
File "/home/max/openerp/addons/6.1/edi/models/edi.py", line 490, in _edi_get_object_web_url_view
web_root_url = self.pool.get('ir.config_parameter').get_param(cr, uid, 'web.base.url')
File "/home/max/openerp/server/6.1/openerp/addons/base/ir/ir_config_parameter.py", line 70, in get_param
ids = self.search(cr, uid, [('key','=',key)], context=context)
File "/home/max/openerp/server/6.1/openerp/osv/orm.py", line 2245, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/max/openerp/server/6.1/openerp/osv/orm.py", line 4599, in _search
cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params)
File "/home/max/openerp/server/6.1/openerp/sql_db.py", line 151, in wrapper
raise psycopg2.OperationalError(msg)
OperationalError: Unable to use a closed cursor.
and no message is sent.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1039664/+subscriptions
References