[Xapian-tickets] [Xapian] #526: compactor test for Python bindings fails on Windows

Xapian nobody at xapian.org
Wed Jan 5 15:16:17 GMT 2011


#526: compactor test for Python bindings fails on Windows
--------------------------------------+-------------------------------------
 Reporter:  charliejuggler            |       Owner:  richard
     Type:  defect                    |      Status:  new    
 Priority:  normal                    |   Milestone:         
Component:  Xapian-bindings (Python)  |     Version:  1.2.4  
 Severity:  normal                    |   Blockedby:         
 Platform:  Microsoft Windows         |    Blocking:         
--------------------------------------+-------------------------------------
 {{{
 Running test: compactor... FAILED

 pythontest2.py:1505:exceptions.OSError: [Errno 13] Permission denied:
 'c:\\docum
 e~1\\another\\locals~1\\temp\\tmp9imtqh\\db1\\flintlock', when testing a
 custom
 compactor which merges duplicate metadata
   1503
   1504     finally:
 ->1505         shutil.rmtree(tmpdir)
   1506
   1507 def test_leak_mset_items():
 Traceback (most recent call last):
   File "C:\work\xapian\xapian-releases\xapian-
 core-1.2.4\win32\Release\Python24\
 testsuite2.py", line 201, in runtest
     test_fn()
   File "C:\work\xapian\xapian-releases\xapian-
 core-1.2.4\win32\Release\Python24\
 pythontest2.py", line 1505, in test_compactor
     shutil.rmtree(tmpdir)
   File "C:\Python24\lib\shutil.py", line 163, in rmtree
     rmtree(fullname, ignore_errors, onerror)
   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/526>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list