This problem has been bugging me for sometime. Often I got a
'CreateFile failed exception' like this:
...
File "C:\Python24\lib\site-packages\PyLucene.py", line 920, in __init__
    newobj = _PyLucene.new_IndexWriter(*args)
ValueError: java.io.IOException: CreateFile failed
   at 0x10128f1e (Unknown Source)
   at 0x10129412 (Unknown Source)
   at 0x1012c7b4 (Unknown Source)
   at 0x10119aa4 (Unknown Source)
   at 0x10182c12 (Unknown Source)
   at 0x101148a6 (Unknown Source)
   at 0x10062c70 (Unknown Source)
   at 0x10065f5b (Unknown Source)
   at 0x100270ae (Unknown Source)
   at 0x10026f39 (Unknown Source)
   at 0x100c95ec (Unknown Source)

The Python exception doesn't say much about what file has problem.
Often I have to fire up the Java version to get more detail error
message. I'm wondering why the Python version is not showing more
details. I'm rather disoriented right now.

By the way the problem is usually some lock file has remained in a
temp directory (win32). Just delete it would get me going. But this
time I got a tougher problem that even Java version won;t tell right
away.
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to