← Back to team overview

credativ team mailing list archive

[Bug 1057284] [NEW] Could not delete obsolete record with id

 

Public bug reported:

I get a large number (approx 350) of very similar errors.  The upgrade
complains that it can't delete an obsolete entry because there is
missing a related entry in ir.property.  Maybe I am doing something
wrong since I did not see any other posts related to these types of
errors.  Or maybe this can simply be ignored even if there is ERROR
indicated?

--------------------------------

2012-09-27 02:53:19,805 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 217@xxxxxxxxxx
2012-09-27 02:53:19,806 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
Traceback (most recent call last):
  File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block

2012-09-27 02:53:19,806 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 217 of model ir.ui.view
There should be some relation that points to this resource
You should manually fix this and restart with --update=module
2012-09-27 02:53:19,806 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 218@xxxxxxxxxx
2012-09-27 02:53:19,807 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
Traceback (most recent call last):
  File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block

2012-09-27 02:53:19,807 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 218 of model ir.ui.view
There should be some relation that points to this resource
You should manually fix this and restart with --update=module
2012-09-27 02:53:19,807 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 111@ir.actions.act_window
2012-09-27 02:53:19,808 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
Traceback (most recent call last):
  File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block

2012-09-27 02:53:19,808 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 111 of model ir.actions.act_window
There should be some relation that points to this resource
You should manually fix this and restart with --update=module
2012-09-27 02:53:19,808 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 113@ir.actions.act_window
2012-09-27 02:53:19,809 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
Traceback (most recent call last):
  File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block

2012-09-27 02:53:19,809 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 113 of model ir.actions.act_window
There should be some relation that points to this resource
You should manually fix this and restart with --update=module
2012-09-27 02:53:19,809 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 149@ir.model.access
2012-09-27 02:53:19,809 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
Traceback (most recent call last):
  File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block

2012-09-27 02:53:19,810 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 149 of model ir.model.access
There should be some relation that points to this resource
You should manually fix this and restart with --update=module

** Affects: openupgrade-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
OpenUpgrade Committers, which is subscribed to OpenUpgrade Addons.
https://bugs.launchpad.net/bugs/1057284

Title:
  Could not delete obsolete record with id

Status in OpenUpgrade Addons:
  New

Bug description:
  I get a large number (approx 350) of very similar errors.  The upgrade
  complains that it can't delete an obsolete entry because there is
  missing a related entry in ir.property.  Maybe I am doing something
  wrong since I did not see any other posts related to these types of
  errors.  Or maybe this can simply be ignored even if there is ERROR
  indicated?

  --------------------------------

  2012-09-27 02:53:19,805 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 217@xxxxxxxxxx
  2012-09-27 02:53:19,806 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
  Traceback (most recent call last):
    File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  InternalError: current transaction is aborted, commands ignored until end of transaction block

  2012-09-27 02:53:19,806 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 217 of model ir.ui.view
  There should be some relation that points to this resource
  You should manually fix this and restart with --update=module
  2012-09-27 02:53:19,806 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 218@xxxxxxxxxx
  2012-09-27 02:53:19,807 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
  Traceback (most recent call last):
    File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  InternalError: current transaction is aborted, commands ignored until end of transaction block

  2012-09-27 02:53:19,807 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 218 of model ir.ui.view
  There should be some relation that points to this resource
  You should manually fix this and restart with --update=module
  2012-09-27 02:53:19,807 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 111@ir.actions.act_window
  2012-09-27 02:53:19,808 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
  Traceback (most recent call last):
    File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  InternalError: current transaction is aborted, commands ignored until end of transaction block

  2012-09-27 02:53:19,808 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 111 of model ir.actions.act_window
  There should be some relation that points to this resource
  You should manually fix this and restart with --update=module
  2012-09-27 02:53:19,808 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 113@ir.actions.act_window
  2012-09-27 02:53:19,809 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
  Traceback (most recent call last):
    File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  InternalError: current transaction is aborted, commands ignored until end of transaction block

  2012-09-27 02:53:19,809 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 113 of model ir.actions.act_window
  There should be some relation that points to this resource
  You should manually fix this and restart with --update=module
  2012-09-27 02:53:19,809 4120 INFO OpenUpgrade61 openerp.addons.base.ir.ir_model: Deleting 149@ir.model.access
  2012-09-27 02:53:19,809 4120 ERROR OpenUpgrade61 openerp.sql_db: bad query: SELECT "ir_property".id FROM "ir_property" WHERE (ir_property."res_id" IS NULL   AND  (ir_property."value_reference"$
  Traceback (most recent call last):
    File "/opt/openupgrade-server/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  InternalError: current transaction is aborted, commands ignored until end of transaction block

  2012-09-27 02:53:19,810 4120 WARNING OpenUpgrade61 openerp.addons.base.ir.ir_model: Could not delete obsolete record with id: 149 of model ir.model.access
  There should be some relation that points to this resource
  You should manually fix this and restart with --update=module

To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-addons/+bug/1057284/+subscriptions


Follow ups

References