[Xapian-tickets] [Xapian] #328: Python bindings tests fail on Windows due to permissions error
Xapian
nobody at xapian.org
Tue Feb 10 11:51:46 GMT 2009
#328: Python bindings tests fail on Windows due to permissions error
-------------------------------+--------------------------------------------
Reporter: charliejuggler | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings | Version: SVN trunk
Severity: normal | Blockedby:
Platform: Microsoft Windows | Blocking:
-------------------------------+--------------------------------------------
pythontest2.py:943:exceptions.OSError: [Errno 13] Permission denied:
'db_test_postingsource\\flintlock'
941
942 del db
-> 943 shutil.rmtree(dbpath)
944
945 def test_postingsource2():
Traceback (most recent call last):
File "C:\work\xapian\xapian-SVN\xapian-
core\win32\Release\Python\testsuite2.py", line 201, in runtest
test_fn()
File "C:\work\xapian\xapian-SVN\xapian-
core\win32\Release\Python\pythontest2.py", line 943, in test_postingsource
shutil.rmtree(dbpath)
File "c:\Python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "c:\Python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
also :
pythontest2.py:968:exceptions.OSError: [Errno 13] Permission denied:
'db_test_postingsource2\\flintlock'
966
967 del db
-> 968 shutil.rmtree(dbpath)
969
970 def test_value_stats():
Traceback (most recent call last):
File "C:\work\xapian\xapian-SVN\xapian-
core\win32\Release\Python\testsuite2.py", line 201, in runtest
test_fn()
File "C:\work\xapian\xapian-SVN\xapian-
core\win32\Release\Python\pythontest2.py", line 968, in
test_postingsource2
shutil.rmtree(dbpath)
File "c:\Python24\lib\shutil.py", line 168, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "c:\Python24\lib\shutil.py", line 166, in rmtree
os.remove(fullname)
--
Ticket URL: <http://trac.xapian.org/ticket/328>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list