Alessandro Pasotti
2008-Aug-19 07:17 UTC
[Xapian-devel] Fwd: Strange error with PHP bindings [some more details]
Finally I noticed something suspect: [2008-08-19 09:11:25] [DEBUG] DAO_Articles::add_xindex() - document added id : 255, title : Gli anelli con sigil... this is a debug line from my application, add_xindex function simply adds the document to xapian database, the error always happens when I try to add an article with id = 255, this can not be a casualty (I also tried to change the order of documents, it always stop to 255). ---------- Forwarded message ---------- From: Alessandro Pasotti <apasotti at gmail.com> Date: 2008/8/18 Subject: Strange error with PHP bindings To: Xapian Discussion <Xapian-discuss at lists.xapian.org> Hello, I'm using version 1.0.7 and for the first time I'm seeing this error without being able to understand what causes it to show up: *Fatal error*: Uncaught exception 'Exception' with message 'AssertionError: backends/flint/flint_table.cc:2080: c >= 11' in /usr/local/share/php5/xapian.php:1391 ** Any hint? The same tests run without errors on 1.0.6 on my testing machine. -- Alessandro Pasotti w3: www.itopen.it -- Alessandro Pasotti w3: www.itopen.it -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20080819/3fb2584e/attachment.html>
Olly Betts
2008-Aug-20 00:38 UTC
[Xapian-devel] Fwd: Strange error with PHP bindings [some more details]
On Tue, Aug 19, 2008 at 09:17:09AM +0200, Alessandro Pasotti wrote:> Finally I noticed something suspect: > > [2008-08-19 09:11:25] [DEBUG] DAO_Articles::add_xindex() - document added id > : 255, title : Gli anelli con sigil... > > this is a debug line from my application, add_xindex function simply adds > the document to xapian database, the error always happens when I try to add > an article with id = 255, this can not be a casualty (I also tried to change > the order of documents, it always stop to 255).You're still going to need to show us how to reproduce this. This works for me: $db = new XapianWritableDatabase("tmp.db", Xapian::DB_CREATE_OR_OVERWRITE); $db->replace_document(255, new XapianDocument()); Cheers, Olly