Opened 16 years ago
Closed 15 years ago
#328 closed defect (fixed)
Python bindings tests fail on Windows due to permissions error
Reported by: | Charlie Hull | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | 1.1.0 |
Component: | Xapian-bindings | Version: | SVN trunk |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | Microsoft Windows |
Description
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)
Change History (3)
comment:1 by , 15 years ago
comment:3 by , 15 years ago
Milestone: | → 1.1.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
OK, from the date of the above entry, it would have been in 1.1.0.
It seems likely this was fixed months ago, by this change:
Charlie: can you confirm/deny if this is still a live issue?