Skip to content

Instantly share code, notes, and snippets.

/traceback.txt Secret

Created May 2, 2016 11:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2d8091496aa7fbea1ccb4334df2fc115 to your computer and use it in GitHub Desktop.
Save anonymous/2d8091496aa7fbea1ccb4334df2fc115 to your computer and use it in GitHub Desktop.
Werkzeug Internal Server Error
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/Flask-0.10.1-py2.6.egg/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/lib/python2.6/site-packages/Flask-0.10.1-py2.6.egg/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/lib/python2.6/site-packages/Flask-0.10.1-py2.6.egg/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python2.6/site-packages/Flask-0.10.1-py2.6.egg/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python2.6/site-packages/Flask-0.10.1-py2.6.egg/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python2.6/site-packages/Flask-0.10.1-py2.6.egg/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python2.6/site-packages/Flask-0.10.1-py2.6.egg/flask/app.py", line 1473, in full_dispatch_request
rv = self.preprocess_request()
File "/usr/lib/python2.6/site-packages/Flask-0.10.1-py2.6.egg/flask/app.py", line 1666, in preprocess_request
rv = func()
File "/home/phuctor/apparat/phuc.py", line 115, in before_request
g.db = get_db()
File "/home/phuctor/apparat/phuc.py", line 106, in get_db
db = g.db = psycopg2.connect("dbname=phuctor user=phuctor")
File "/usr/lib/python2.6/site-packages/psycopg2-2.6.1-py2.6-linux-x86_64.egg/psycopg2/__init__.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: FATAL: connection limit exceeded for non-superusers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment