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

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

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Wed Feb 24 22:26:55 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 680, in prepare_data_import_attempts_do
    prepare_data_import_attempts(identifiers=request.POST.values(), user=request.user)

  File "/home/deploy/milestone-a.buildout/mysite/profile/views.py", line 703, in prepare_data_import_attempts
    dia.do_what_it_says_on_the_tin()

  File "/home/deploy/milestone-a.buildout/mysite/profile/models.py", line 303, in do_what_it_says_on_the_tin
    FetchPersonDataFromOhloh.delay(self.id)

  File "/home/deploy/milestone-a.buildout/eggs/celery-0.6.0-py2.5.egg/celery/task/base.py", line 193, in delay
    return apply_async(cls, args, kwargs)

  File "/home/deploy/milestone-a.buildout/eggs/celery-0.6.0-py2.5.egg/celery/execute.py", line 76, in apply_async
    connection = DjangoAMQPConnection(connect_timeout=connect_timeout)

  File "/usr/lib/python2.5/site-packages/carrot-0.5.0-py2.5.egg/carrot/connection.py", line 188, in __init__
    super(DjangoAMQPConnection, self).__init__(*args, **kwargs)

  File "/usr/lib/python2.5/site-packages/carrot-0.5.0-py2.5.egg/carrot/connection.py", line 92, in __init__
    self.connect()

  File "/usr/lib/python2.5/site-packages/carrot-0.5.0-py2.5.egg/carrot/connection.py", line 110, in connect
    connect_timeout=self.connect_timeout)

  File "/usr/lib/python2.5/site-packages/amqplib-0.6-py2.5.egg/amqplib/client_0_8/connection.py", line 143, in __init__
    host = self._x_open(virtual_host, insist=insist)

  File "/usr/lib/python2.5/site-packages/amqplib-0.6-py2.5.egg/amqplib/client_0_8/connection.py", line 474, in _x_open
    self._send_method((10, 40), args)

  File "/usr/lib/python2.5/site-packages/amqplib-0.6-py2.5.egg/amqplib/client_0_8/abstract_channel.py", line 54, in _send_method
    method_sig, args, content)

  File "/usr/lib/python2.5/site-packages/amqplib-0.6-py2.5.egg/amqplib/client_0_8/method_framing.py", line 230, in write_method
    self.dest.write_frame(1, channel, payload)

  File "/usr/lib/python2.5/site-packages/amqplib-0.6-py2.5.egg/amqplib/client_0_8/transport.py", line 121, in write_frame
    frame_type, channel, size, payload, 0xce))

  File "<string>", line 1, in sendall

error: (104, 'Connection reset by peer')


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'identifier_0': [u'dreid'], u'identifier_1': [u'dreid at twistedmatrix.com'], u'identifier_2': [u'dreid at dreid.org'], u'identifier_3': [u'dreid at apple.com'], u'identifier_4': [u'']}>,
COOKIES:{'openid_provider': 'openid', 'sessionid': '64708dc5d28053569f2744b1a70bf65f'},
META:{'CONTENT_LENGTH': '133',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
 'DOCUMENT_ROOT': '/var/www/',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTPS': '1',
 'HTTP_ACCEPT': '*/*',
 '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=64708dc5d28053569f2744b1a70bf65f',
 'HTTP_HOST': 'openhatch.org',
 'HTTP_ORIGIN': 'https://openhatch.org',
 'HTTP_REFERER': 'https://openhatch.org/+portfolio/editor/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.9 Safari/532.9',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/profile/views/prepare_data_import_attempts_do',
 'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/profile/views/prepare_data_import_attempts_do',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '204.77.233.46',
 'REMOTE_PORT': '56408',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/profile/views/prepare_data_import_attempts_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)',
 '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 0x973afb0>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x9009020>,
 'wsgi.input': <mod_wsgi.Input object at 0x94c8188>,
 '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