[Community] AttributeError(s) from libspatialindex_c.so
gregcorradini at gmail.com
Sun Jul 18 20:20:07 EEST 2010
> Am 18.07.2010, 06:31 Uhr, schrieb Greg Corradini
> <gregcorradini at gmail.com>:
>> I'm using Rtree to import some Open Street Map data into GraphServer. I'm
>> running Ubuntu 9.10, Rtree 0.6.0 and libspatialindex1.5.0. However, I'm
>> getting an annoying amount of AttributeErrors on properties in the
>> 'libspatialindex_c.so' (see the full traceback below). The RTree
>> documentation does say that this version is compatible with
>> libspatialindex1.5.0. I've read about problems with compatibility between
>> the libs in the past. Has anyone else experienced this? I'm new to Rtree
>> I'm wondering if I'm doing something wrong.
>> rt.Index_ClearBuffer.argtypes = [ctypes.c_void_p]
> Index_ClearBuffer does not exist in rtree 0.6.0 as far as I am aware. The
> 0.6.0 package was released in April whereas Index_ClearBuffer was added in
> June. To resolve this problem either grab the real 0.6.0 version of rtree
> or compile the most recent libspatialindex svn to a libspatialindex_c.so
> which then has the necessary symbols defined.
> Community mailing list
> Community at lists.gispython.org
Thanks Nitro and Howard,
I was using the svn rtree but not the svn libspatialindex. After checkingout
the new libspatialindex I'm noticing that there is no configure file in the
trunk to run './configure; make; make install;' commands on.
Is this the way it's supposed to be?
View this message in context: http://old.nabble.com/AttributeError%28s%29-from-libspatialindex_c.so-tp29195219p29198298.html
Sent from the PrimaGIS mailing list archive at Nabble.com.
More information about the Community