1. Matt Chaput
  2. whoosh
  3. Issues
Issue #375 new

Error while rebuilding the index

Anonymous created an issue

ERROR 2013-11-13 20:32:26,525 whoosh_backend 15922 140735167304064

Exception while preparing object for update
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/haystack/backends/whoosh_backend.py", line 191, in update
  File "/Library/Python/2.7/site-packages/whoosh/writing.py", line 1024, in update_document
    self._record("update_document", args, kwargs)
  File "/Library/Python/2.7/site-packages/whoosh/writing.py", line 1001, in _record
    getattr(self.writer, method)(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/whoosh/writing.py", line 477, in update_document
  File "/Library/Python/2.7/site-packages/whoosh/writing.py", line 729, in add_document
  File "/Library/Python/2.7/site-packages/whoosh/codec/whoosh3.py", line 201, in start_doc
    raise Exception("Called start_doc when already in a doc")
Exception: Called start_doc when already in a doc

Comments (5)

  1. rogaha

    Hi Matt,

    I'm trying to rebuild_index. I have imported the data table from another DB and I'm trying to rebuild it after that. The command rebuild_index worked before I import that table data.

  2. Log in to comment