[Xapian-tickets] [Xapian] #354: Python bindings failing tests on Windows

Xapian nobody at xapian.org
Wed Mar 25 17:10:33 GMT 2009


#354: Python bindings failing tests on Windows
-------------------------------+--------------------------------------------
 Reporter:  charliejuggler     |        Owner:  richard  
     Type:  defect             |       Status:  assigned 
 Priority:  normal             |    Milestone:  1.1.0    
Component:  Xapian-bindings    |      Version:  SVN trunk
 Severity:  normal             |   Resolution:           
 Keywords:                     |    Blockedby:           
 Platform:  Microsoft Windows  |     Blocking:           
-------------------------------+--------------------------------------------
Changes (by richard):

  * owner:  olly => richard
  * status:  new => assigned


Comment:

 Your initial attempt to fix this (by adding db.close()) should work in
 theory, but I believe I've found the reason that it doesn't: db.close()
 causes the main process to close all its files, but the lock subprocess is
 still holding the "db_test_postingsource2/flintlock" file open.

 I've verified that this is what happens under unix anyway (by causing the
 test to sleep just before the shutil.rmtree() call, and inspecting the
 open files with "lsof").

 The fix should be fairly simple - I'll have a quick go at it.

-- 
Ticket URL: <http://trac.xapian.org/ticket/354#comment:2>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list