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

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

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Fri Feb 19 23:03:02 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 "/home/deploy/milestone-a.buildout/parts/production/django/contrib/auth/decorators.py", line 78, in __call__
    return self.view_func(request, *args, **kwargs)

  File "/home/deploy/milestone-a.buildout/mysite/profile/views.py", line 887, in save_portfolio_entry_do
    p.save()

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/base.py", line 410, in save
    self.save_base(force_insert=force_insert, force_update=force_update)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/base.py", line 506, in save_base
    created=(not record_exists), raw=raw)

  File "/home/deploy/milestone-a.buildout/parts/production/django/dispatch/dispatcher.py", line 166, in send
    response = receiver(signal=self, sender=sender, **named)

  File "/home/deploy/milestone-a.buildout/mysite/profile/models.py", line 333, in update_the_project_cached_contributor_count
    instance.project.update_cached_contributor_count()

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/fields/related.py", line 257, in __get__
    rel_obj = QuerySet(self.field.rel.to).get(**params)

  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 'search_project.created_date' in 'field list'")


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'experience_description': [u''], u'project_name': [u''], u'portfolio_entry__pk': [u'1274'], u'pf_entry_element_id': [u'portfolio_entry_1274'], u'project_description': [u'']}>,
COOKIES:{'openid_provider': 'openid', 'sessionid': 'f0903808c72fa66736364e05e926ce6f'},
META:{'CONTENT_LENGTH': '124',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
 'DOCUMENT_ROOT': '/var/www/',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTPS': '1',
 'HTTP_ACCEPT': 'application/json, text/javascript, */*',
 '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=openid; sessionid=f0903808c72fa66736364e05e926ce6f',
 'HTTP_HOST': 'openhatch.org',
 'HTTP_ORIGIN': 'https://openhatch.org',
 'HTTP_REFERER': 'https://openhatch.org/+portfolio/editor/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.7 Safari/532.9',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/profile/views/save_portfolio_entry_do',
 'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/profile/views/save_portfolio_entry_do',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '166.204.230.203',
 'REMOTE_PORT': '56488',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/profile/views/save_portfolio_entry_do',
 '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.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Debian) Server at openhatch.org Port 443</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.14 (Debian)',
 'SSL_TLS_SNI': 'openhatch.org',
 '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 0x8a6e230>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x87814e8>,
 'wsgi.input': <mod_wsgi.Input object at 0x8a76110>,
 '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