Comment 3 for bug 1104982

Revision history for this message
iehoshia_ (jepgez) wrote : Re: Wizard multi charts accounts bug

2013-01-30 01:54:45,140 2645 ERROR seodb openerp.addons.base.ir.ir_cron: Unexpected exception while processing cron job {'function': u'power_on', 'create_uid': 1, 'args': u'()', 'create_date': '2013-01-28 21:54:33.045812', 'name': u'AutoVacuum osv_memory objects', 'interval_type': u'minutes', 'numbercall': -1, 'write_uid': 1, 'priority': 5, 'model': u'osv_memory.autovacuum', 'doall': False, 'write_date': '2013-01-28 21:54:33.045812', 'active': True, 'user_id': 1, 'interval_number': 30, 'nextcall': '2013-01-30 01:54:38', 'id': 1}
Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/base/ir/ir_cron.py", line 221, in _acquire_job
    registry[cls._name]._process_job(job_cr, job, lock_cr)
  File "/opt/openerp/server/openerp/addons/base/ir/ir_cron.py", line 165, in _process_job
    (nextcall.strftime(DEFAULT_SERVER_DATETIME_FORMAT), numbercall, job['id']))
  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)
TransactionRollbackError: no se pudo serializar el acceso debido a dependencias read/write entre transacciones
DETALLE: Reason code: Canceled on identification as a pivot, during write.
SUGERENCIA: La transacción podría tener éxito si es reintentada.

2013-01-30 01:54:48,407 2645 ERROR seodb openerp.sql_db: bad query: delete from wizard_multi_charts_accounts where id IN (1)
Traceback (most recent call last):
  File "/opt/openerp/server/openerp/sql_db.py", line 227, in execute
    res = self._obj.execute(query, params)
IntegrityError: el valor null para la columna «bank_account_id» viola la restricción not null
CONTEXTO: sentencia SQL: «UPDATE ONLY "public"."account_bank_accounts_wizard" SET "bank_account_id" = NULL WHERE $1 OPERATOR(pg_catalog.=) "bank_account_id"»

Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 768, in emit
    msg = self.format(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 648, in format
    return fmt.format(record)
  File "/opt/openerp/server/openerp/netsvc.py", line 151, in format
    return DBFormatter.format(self, record)
  File "/opt/openerp/server/openerp/netsvc.py", line 145, in format
    return logging.Formatter.format(self, record)
  File "/usr/lib/python2.6/logging/__init__.py", line 448, in format
    s = s + record.exc_text
UnicodeDecodeError: 'ascii' codec can't decode byte