[Xapian-tickets] [Xapian] #354: Python bindings failing tests on Windows
Xapian
nobody at xapian.org
Wed Mar 25 16:47:12 GMT 2009
#354: Python bindings failing tests on Windows
-------------------------------+--------------------------------------------
Reporter: charliejuggler | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.1.0
Component: Xapian-bindings | Version: SVN trunk
Severity: normal | Resolution:
Keywords: | Blockedby:
Platform: Microsoft Windows | Blocking:
-------------------------------+--------------------------------------------
Comment(by charliejuggler):
Sorry, looks like I already tried to fix this locally, so the line numbers
are wrong. Here's the same error with code from SVN HEAD:
Running test: postingsource... FAILED
pythontest2.py:986:<type 'exceptions.WindowsError'>: [Error 32] The
process cann
ot access the file because it is being used by another process:
'db_test_posting
source\\flintlock'
984
985 del db
-> 986 shutil.rmtree(dbpath)
987
988 def test_postingsource2():
Traceback (most recent call last):
File "C:\work\xapian\xapian-SVN\xapian-
core\win32\Release\Python25\testsuite2.
py", line 201, in runtest
test_fn()
File "C:\work\xapian\xapian-SVN\xapian-
core\win32\Release\Python25\pythontest2
.py", line 986, in test_postingsource
shutil.rmtree(dbpath)
File "c:\Python25\lib\shutil.py", line 174, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "c:\Python25\lib\shutil.py", line 172, in rmtree
os.remove(fullname)
Xapian version: 1.1.0
Platform: Windows XP (5.1.2600)
When reporting this problem, please quote all the preceding lines from
"pythontest2.py:986" onwards.
Running test: postingsource2... FAILED
pythontest2.py:1011:<type 'exceptions.WindowsError'>: [Error 32] The
process can
not access the file because it is being used by another process:
'db_test_postin
gsource2\\flintlock'
1009
1010 del db
->1011 shutil.rmtree(dbpath)
1012
1013 def test_value_stats():
Traceback (most recent call last):
File "C:\work\xapian\xapian-SVN\xapian-
core\win32\Release\Python25\testsuite2.
py", line 201, in runtest
test_fn()
File "C:\work\xapian\xapian-SVN\xapian-
core\win32\Release\Python25\pythontest2
.py", line 1011, in test_postingsource2
shutil.rmtree(dbpath)
File "c:\Python25\lib\shutil.py", line 174, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "c:\Python25\lib\shutil.py", line 172, in rmtree
os.remove(fullname)
--
Ticket URL: <http://trac.xapian.org/ticket/354#comment:1>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list