Skip to content

Instantly share code, notes, and snippets.

@davelowe
Created November 9, 2011 17:00
Show Gist options
  • Save davelowe/1352084 to your computer and use it in GitHub Desktop.
Save davelowe/1352084 to your computer and use it in GitHub Desktop.
[2011-11-09 08:55:05,146: WARNING/MainProcess] celery@myhost.local has started.
[2011-11-09 08:55:05,363: ERROR/MainProcess] Thread 'TaskHandler' crashed: AttributeError("'ImageSpecFile' object has no attribute 'source_file'",)
Traceback (most recent call last):
File "[..]lib/python2.7/site-packages/celery/concurrency/processes/pool.py", line 191, in run
return self.body()
File "[..]lib/python2.7/site-packages/celery/concurrency/processes/pool.py", line 240, in body
put(task)
File "[..]lib/python2.7/site-packages/django/db/models/fields/files.py", line 140, in __getstate__
return {'name': self.name, 'closed': False, '_committed': True, '_file': None}
File "[..]lib/python2.7/site-packages/imagekit/models.py", line 254, in name
filename = self.source_file.name
AttributeError: 'ImageSpecFile' object has no attribute 'source_file'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment