← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701644] Re: Update to current trunk breaks menus

 

To be more specific, When updating the server It deletes many entries
and fails at a few of them. Here is an output server log.

[2011-01-12 13:52:12,962][midwestdev] INFO:addons.base.ir.model.data:Deleting 3@res.groups
[2011-01-12 13:52:12,972][midwestdev] ERROR:addons.base.ir.model.data:Could not delete id: 3 of model res.groups
There should be some relation that points to this resource
You should manually fix this and restart with --update=module
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 745, in _process_end
    self.pool.get(model).unlink(cr, uid, [res_id])
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_user.py", line 582, in unlink
    ', '.join(user_names))
except_osv: ('warning', 'Warning !')
[2011-01-12 13:52:12,973][midwestdev] INFO:addons.base.ir.model.data:Deleting 1324@xxxxxxxxxx
[2011-01-12 13:52:12,986][midwestdev] INFO:addons.base.ir.model.data:Deleting 1334@xxxxxxxxxx
[2011-01-12 13:52:13,012][midwestdev] INFO:addons.base.ir.model.data:Deleting 1215@xxxxxxxxxx
[2011-01-12 13:52:13,032][midwestdev] INFO:addons.base.ir.model.data:Deleting 852@ir.actions.act_window
[2011-01-12 13:52:13,044][midwestdev] INFO:addons.base.ir.model.data:Deleting 1047@ir.model.access
[2011-01-12 13:52:13,059][midwestdev] INFO:addons.base.ir.model.data:Deleting 941@ir.model.access
[2011-01-12 13:52:13,071][midwestdev] INFO:addons.base.ir.model.data:Deleting 1048@ir.model.access
[2011-01-12 13:52:13,087][midwestdev] INFO:addons.base.ir.model.data:Deleting 814@ir.actions.act_window
[2011-01-12 13:52:13,103][midwestdev] INFO:addons.base.ir.model.data:Deleting 559@xxxxxxxxxx
[2011-01-12 13:52:13,120][midwestdev] INFO:addons.base.ir.model.data:Deleting 1259@xxxxxxxxxx
[2011-01-12 13:52:13,133][midwestdev] INFO:addons.base.ir.model.data:Deleting 1030@ir.model.access
[2011-01-12 13:52:13,146][midwestdev] INFO:addons.base.ir.model.data:Deleting 978@ir.model.access
[2011-01-12 13:52:13,157][midwestdev] INFO:addons.base.ir.model.data:Deleting 597@xxxxxxxxxx
[2011-01-12 13:52:13,168][midwestdev] INFO:addons.base.ir.model.data:Deleting 1229@xxxxxxxxxx
[2011-01-12 13:52:13,189][midwestdev] INFO:addons.base.ir.model.data:Deleting 1016@ir.model.access
[2011-01-12 13:52:13,199][midwestdev] INFO:addons.base.ir.model.data:Deleting 841@ir.actions.act_window
[2011-01-12 13:52:13,214][midwestdev] INFO:addons.base.ir.model.data:Deleting 1239@xxxxxxxxxx
[2011-01-12 13:52:13,225][midwestdev] INFO:addons.base.ir.model.data:Deleting 998@ir.model.access
[2011-01-12 13:52:13,238][midwestdev] INFO:addons.base.ir.model.data:Deleting 609@xxxxxxxxxx
[2011-01-12 13:52:13,251][midwestdev] INFO:addons.base.ir.model.data:Deleting 1337@xxxxxxxxxx
[2011-01-12 13:52:13,267][midwestdev] INFO:addons.base.ir.model.data:Deleting 1190@xxxxxxxxxx
[2011-01-12 13:52:13,280][midwestdev] INFO:addons.base.ir.model.data:Deleting 847@ir.actions.act_window
[2011-01-12 13:52:13,291][midwestdev] INFO:addons.base.ir.model.data:Deleting 866@ir.actions.act_window
[2011-01-12 13:52:13,308][midwestdev] INFO:addons.base.ir.model.data:Deleting 938@ir.model.access
[2011-01-12 13:52:13,318][midwestdev] INFO:addons.base.ir.model.data:Deleting 1304@xxxxxxxxxx
[2011-01-12 13:52:13,334][midwestdev] INFO:addons.base.ir.model.data:Deleting 809@ir.actions.act_window
[2011-01-12 13:52:13,347][midwestdev] INFO:addons.base.ir.model.data:Deleting 126@ir.actions.act_window.view
[2011-01-12 13:52:13,361][midwestdev] INFO:addons.base.ir.model.data:Deleting 566@xxxxxxxxxx
[2011-01-12 13:52:13,374][midwestdev] INFO:addons.base.ir.model.data:Deleting 1039@ir.model.access
[2011-01-12 13:52:13,393][midwestdev] INFO:addons.base.ir.model.data:Deleting 987@ir.model.access
[2011-01-12 13:52:13,407][midwestdev] INFO:addons.base.ir.model.data:Deleting 604@xxxxxxxxxx
[2011-01-12 13:52:13,424][midwestdev] INFO:addons.base.ir.model.data:Deleting 1268@xxxxxxxxxx
[2011-01-12 13:52:13,435][midwestdev] INFO:addons.base.ir.model.data:Deleting 961@ir.model.access
[2011-01-12 13:52:13,460][midwestdev] INFO:addons.base.ir.model.data:Deleting 797@ir.actions.act_window
[2011-01-12 13:52:13,472][midwestdev] INFO:addons.base.ir.model.data:Deleting 578@xxxxxxxxxx
[2011-01-12 13:52:13,484][midwestdev] INFO:addons.base.ir.model.data:Deleting 1246@xxxxxxxxxx
[2011-01-12 13:52:13,498][midwestdev] INFO:addons.base.ir.model.data:Deleting 1007@ir.model.access
[2011-01-12 13:52:13,517][midwestdev] INFO:addons.base.ir.model.data:Deleting 616@xxxxxxxxxx
[2011-01-12 13:52:13,532][midwestdev] INFO:addons.base.ir.model.data:Deleting 1312@xxxxxxxxxx
[2011-01-12 13:52:13,546][midwestdev] INFO:addons.base.ir.model.data:Deleting 1193@xxxxxxxxxx
[2011-01-12 13:52:13,556][midwestdev] INFO:addons.base.ir.model.data:Deleting 1290@xxxxxxxxxx
[2011-01-12 13:52:13,575][midwestdev] INFO:addons.base.ir.model.data:Deleting 1203@xxxxxxxxxx
[2011-01-12 13:52:13,587][midwestdev] INFO:addons.base.ir.model.data:Deleting 947@ir.model.access
[2011-01-12 13:52:13,619][midwestdev] INFO:addons.base.ir.model.data:Deleting 789@ir.actions.wizard
[2011-01-12 13:52:13,632][midwestdev] INFO:addons.base.ir.model.data:Deleting 16@res.widget
[2011-01-12 13:52:13,656][midwestdev] INFO:addons.base.ir.model.data:Deleting 800@ir.actions.act_window
[2011-01-12 13:52:13,682][midwestdev] INFO:addons.base.ir.model.data:Deleting 573@xxxxxxxxxx
[2011-01-12 13:52:13,698][midwestdev] INFO:addons.base.ir.model.data:Deleting 1173@xxxxxxxxxx
[2011-01-12 13:52:13,724][midwestdev] INFO:addons.base.ir.model.data:Deleting 1044@ir.model.access
[2011-01-12 13:52:13,744][midwestdev] INFO:addons.base.ir.model.data:Deleting 826@ir.actions.act_window
[2011-01-12 13:52:13,757][midwestdev] INFO:addons.base.ir.model.data:Deleting 547@xxxxxxxxxx
[2011-01-12 13:52:13,778][midwestdev] INFO:addons.base.ir.model.data:Deleting 1279@xxxxxxxxxx
[2011-01-12 13:52:13,790][midwestdev] INFO:addons.base.ir.model.data:Deleting 974@ir.model.access
[2011-01-12 13:52:13,812][midwestdev] INFO:addons.base.ir.model.data:Deleting 788@ir.actions.act_window
[2011-01-12 13:52:13,824][midwestdev] INFO:addons.base.ir.model.data:Deleting 585@xxxxxxxxxx
[2011-01-12 13:52:13,846][midwestdev] INFO:addons.base.ir.model.data:Deleting 604@ir.values
[2011-01-12 13:52:13,868][midwestdev] INFO:addons.base.ir.model.data:Deleting 1217@xxxxxxxxxx
[2011-01-12 13:52:13,881][midwestdev] INFO:addons.base.ir.model.data:Deleting 1012@ir.model.access
[2011-01-12 13:52:13,900][midwestdev] INFO:addons.base.ir.model.data:Deleting 1287@xxxxxxxxxx
[2011-01-12 13:52:13,912][midwestdev] INFO:addons.base.ir.model.data:Deleting 6@res.groups
[2011-01-12 13:52:13,927][midwestdev] ERROR:addons.base.ir.model.data:Could not delete id: 6 of model res.groups
There should be some relation that points to this resource
You should manually fix this and restart with --update=module
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 745, in _process_end
    self.pool.get(model).unlink(cr, uid, [res_id])
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_user.py", line 582, in unlink
    ', '.join(user_names))
except_osv: ('warning', 'Warning !')
[2011-01-12 13:52:13,928][midwestdev] INFO:addons.base.ir.model.data:Deleting 623@xxxxxxxxxx
[2011-01-12 13:52:13,943][midwestdev] INFO:addons.base.ir.model.data:Deleting 582@ir.values


I do not understand what the purpose of putting this action in your server revision is for other to break installations. Your RC2 code your have at openerp.com if it hasnt been updated should also be affected. Many people can now not upgrade their server trunk because it messes the views up. I have confirmed this bug with a few other people. Putting it roughly, it makes your software not "upgrade compatible"

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701644

Title:
  Update to current trunk breaks menus

Status in OpenObject Server:
  Incomplete

Bug description:
  When updating to the current trunk even from last friday, the home
  menus are broken. The accounting menu is missing all of the items, and
  the home menu displays incorrect items.

  While --update=all it deletes several ir records and throws a few
  errors.

  Steps to reproduce.

  Have a week old installation, download latest sources then update.
  Menus broken.

  Something to do with base.ir.model.data, and views deletes a ton of
  records. Also points to res.groups could not delete.





References