[Xapian-tickets] [Xapian] #415: get_document() on an empty database raises floating point exception

Xapian nobody at xapian.org
Tue Nov 24 09:38:51 GMT 2009


#415: get_document() on an empty database raises floating point exception
---------------------+------------------------------------------------------
 Reporter:  richard  |       Owner:  olly     
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:           
Component:  Other    |     Version:  SVN trunk
 Severity:  normal   |   Blockedby:           
 Platform:  All      |    Blocking:           
---------------------+------------------------------------------------------
 By empty, I mean a Database object uninitialised with any concrete
 databases.

 Example code in python:

 {{{
 import xapian
 db=xapian.Database()
 db.get_document (1)
 }}}

 I would expect a DocNotFound exception.

-- 
Ticket URL: <http://trac.xapian.org/ticket/415>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list