← Back to team overview

openupgrade-drivers team mailing list archive

[Question #209685]: Could not delete obsolete record with id

 

New question #209685 on OpenUpgrade Addons:
https://answers.launchpad.net/openupgrade-addons/+question/209685

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

-- 
You received this question notification because you are a member of
OpenUpgrade Drivers, which is an answer contact for OpenUpgrade Addons.