← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 877675] [NEW] [6.1 trunk] setup new database cannot proceed

 

Public bug reported:

Hi there,

while trying to create a new database with the latest server and GTK/web
clients, I reach an error as soon as I select the "continue
configuration" in the first screen, i get this trace:

Client Traceback (most recent call last):
  File "/home/bstanciu/workspace/openerp-web/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/bstanciu/workspace/openerp-web/addons/web/controllers/main.py", line 718, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/bstanciu/workspace/openerp-web/addons/web/controllers/main.py", line 710, in call_common
    return getattr(req.session.model(model), method)(*args)
  File "/home/bstanciu/workspace/openerp-web/addons/web/common/openerplib/main.py", line 417, in proxy
    *args)
  File "/home/bstanciu/workspace/openerp-web/addons/web/common/openerplib/main.py", line 294, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/bstanciu/workspace/openerp-web/addons/web/common/openerplib/main.py", line 130, in send
    return getattr(service, method)(*args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])


Server Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/wsgi.py", line 77, in xmlrpc_return
    result = openerp.netsvc.dispatch_rpc(service, method, params)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/addons/base_setup/__init__.py", line 96, in config
    self.reset_menu(cr, uid, context=context)
  File "/home/openerp/addons/base_setup/__init__.py", line 70, in reset_menu
    menu_id = user._get_menu()
  File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/osv/orm.py", line 372, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
TypeError: _get_menu() got multiple values for keyword argument 'context'

thank you for investigating.

regards,
Bogdan

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

Title:
  [6.1 trunk] setup new database cannot proceed

Status in OpenERP Server:
  New

Bug description:
  Hi there,

  while trying to create a new database with the latest server and
  GTK/web clients, I reach an error as soon as I select the "continue
  configuration" in the first screen, i get this trace:

  Client Traceback (most recent call last):
    File "/home/bstanciu/workspace/openerp-web/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/bstanciu/workspace/openerp-web/addons/web/controllers/main.py", line 718, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/bstanciu/workspace/openerp-web/addons/web/controllers/main.py", line 710, in call_common
      return getattr(req.session.model(model), method)(*args)
    File "/home/bstanciu/workspace/openerp-web/addons/web/common/openerplib/main.py", line 417, in proxy
      *args)
    File "/home/bstanciu/workspace/openerp-web/addons/web/common/openerplib/main.py", line 294, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/bstanciu/workspace/openerp-web/addons/web/common/openerplib/main.py", line 130, in send
      return getattr(service, method)(*args)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
      return self.single_request(host, handler, request_body, verbose)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
      return self.parse_response(response)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
      return u.close()
    File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
      raise Fault(**self._stack[0])

  
  Server Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/wsgi.py", line 77, in xmlrpc_return
      result = openerp.netsvc.dispatch_rpc(service, method, params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/addons/base_setup/__init__.py", line 96, in config
      self.reset_menu(cr, uid, context=context)
    File "/home/openerp/addons/base_setup/__init__.py", line 70, in reset_menu
      menu_id = user._get_menu()
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1dev-py2.7.egg/openerp/osv/orm.py", line 372, in function_proxy
      return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  TypeError: _get_menu() got multiple values for keyword argument 'context'

  thank you for investigating.

  regards,
  Bogdan

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


Follow ups

References