[Xapian-tickets] [Xapian] #357: Database error - inflate failed

Xapian nobody at xapian.org
Thu Apr 9 20:49:02 BST 2009


#357: Database error - inflate failed
-----------------------------+----------------------------------------------
 Reporter:  jchapin          |       Owner:  olly  
     Type:  defect           |      Status:  new   
 Priority:  normal           |   Milestone:        
Component:  Xapian-bindings  |     Version:  1.0.11
 Severity:  normal           |   Blockedby:        
 Platform:  Linux            |    Blocking:        
-----------------------------+----------------------------------------------
 Freshly compiled xapain-core, xapian-omega and xapian-bindings 1.0.11 on a
 CentOS 4.7 x86 machine. Using the php bindings with PHP 5.1.6. I am using
 scriptindex to populate a database, that finishes with no problem. If I
 run the quest utility on the database, also no problem. However when php
 is involved this error occurs:

 $ php simplesearch.php /path/to/xapian/db foo
 Parsed query is: Xapian::Query(Zfoo:(pos=1))
 2 results found:
 DatabaseError: inflate failed (invalid stored block lengths)


 Following the same install procedure on a CentOS 5.2 machine has no
 problems. Just a wild guess, the centOS 4.7 machine has incompatible zlib?

 Thanks for any help.
 -jason

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



More information about the Xapian-tickets mailing list