← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 795857] [NEW] If not database defined on server side then error occured in webclient

 

Public bug reported:

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

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References