1. Matt Chaput
  2. whoosh
Issue #369 new

LockError thrown from AsyncWriter

Daniel Black
created an issue

I've yet to work out how this exception was even possible. It was a number of concurrent calls to the search.py:_delete function.

  File "/home/dan/software_projects/infinite/app/ckeditor_cms/search.py", line 171, in _delete
    with writing.AsyncWriter(ix) as wr:
  File "/home/dan/software_projects/infinite/env/lib/python2.7/site-packages/whoosh/index.py", line 464, in writer
    return SegmentWriter(self, **kwargs)
  File "/home/dan/software_projects/infinite/env/lib/python2.7/site-packages/whoosh/writing.py", line 502, in __init__
    raise LockError
LockError

Whoosh==2.5.4 since I haven't mentioned it in the other bugs reports.

Comments (0)

  1. Log in to comment