Ho provato ad avviare l'esecuzione di un aggiornamento programmato e mi genera questo errore:
Client Traceback (most recent call last):
File "/home/openerp/openerp7/openerp/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "/home/openerp/openerp7/openerp/addons/web/controllers/main.py", line 1082, in call_button
action = self._call_kw(req, model, method, args, {})
File "/home/openerp/openerp7/openerp/addons/web/controllers/main.py", line 1070, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/openerp/openerp7/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 "/home/openerp/openerp7/openerp/addons/web/session.py", line 31, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/openerp/openerp7/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 "/home/openerp/openerp7/openerp/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/openerp/openerp7/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/openerp/openerp7/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/openerp/openerp7/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/openerp/openerp7/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp/openerp7/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/openerp/openerp7/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/openerp/openerp7/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp/openerp7/openerp/addons/base/module/wizard/base_module_upgrade.py", line 90, in upgrade_module
pooler.restart_pool(cr.dbname, update_module=True)
File "/home/openerp/openerp7/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module)
File "/home/openerp/openerp7/openerp/modules/registry.py", line 214, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/openerp/openerp7/openerp/modules/loading.py", line 415, in load_modules
pool.get('ir.module.module').module_uninstall(cr, SUPERUSER_ID, mod_ids_to_remove)
File "/home/openerp/openerp7/openerp/addons/base/module/module.py", line 441, in module_uninstall
ir_model_data._module_data_uninstall(cr, uid, modules_to_remove, context)
File "/home/openerp/openerp7/openerp/addons/base/ir/ir_model.py", line 1070, in _module_data_uninstall
unlink_if_refcount((model, res_id) for model, res_id in to_unlink
File "/home/openerp/openerp7/openerp/addons/base/ir/ir_model.py", line 1059, in unlink_if_refcount
external_ids = self.search(cr, uid, [('model', '=', model),('res_id', '=', res_id)])
File "/home/openerp/openerp7/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 "/home/openerp/openerp7/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 "/home/openerp/openerp7/openerp/sql_db.py", line 162, in wrapper
return f(self, *args, **kwargs)
File "/home/openerp/openerp7/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
ovviamente non aggiorna i moduli. Qualche idea?