[Devel] [Kaboom at OH] Error (internal IP): /people/
mr_website at linode.openhatch.org
mr_website at linode.openhatch.org
Tue Feb 9 23:30:39 UTC 2010
Traceback (most recent call last):
File "/home/deploy/milestone-a.buildout/parts/production/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "<string>", line 2, in people
File "/home/deploy/milestone-a.buildout/mysite/base/decorators.py", line 12, in view
request, template, view_data = func(*args, **kw)
File "/home/deploy/milestone-a.buildout/mysite/profile/views.py", line 474, in people
mappable_people, extra_data = query2results(parsed_query)
File "/home/deploy/milestone-a.buildout/mysite/profile/views.py", line 398, in query2results
return query_type2executor[desired_query_type](parsed_query)
File "/home/deploy/milestone-a.buildout/mysite/profile/views.py", line 347, in all_tags_query2mappable_orm_people
results = [x.object for x in mappable_people_from_haystack]
File "/home/deploy/milestone-a.buildout/eggs/django_haystack-1.0.1_final-py2.5.egg/haystack/query.py", line 112, in _manual_iter
if not self._fill_cache(current_position, current_position + ITERATOR_LOAD_PER_QUERY):
File "/home/deploy/milestone-a.buildout/eggs/django_haystack-1.0.1_final-py2.5.egg/haystack/query.py", line 119, in _fill_cache
results = self.query.get_results()
File "/home/deploy/milestone-a.buildout/eggs/django_haystack-1.0.1_final-py2.5.egg/haystack/backends/__init__.py", line 418, in get_results
self.run()
File "/home/deploy/milestone-a.buildout/eggs/django_haystack-1.0.1_final-py2.5.egg/haystack/backends/solr_backend.py", line 432, in run
results = self.backend.search(final_query, **kwargs)
File "/home/deploy/milestone-a.buildout/eggs/django_haystack-1.0.1_final-py2.5.egg/haystack/backends/__init__.py", line 47, in wrapper
return func(obj, query_string, *args, **kwargs)
File "/home/deploy/milestone-a.buildout/eggs/django_haystack-1.0.1_final-py2.5.egg/haystack/backends/solr_backend.py", line 182, in search
raw_results = self.conn.search(query_string, **kwargs)
File "/home/deploy/milestone-a.buildout/eggs/pysolr-2.0.9-py2.5.egg/pysolr.py", line 315, in search
response = self._select(params)
File "/home/deploy/milestone-a.buildout/eggs/pysolr-2.0.9-py2.5.egg/pysolr.py", line 213, in _select
return self._send_request('GET', path)
File "/home/deploy/milestone-a.buildout/eggs/pysolr-2.0.9-py2.5.egg/pysolr.py", line 189, in _send_request
headers, response = http.request(url + path, method=method, body=body, headers=headers)
File "/usr/lib/python2.5/site-packages/httplib2-0.4.0-py2.5.egg/httplib2/__init__.py", line 1050, in request
File "/usr/lib/python2.5/site-packages/httplib2-0.4.0-py2.5.egg/httplib2/__init__.py", line 854, in _request
File "/usr/lib/python2.5/site-packages/httplib2-0.4.0-py2.5.egg/httplib2/__init__.py", line 823, in _conn_request
File "/usr/lib/python2.5/httplib.py", line 866, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.5/httplib.py", line 889, in _send_request
self.endheaders()
File "/usr/lib/python2.5/httplib.py", line 860, in endheaders
self._send_output()
File "/usr/lib/python2.5/httplib.py", line 732, in _send_output
self.send(msg)
File "/usr/lib/python2.5/httplib.py", line 699, in send
self.connect()
File "/usr/lib/python2.5/site-packages/httplib2-0.4.0-py2.5.egg/httplib2/__init__.py", line 715, in connect
error: (111, 'Connection refused')
<WSGIRequest
GET:<QueryDict: {u'q': [u'python']}>,
POST:<QueryDict: {}>,
COOKIES:{'openid_provider': 'google', 'sessionid': '1c0bdb75876a130042d022df309fb936'},
META:{'DOCUMENT_ROOT': '/var/www/',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'openid_provider=google; sessionid=1c0bdb75876a130042d022df309fb936',
'HTTP_HOST': 'openhatch.org',
'HTTP_REFERER': 'http://openhatch.org/people/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US) AppleWebKit/532.0 (KHTML, like Gecko) Iron/3.0.197.0 Safari/532.0',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': u'/people/',
'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/people/',
'QUERY_STRING': 'q=python',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_PORT': '45533',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/people/?q=python',
'SCRIPT_FILENAME': '/home/deploy/milestone-a.buildout/bin/production.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '127.0.0.1',
'SERVER_ADMIN': 'webmaster at localhost',
'SERVER_NAME': 'openhatch.org',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.11 (Debian) PHP/5.2.11-1 with Suhosin-Patch mod_ssl/2.2.11 OpenSSL/0.9.8k mod_wsgi/2.8 Python/2.5.4 Server at openhatch.org Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.11 (Debian) PHP/5.2.11-1 with Suhosin-Patch mod_ssl/2.2.11 OpenSSL/0.9.8k mod_wsgi/2.8 Python/2.5.4',
'mod_wsgi.application_group': 'openhatch.org|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.process_group': 'live',
'mod_wsgi.reload_mechanism': '1',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (2, 8),
'wsgi.errors': <mod_wsgi.Log object at 0x8e3f220>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x8d84848>,
'wsgi.input': <mod_wsgi.Input object at 0x8fa2778>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
More information about the Devel
mailing list