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

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

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Thu Nov 5 23:34:48 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/base/views.py", line 28, in homepage
    return landing_page(request)

  File "/home/deploy/milestone-a.buildout/parts/production/django/contrib/auth/decorators.py", line 78, in __call__
    return self.view_func(request, *args, **kwargs)

  File "<string>", line 2, in landing_page

  File "/home/deploy/milestone-a.buildout/mysite/base/decorators.py", line 14, in view
    request, template, view_data = func(*args, **kw)

  File "/home/deploy/milestone-a.buildout/mysite/base/views.py", line 74, in landing_page
    suggested_searches = request.user.get_profile().get_recommended_search_terms()

  File "/home/deploy/milestone-a.buildout/parts/production/django/contrib/auth/models.py", line 285, in get_profile
    self._profile_cache = model._default_manager.get(user__id__exact=self.id)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/manager.py", line 120, in get
    return self.get_query_set().get(*args, **kwargs)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 300, in get
    num = len(clone)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 81, in __len__
    self._result_cache = list(self.iterator())

  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

OperationalError: (1054, "Unknown column 'profile_person.photo_thumbnail' in 'field list'")


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'openid_provider': 'google', 'sessionid': '78d3455cf954ce0da48f25ad8aa58d3e'},
META:{'DOCUMENT_ROOT': '/var/www/',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
 'HTTP_CACHE_CONTROL': 'max-age=0',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'openid_provider=google; sessionid=78d3455cf954ce0da48f25ad8aa58d3e',
 'HTTP_HOST': 'openhatch.org',
 'HTTP_KEEP_ALIVE': '300',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091028 Ubuntu/9.04 (jaunty) Shiretoko/3.5.4',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/',
 'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '98.140.110.255',
 'REMOTE_PORT': '45617',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/',
 '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': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) PHP/5.2.9-4 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 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) PHP/5.2.9-4 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': '80',
 '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 0x8935218>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x85f8698>,
 'wsgi.input': <mod_wsgi.Input object at 0x8939e80>,
 '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