Hello,

The traceback occurs when the openerp-server is shutdown and we are
trying to connect web-client.

It should be display the error message rather than the traceback.

Thanks.

** Changed in: openobject-client-web
   Importance: Undecided => Low

** Changed in: openobject-client-web
       Status: Incomplete => Confirmed

** Changed in: openobject-client-web
     Assignee: (unassigned) => OpenERP R&D Web Team (openerp-dev-web)

-- 
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/795857

Title:
  If not database defined on server side then error occured in webclient

Status in OpenERP Web Client:
  Confirmed

Bug description:
  500 Internal Server Error

  The server encountered an unexpected condition which prevented it from
  fulfilling the request.

  Traceback (most recent call last):
    File "/home/jacara/Pydev-workspace/weberp/lib/cherrypy/_cprequest.py", line 
606, in respond
      cherrypy.response.body = self.handler()
    File "/home/jacara/Pydev-workspace/weberp/lib/cherrypy/_cpdispatch.py", 
line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/home/jacara/Pydev-workspace/weberp/openobject/tools/_expose.py", 
line 188, in func_wrapper
      res = func(*args, **kw)
    File 
"/home/jacara/Pydev-workspace/weberp/addons/openerp/controllers/utils.py", line 
184, in wrapper
      return fn(*args, **kw)
    File 
"/home/jacara/Pydev-workspace/weberp/addons/openerp/controllers/root.py", line 
169, in login
      return tiny_login(target=location, db=db, user=user, password=password, 
action="login", message=message)
    File "/home/jacara/Pydev-workspace/weberp/openobject/tools/_expose.py", 
line 188, in func_wrapper
      res = func(*args, **kw)
    File 
"/home/jacara/Pydev-workspace/weberp/addons/openerp/controllers/utils.py", line 
43, in login
      message = _("Could not connect to server")
  UnboundLocalError: local variable '_' referenced before assignment

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/795857/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to