Skip to content

Instantly share code, notes, and snippets.

@dspruell
Created June 26, 2014 18:25
Show Gist options
  • Save dspruell/c77edec4eade5398b7a3 to your computer and use it in GitHub Desktop.
Save dspruell/c77edec4eade5398b7a3 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/django/db/transaction.py", line 431, in inner
return func(*args, **kwargs)
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/watson/management/commands/buildwatson.py", line 117, in handle
refreshed_model_count += rebuild_index_for_model(model, engine_slug, verbosity)
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/watson/management/commands/buildwatson.py", line 50, in rebuild_index_for_model
_bulk_save_search_entries(iter_search_entries())
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/watson/registration.py", line 168, in _bulk_save_search_entries
search_entry_batch = list(islice(search_entries, 0, batch_size))
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/watson/management/commands/buildwatson.py", line 35, in iter_search_entries
for search_entry in search_engine_._update_obj_index_iter(obj):
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/watson/registration.py", line 416, in _update_obj_index_iter
"content": adapter.get_content(obj),
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/watson/registration.py", line 122, in get_content
for field_name in field_names
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/watson/registration.py", line 122, in <genexpr>
for field_name in field_names
File "/Users/fubar/venv.d/django-tidb/lib/python2.7/site-packages/watson/registration.py", line 65, in _resolve_field
search_adapter = self,
watson.registration.SearchAdapterError: Could not find a property called u'origin.name' on either <Actor: Max> or <watson.registration.CustomSearchAdapter object at 0x1080f0ed0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment