Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created February 25, 2013 22:48
Show Gist options
  • Save groovecoder/5034049 to your computer and use it in GitHub Desktop.
Save groovecoder/5034049 to your computer and use it in GitHub Desktop.
[2013-02-25 14:18:47,436: ERROR/MainProcess] Task elasticutils.contrib.django.tasks.index_objects[22e284a2-6ca0-4ec2-8c9e-56906f0c057f] raised exception: AttributeError("'Document' object has no attribute 'fields'",)
Traceback (most recent call last):
File "/vagrant/vendor/packages/celery/celery/execute/trace.py", line 181, in trace_task
R = retval = fun(*args, **kwargs)
File "/vagrant/vendor/src/elasticutils/elasticutils/contrib/django/tasks.py", line 30, in index_objects
model.index(item.fields(), bulk=True, id=item.id)
AttributeError: 'Document' object has no attribute 'fields'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment