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

[Devel] [Kaboom at OH] [celery at linode.openhatch.org] Error: Task mysite.profile.tasks.ReindexPerson (af2a6758-59d1-4a68-b585-5663c5efa2e2): 'NoneType' object has no attribute 'makefile'

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Tue Feb 9 21:29:09 UTC 2010


Task mysite.profile.tasks.ReindexPerson with id af2a6758-59d1-4a68-b585-5663c5efa2e2 raised exception: 'NoneType' object has no attribute 'makefile'


Task was called with args:[] kwargs:{'person_id': 490L}.
The contents of the full traceback was:

Traceback (most recent call last):

  File "/home/deploy/milestone-a.buildout/eggs/celery-0.6.0-py2.5.egg/celery/worker/job.py", line 84, in jail
    result = func(*args, **kwargs)

  File "/home/deploy/milestone-a.buildout/eggs/celery-0.6.0-py2.5.egg/celery/task/base.py", line 123, in __call__
    return self.run(*args, **kwargs)

  File "/home/deploy/milestone-a.buildout/mysite/profile/tasks/__init__.py", line 261, in run
    dia = DataImportAttempt.objects.get(id=dia_id)

  File "/home/deploy/milestone-a.buildout/eggs/django_haystack-1.0.1_final-py2.5.egg/haystack/indexes.py", line 134, in update_object
    self.backend.update(self, [instance])

  File "/home/deploy/milestone-a.buildout/eggs/django_haystack-1.0.1_final-py2.5.egg/haystack/backends/solr_backend.py", line 72, in update
    self.conn.add(docs, commit=commit)

  File "/home/deploy/milestone-a.buildout/eggs/pysolr-2.0.9-py2.5.egg/pysolr.py", line 376, in add
    response = self._update(m)

  File "/home/deploy/milestone-a.buildout/eggs/pysolr-2.0.9-py2.5.egg/pysolr.py", line 238, in _update
    return self._send_request('POST', path, message, {'Content-type': 'text/xml'})

  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 "/home/deploy/milestone-a.buildout/eggs/httplib2-0.6.0-py2.5.egg/httplib2/__init__.py", line 1129, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)

  File "/home/deploy/milestone-a.buildout/eggs/httplib2-0.6.0-py2.5.egg/httplib2/__init__.py", line 901, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)

  File "/home/deploy/milestone-a.buildout/eggs/httplib2-0.6.0-py2.5.egg/httplib2/__init__.py", line 871, in _conn_request
    response = conn.getresponse()

  File "/usr/lib/python2.5/httplib.py", line 926, in getresponse
    method=self._method)

  File "/usr/lib/python2.5/httplib.py", line 324, in __init__
    self.fp = sock.makefile('rb', 0)

AttributeError: 'NoneType' object has no attribute 'makefile'


-- 
Just thought I'd let you know!
celeryd at linode.openhatch.org.


More information about the Devel mailing list