New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rebuild_index fails on windows #96
Comments
Does this happen every time you try to rebuild the index or was there by chance an update happening at the same time? |
Yes, this happens everytime. It is a local development installation, 2012/5/29 David Sauve
|
…ee. Only do so when required. Should fix issue GH-96.
Should be resolved in SHA 37add92. Will not attempt to establish a WritableDatabase connection prior to shutil.rmtree. Will now only do so if cherry picking documents to remove. |
Hi, I tried to use xapian with django haystack on windows.
If I try a
rebuild_index
I get the following:The german message means something like "The process cannot access the file because it's used by another process."
The
rebuild_index
works if we replace the first line of thedef clear()
method with areturn
:-)So I assume, removing the directory while the library holds the lock fails under windows. Maybe releasing the lock first would help, or to avoid removing the whole directory.
The text was updated successfully, but these errors were encountered: