← Back to team overview

openerp-india team mailing list archive

[Bug 1084533] Re: [trunk] on rev 4614 after pull branch column res_users.default_section_id doesn't exist

 

Hello,

We can't consider this type of error as  a bug on trunk because everyday
we are improved the trunk.

So there my be problem that either some field removed/added. because of
this this type of error raised when you pull your branch and try to
login with existing database.


For solving this issue you have to upgrade your database after pull your branch. Please try with following command at your command line server and upgrade your database.

-u all -d dbname

Or you can try with new database.

Hope this helps,

Goof luck..!

** Changed in: openobject-server
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/openobject-server/+question/215619

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1084533

Title:
  [trunk] on rev 4614 after pull branch column
  res_users.default_section_id doesn't exist

Status in OpenERP Server:
  Invalid

Bug description:
  hi,

  after pull the last branch on an existing V7 server i have this error.

  the error remain after an update all of the server.

  here is the traceback :
  thanks for all


  Server Traceback (most recent call last):
    File "/home/openerp/branch_bzr_7/openerp-web/addons/web/session.py", line 87, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/netsvc.py", line 361, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/service/web_services.py", line 601, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/addons/base/res/res_users.py", line 351, in context_get
      res = getattr(user,k) or False
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/orm.py", line 485, in __getattr__
      return self[name]
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/orm.py", line 400, in __getitem__
      field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/addons/base/res/res_users.py", line 796, in read
      res = super(users_view, self).read(cr, uid, ids, fields, context=context, load=load)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/addons/base/res/res_users.py", line 272, in read
      result = super(res_users, self).read(cr, uid, ids, fields=fields, context=context, load=load)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/orm.py", line 3558, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/orm.py", line 3610, in _read_flat
      cr.execute(query, [tuple(sub_ids)] + rule_params)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/sql_db.py", line 162, in wrapper
      return f(self, *args, **kwargs)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/sql_db.py", line 227, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: column res_users.default_section_id does not exist
  LINE 1: ...."menu_id",res_users."alias_id",res_users."share",res_users....

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1084533/+subscriptions


References