[Maintenance] [Django] ERROR (internal IP): Internal Server Error: /feeds/packages/x86_64/gis/

root at localhost.parabola.nu root at localhost.parabola.nu
Thu Jun 16 22:20:31 BST 2016


Internal Server Error: /feeds/packages/x86_64/gis/
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 105, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "./feeds.py", line 60, in __call__
    return wrapper(super(PackageFeed, self).__call__)(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/http.py", line 105, in inner
    dt = last_modified_func(request, *args, **kwargs)
  File "./feeds.py", line 48, in package_last_modified
    cursor = connection.cursor()
  File "/usr/lib/python2.7/site-packages/django/db/backends/__init__.py", line 165, in cursor
    cursor = self.make_debug_cursor(self._cursor())
  File "/usr/lib/python2.7/site-packages/django/db/backends/__init__.py", line 138, in _cursor
    self.ensure_connection()
  File "/usr/lib/python2.7/site-packages/django/db/backends/__init__.py", line 133, in ensure_connection
    self.connect()
  File "/usr/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/site-packages/django/db/backends/__init__.py", line 133, in ensure_connection
    self.connect()
  File "/usr/lib/python2.7/site-packages/django/db/backends/__init__.py", line 122, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/usr/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 130, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/usr/lib/python2.7/site-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/run/postgresql/.s.PGSQL.5432"?


Request repr(): 
<WSGIRequest
path:/feeds/packages/x86_64/gis/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': '',
 u'CSRF_COOKIE': u'AeUFnCACi1ocuKrKw5rrN7WmAuDv9CQH',
 'DOCUMENT_ROOT': '/srv/http/www.parabola.nu',
 'HTTPS': 'on',
 'HTTP_ACCEPT': '*/*',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_HOST': 'www.parabola.nu',
 'HTTP_IF_NONE_MATCH': '',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)',
 'PATH_INFO': u'/feeds/packages/x86_64/gis/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '127.0.0.1',
 'REMOTE_PORT': '31096',
 'REQUEST_METHOD': 'GET',
 'REQUEST_SCHEME': 'https',
 'REQUEST_URI': '/feeds/packages/x86_64/gis/',
 u'SCRIPT_NAME': u'',
 'SERVER_NAME': 'www.parabola.nu',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'uwsgi.node': 'parabola.nu',
 'uwsgi.version': '2.0.13',
 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7efd714e1ae0>,
 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
 'wsgi.input': <uwsgi._Input object at 0x7efd711f8e10>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>


More information about the Maintenance mailing list