Could not delete obsolete record with id

Bug #1057284 reported by Réal Carbonneau

This bug report was converted into a question: question #209685: Could not delete obsolete record with id.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenUpgrade Addons
Invalid
Undecided
Unassigned

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 <email address hidden>
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 <email address hidden>
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 <email address hidden>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 <email address hidden>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 <email address hidden>
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

Revision history for this message
Réal Carbonneau (real-carbonneau) wrote :

When the other issues were resolved, these seemed to have dissapeared...

Changed in openupgrade-addons:
status: New → Invalid
status: Invalid → New
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.