Displaying 20 results from an estimated 21 matches for "_xapian".
Did you mean:
xapian
2004 Sep 02
1
bindings - python module
hello all,
i'm new to xapian and am just beginning to play around with the python
bindings. first off, the example (simplesearch.py) i pulled from cvs
didn't work complaining of not finding the _xapian module. after using
strace, i noticed python trying to search for _xapian.so. the default
xapian-bindings build produces _xapian (without the .so extension) so
renaming it to _xapian.so fixes the problem. i didn't find this fix in
the archives so apologies if this is a dupe.
btw, this is a ge...
2011 Apr 18
0
Who can help me?I got a problem when I make ”Xapian-bindings“
...ap.cc -fPIC -DPIC -o
.libs/xapian_wrap.o
mv -f .deps/xapian_wrap.Tpo .deps/xapian_wrap.Plo
/bin/bash ../libtool --tag=CXX --mode=link g++ -fno-strict-aliasing -Wall
-Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -g
-O2 -avoid-version -module -shrext ".so" -o _xapian.la -rpath
/usr/lib/python2.6/dist-packages/xapian xapian_wrap.lo -L/usr/local/lib
-lxapian -lstdc++
libtool: link: g++ -fPIC -DPIC -shared -nostdlib
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o
/usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/xapian_wrap.o
-L/usr/local/lib /usr/loc...
2010 Oct 14
2
Import error on Windows
...e and forward me the extracted contents. Bizarre, but fixed.
Now, I'm running into another issue, this time with the Python bindings. I've installed the MSVC distrib package and checked that site-packages has `xapian.py` and a folder called `xapian` with three files in it: `__init__py`, `_xapian.pyd` and `zlib1.dll`.
If I try to `import xapian` I get a traceback indicating there was a problem loading a DLL:
>>> import xapian
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\xapian\__init__.py...
2011 Aug 24
1
Compilation error
Hi All,
I am compiling the development code of xapian (
http://trac.xapian.org/browser/trunk) and while doing *'make*' it will give
following error
PYTHONPATH="xapian:$PYTHONPATH" /usr/bin/python -c "import _xapian"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError:
dlopen(/Users/iphonedev/xapian/xapian-bindings/python/xapian/_xapian.so, 2):
Library not loaded: /usr/local/lib/libxapian.0.dylib
Referenced from:
/Users/iphonedev/xapian/xapian-bind...
2005 Sep 12
2
Compiling xapian-bindings-0.9.2 on OpenBSD 3.7
.../extra -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c modern/xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wno-unused -Wno-uninitialized -g -O2 -I/usr/local/src/xapian-core-0.9.2/include -I/usr/local/src/xapian-core-0.9.2/extra -o _xapian.la -rpath /usr/local/lib/python2.3/site-packages -avoid-version -module -no-undefined xapian_wrap.lo /usr/local/src/xapian-core-0.9.2/libxapian.la
g++ -shared -fPIC -DPIC .libs/xapian_wrap.o -L/usr/local/src/xapian-core-0.9.2/.libs -lxapian -o .libs/_xapian.so
creating _xapian.la
(cd .libs &a...
2006 Aug 03
1
An error while testing Python 2.5 and xapian in Win32
...11 2006, 10:16:14) [MSC v.1310 32 bit
(Intel)] 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.
>>>...
2010 Oct 09
1
cron.daily is tossing this strange message about xapian:
...st recent call last):
File "/usr/sbin/update-apt-xapian-index", line 581, in <module>
import os.path, re, imp, glob, xapian, textwrap, shutil, fcntl,
errno, itertools, time
File "/usr/lib/python2.6/dist-packages/xapian.py", line 6, in <module>
import _xapian
ImportError: /usr/lib/python2.6/dist-packages/_xapian.so: undefined
symbol: _ZNK6Xapian8Database19metadata_keys_beginERKSs
I did a search in /etc/apt like grep -R xapian *
and it didn't find anything active. All references to xapian are
commented out in sources.list. The binary file truste...
2007 Dec 12
1
ucs2 build of xapian?
Hi folks--
I'd really like to try out Xapian on my current server setup (Debian Sarge, Apache2, mod_python, django, postgresql, psycopg2). Problem is, my Python is compiled as ucs2, which is incompatible w/Xapian. I've tried recompiling Python w/ucs4, but it inevitably breaks psycopg2 (which I've blitzed & reinstalled on top of the new Python build, seems like dozens of times
2005 Jul 31
1
xapian-bindings for python doesn't compile on OSX Tiger
...-recursive
Making all in python
make all-recursive
Making all in docs
Making all in examples
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wno-unused \
-Wno-uninitialized -g -O2 -I/usr/local/include -o _xapian.la \
-rpath /Library/Frameworks/Python.fr [cut]
g++ -o .libs/_xapian.so -bundle .libs/xapian_wrap.o \
/usr/local/lib/libxapian.dylib
/usr/bin/ld: Undefined symbols:
_PyArg_ParseTuple
_PyCFunction_Type
_PyCObject_FromVoidPtr
_PyCObject_Import
_PyDict_GetItemString
_P...
2011 Mar 26
2
Building Xapian on Mac OSX 10.6.x
I have a project that requires Xapian for a 32 bit arch, but Mac
defaults to 64 bit. How can I configure Xapian core and Xapian python
bindings to build 32 bit?
2011 Mar 26
2
Building Xapian on Mac OSX 10.6.x
I have a project that requires Xapian for a 32 bit arch, but Mac
defaults to 64 bit. How can I configure Xapian core and Xapian python
bindings to build 32 bit?
2017 Jan 16
2
Building xapian-bindings
...was running `make clean all` which
deletes docs/xapian.rb and then make all fails because it can't build
that file.
> make clean
Making clean in .
rm -rf .libs _libs
rm -f *.lo
Making clean in ruby
test -z " docs/xapian.rb" || rm -f docs/xapian.rb
rm -rf .libs _libs
test -z "_xapian.la" || rm -f _xapian.la
rm -f ./so_locations
rm -f *.o
test -z "smoketest.rb.log" || rm -f smoketest.rb.log
test -z "smoketest.rb.trs" || rm -f smoketest.rb.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
> make all
/Applications/Xcode.app/Conte...
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.
2010 Feb 18
2
xapian.DocNotFoundError: regression?
Hello,
I've installed xapian-core 1.1.3 and xapian-bindings 1.1.4 from the
tarballs announced by Olly the other day. With these versions,
Enquire.get_mset() seems to consistently be raising
xapian.DocNotFoundError.
I've attached a small test case which reproduces this. The same test
case works fine with 1.0.16 (not the latest 1.0.x, but it's what I had
installed).
Program output
2017 Jan 16
0
Building xapian-bindings
...xapian.rb and then make all fails because it can't build
> that file.
>
>> make clean
> Making clean in .
> rm -rf .libs _libs
> rm -f *.lo
> Making clean in ruby
> test -z " docs/xapian.rb" || rm -f docs/xapian.rb
> rm -rf .libs _libs
> test -z "_xapian.la" || rm -f _xapian.la
> rm -f ./so_locations
> rm -f *.o
> test -z "smoketest.rb.log" || rm -f smoketest.rb.log
> test -z "smoketest.rb.trs" || rm -f smoketest.rb.trs
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f *.lo
>> make...
2009 Sep 15
1
can´t build ruby bindings with msvc (xapian 1.1.2)
...ny
xapian_wrap.* file in the repository, i suppose those should be generated by SWIG?
does someone know what i could do or try to get it working? any help would be real nice.
PS
i?ve also tried revision 13512 from http://oligarchy.co.uk/xapian/trunk/, gave me (after some warnings)the error
...\_xapian.so : fatal error LNK
1120: 1 unresolved externals.
NMAKE : fatal error U1077: ""D:\Programme\Microsoft Visual Studio 9.0\VC\BIN\lin
k.exe"": return code "0x460"
Stop.
PPS
i?ve send another email earlier this day, but neither did i get an acknowledgement mail nor does...
2009 Apr 02
1
Feedback on Listing at teachingopensource.org
Hello Xapian Developers,
I am writing with feedback on your Help Wanted listing at
teachingopensource.org, specifically
http://www.teachingopensource.org/index.php/Help_Wanted:_Xapian
Overall, I think your project listing looks very well done. On your ideas
page, you haven't done a lot to sell/market each idea. Why is development of
this specific project going to improve Xapian overall? How will that
improvement empower/improve some of the downstream projects you mention us...
2005 Dec 22
1
Xapian Binding compile error in Windows XP using CygWin
...rence to `_PyString_FromString'
Info: resolving vtable for Xapian::TradWeightby linking to __imp___ZTVN6Xapian10
TradWeightE (auto-import)
Info: resolving vtable for Xapian::BM25Weightby linking to __imp___ZTVN6Xapian10
BM25WeightE (auto-import)
collect2: ld returned 1 exit status
make[4]: *** [_xapian.la] Error 1
make[4]: Leaving directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1/xapian-bin
dings/python'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1/xapian-bin
dings/python'
make[2]: *** [all] Error 2
make[2]: Leaving director...
2006 Apr 22
1
Ruby bindings now pass all smoketests
Dear Xapian developers,
I am happy to announce that the Xapian-Ruby bindings now pass all tests
defined in smoketest.rb. (These tests are mostly drawn from
smoketest.py; a few tests that are not applicable to the Ruby version
have been removed.) I have also added Olly's patch to integrate the Ruby
bindings into the automake/configure scripts.
The latest version is available by anonymous
2005 Mar 28
4
Problem with bindings and MinGW
...="Xapian bindings for Python",
author="The Xapian Team",
author_email="xapian@users.sourceforge.net",
url="http://xapian.org/",
py_modules=["xapian"],
data_files=DATA_FILES,
ext_modules=[
Extension("_xapian",
["xapian_wrap.cc"],
extra_compile_args=EXTRA_CFLAGS,
extra_link_args=EXTRA_LDFLAGS,
)]
)
# end.
...if a user wants to build it using the standard Python build
system, he just has to patch the ....