PostgreSQL La base de donnees la plus sophistiquee au monde.

Forums PostgreSQL.fr

Le forum officiel de la communauté francophone de PostgreSQL

Vous n'êtes pas identifié(e).

#1 23/05/2018 08:23:39

Mlan2
Membre

The application server could not be contacted

Bonjour,

J'ai installé récemment un environnement PostgreSQL en version 10.3 sur plateforme Windows 10 en 64 bits.

pgadmin4 a été installé également, et j'ai pu me connecter au SGBD à partir de ce client.

A présent, il ne m'est plus possible de me connecter, car je rencontre le message indiqué dans l'objet du post :  "The application server could not be contacted", sans en connaître la raison exacte.

J'ai parcouru rapidement les différents logs que j'ai pu voir, sans trouver de message particulier lié à ce problème.

J'ai également désactivé le pare feu sans que cela résolve ce problème.

Quelqu'un pourra t'il m'éclairer sur ce type de problème ?

Hors ligne

#2 23/05/2018 12:24:03

Mlan2
Membre

Re : The application server could not be contacted

Bonjour,

après quelques recherches, j'ai fini par trouver un fichier log, dont voici le contenu correspondant à la tentative de connexion :

2018-05-23 12:13:32,076: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:32,654: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:33,263: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:33,779: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:34,372: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:34,858: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:35,404: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:35,872: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:36,388: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:37,046: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:37,592: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:38,122: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:38,622: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:39,122: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:39,638: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:40,138: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:40,670: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:41,200: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:41,732: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:42,232: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict
2018-05-23 12:13:42,732: ERROR	werkzeug:	Error on request:
Traceback (most recent call last):
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\werkzeug\serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1607, in full_dispatch_request
    self.try_trigger_before_first_request_functions()
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask\app.py", line 1654, in try_trigger_before_first_request_functions
    func()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\utils\__init__.py", line 46, in create_module_preference
    self.register_preferences()
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\__init__.py", line 114, in register_preferences
    RegisterQueryToolPreferences(self)
  File "E:\PostgreSQL\10\pgAdmin 4\web\pgadmin\tools\sqleditor\utils\query_tool_preferences.py", line 84, in RegisterQueryToolPreferences
    'The font size to use for the SQL text boxes and editors. '
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 623, in gettext
    return get_domain().gettext(*args, **kwargs)
  File "E:\PostgreSQL\10\pgAdmin 4\venv\Lib\site-packages\flask_babelex\__init__.py", line 534, in gettext
    return t.ugettext(string) % variables
TypeError: %d format: a number is required, not dict

En espérant que cela puisse aider à la résolution du problème.

D'avance merci.

Hors ligne

#3 25/05/2018 11:41:26

gleu
Administrateur

Re : The application server could not be contacted

C'est le fichier de log de pgAdmin4, et ça n'apporte aucune information sur pourquoi le serveur refuserait la connexion. Il faut plutôt trouver le log du serveur.

Hors ligne

#4 28/05/2018 11:25:47

Mlan2
Membre

Re : The application server could not be contacted

Merci du retour.

Il faut comprendre par là, le log du serveur postgreSQL ?

Merci pour la confirmation.

Hors ligne

#5 28/05/2018 11:30:27

gleu
Administrateur

Re : The application server could not be contacted

Oui.

Hors ligne

#6 30/05/2018 12:50:24

laubourg
Membre

Re : The application server could not be contacted

Bonjour à tous,
Idem, j'ai installé PGADMIN 4 v3.0 sous Windows 10.
J'ai réussi à le lancer une fois faire la connexion vers mon serveur (avec Postgis) et maintenant impossible de le démarrer : The application server could not be contacted
Je me dis qu'il faut peut-être copier le fichier "pgadmin4-3.0-x86.exe.sig" mais je ne sais pas ou (et je ne trouve pas l'information sur le site de PGADMIN).
En attendant cela fonctionne avec la version PGADMIN 4 V1 mais qui ne dispose pas du français.
Avez-vous une idée ou je dois copier le fichier, ou ce que je peux faire pour utiliser la V3.0 ?
Je vous remercie
bonne journée
Laurent

Hors ligne

#7 30/05/2018 13:42:10

laubourg
Membre

Re : The application server could not be contacted

pour info, en vidant le répertoire C:\Users\user\AppData\Roaming\pgAdmin cela fonctionne à nouveau...Je test avec un redémarrage.
bonne journée

Hors ligne

#8 30/05/2018 13:48:04

laubourg
Membre

Re : The application server could not be contacted

malheureusement après un redémarrage il faut vider le répertoire C:\Users\user\AppData\Roaming\pgAdmin , et re-créer les connexions... pas très pratique.
Si vous avez une solution.
merci beaucoup

Hors ligne

Pied de page des forums