search for: new_writabledatabase

Displaying 2 results from an estimated 2 matches for "new_writabledatabase".

2006 Aug 03
1
An error while testing Python 2.5 and xapian in Win32
...on win32 Type "help", "copyright", "credits" or "license" for more information. >>> >>>import sys >>>sys.path.append("C:/Python25/Lib/site-packages/Xapian") >>>from _xapian import * >>>from _xapian import new_WritableDatabase, new_Document >>>w=new_WritableDatabase("db",DB_CREATE_OR_OPEN) >>>d=new_Document() >>>del d swig/python detected a memory leak of type 'Xapian::Document *', no destructor found. >>> If a try to print d, windows crashes indicating: Faulting app...
2011 Jan 17
2
DatabaseCorruptError
Hi there, My web app uses Xapian via the PHP bindings. I'm getting this error thrown occasionally when atempting to instantiate a XapianDatabase object for searching. DatabaseCorruptError: Expected block 107 to be level 1, not 0 Here's the line that invokes it: $database = new XapianDatabase(PROJROOT.'/data/xapian/posts'); And my version is xapian-core 1.2.3 with matchspy.