This site is an archive; learn more about 8 years of OpenHatch.

[Devel] [Kaboom at OH] Error (EXTERNAL IP): /search/

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Mon Dec 7 19:40:34 UTC 2009


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 "/home/deploy/milestone-a.buildout/mysite/search/views.py", line 107, in fetch_bugs
    facet, [''])[0]['query_string']

  File "/home/deploy/milestone-a.buildout/mysite/search/controllers.py", line 147, in get_facet_options
    return [get_facet_option_data(n) for n in option_names]

  File "/home/deploy/milestone-a.buildout/mysite/search/controllers.py", line 142, in get_facet_option_data
    'count': query.get_or_create_cached_hit_count(),

  File "/home/deploy/milestone-a.buildout/mysite/search/controllers.py", line 211, in get_or_create_cached_hit_count
    if existing_hccs:

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 112, in __nonzero__
    iter(self).next()

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 106, in _result_iter
    self._fill_cache()

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 692, in _fill_cache
    self._result_cache.append(self._iter.next())

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 238, in iterator
    for row in self.query.results_iter():

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/sql/query.py", line 287, in results_iter
    for rows in self.execute_sql(MULTI):

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/sql/query.py", line 2369, in execute_sql
    cursor.execute(sql, params)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/backends/mysql/base.py", line 84, in execute
    return self.cursor.execute(query, args)

  File "/home/deploy/milestone-a.buildout/eggs/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/MySQLdb/cursors.py", line 173, in execute
    self.errorhandler(self, exc, value)

  File "/home/deploy/milestone-a.buildout/eggs/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue

ProgrammingError: (1146, "Table 'oh_milestone_a.search_hitcountcache' doesn't exist")


<WSGIRequest
GET:<QueryDict: {u'q': [u''], u'toughness': [u'bitesize'], u'language': [u'C']}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'DOCUMENT_ROOT': '/var/www/',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTPS': '1',
 'HTTP_ACCEPT': '*/*',
 'HTTP_HOST': 'openhatch.org',
 'HTTP_USER_AGENT': 'ApacheBench/2.3',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/search/',
 'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/search/',
 'QUERY_STRING': 'q=&toughness=bitesize&language=C',
 'REMOTE_ADDR': '98.140.110.49',
 'REMOTE_PORT': '51636',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/search/?q=&toughness=bitesize&language=C',
 'SCRIPT_FILENAME': '/home/deploy/milestone-a.buildout/bin/production.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '74.207.229.254',
 'SERVER_ADMIN': 'webmaster at localhost',
 'SERVER_NAME': 'openhatch.org',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.0',
 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) PHP/5.2.11-1 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.5.4 Server at openhatch.org Port 443</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) PHP/5.2.11-1 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.5.4',
 'mod_wsgi.application_group': 'openhatch.org|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '443',
 'mod_wsgi.process_group': 'live',
 'mod_wsgi.reload_mechanism': '1',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (2, 5),
 'wsgi.errors': <mod_wsgi.Log object at 0x9d73560>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x95b2f08>,
 'wsgi.input': <mod_wsgi.Input object at 0x9611548>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>


More information about the Devel mailing list