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 library '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 and I'm wondering if I'm doing something wrong.
Traceback (most recent call last): File "/usr/local/bin/gs_import_gtfs", line 8, in <module> load_entry_point('graphserver==0.1', 'console_scripts', 'gs_import_gtfs')() File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 318, in load_entry_point File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 2221, in load_entry_point return File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 1954, in load raise ValueError( File "/usr/local/lib/python2.6/dist-packages/graphserver-0.1-py2.6.egg/graphserver/compiler/__init__.py", line 1, in <module> from tools import * File "/usr/local/lib/python2.6/dist-packages/graphserver-0.1-py2.6.egg/graphserver/compiler/tools.py", line 3, in <module> from graphserver.ext.osm.osmdb import OSMDB File "/usr/local/lib/python2.6/dist-packages/graphserver-0.1-py2.6.egg/graphserver/ext/osm/osmdb.py", line 12, in <module> from rtree import Rtree File "/usr/local/lib/python2.6/dist-packages/Rtree-0.6.0-py2.6.egg/rtree/__init__.py", line 8, in <module> from index import Rtree File "/usr/local/lib/python2.6/dist-packages/Rtree-0.6.0-py2.6.egg/rtree/index.py", line 2, in <module> import core File "/usr/local/lib/python2.6/dist-packages/Rtree-0.6.0-py2.6.egg/rtree/core.py", line 209, in <module> rt.Index_ClearBuffer.argtypes = [ctypes.c_void_p] File "/usr/lib/python2.6/ctypes/__init__.py", line 366, in __getattr__ func = self.__getitem__(name) File "/usr/lib/python2.6/ctypes/__init__.py", line 371, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/local/lib/libspatialindex_c.so: undefined symbol: Index_ClearBuffer
_______________________________________________ Community mailing list Community@lists.gispython.org http://lists.gispython.org/mailman/listinfo/community