Comment 1 for bug 790669

Revision history for this message
benste (benste) wrote :

Django Traceback:
Environment:

Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.2.3
Python Version: 2.6.6
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'mailman_django']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')

Traceback:
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in get_response
  100. response = callback(request, *callback_args, **callback_kwargs)
File "/home/benste/Projects/Gsoc_mailman/mailman_django/views.py" in list_index
  130. lists = c.get_lists()
File "/home/benste/Projects/Gsoc_mailman/mailman_django/mailmanclient/rest.py" in get_lists
  148. response = self._http_request('/3.0/lists')
File "/home/benste/Projects/Gsoc_mailman/mailman_django/mailmanclient/rest.py" in _http_request
  105. response, content = Http().request(url, method, data, headers)
File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py" in request
  1129. (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py" in _request
  901. (response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py" in _conn_request
  871. response = conn.getresponse()
File "/usr/lib/python2.6/httplib.py" in getresponse
  988. method=self._method)
File "/usr/lib/python2.6/httplib.py" in __init__
  330. self.fp = sock.makefile('rb', 0)

Exception Type: AttributeError at /
Exception Value: 'NoneType' object has no attribute 'makefile'