On Jul 18, 2010, at 8:43 AM, Matthias wrote:

> Am 18.07.2010, 06:31 Uhr, schrieb Greg Corradini <gregcorrad...@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 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.
> 
> [...]
> 
>>    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.

I see I forgot to increment the version in the setup.py file after the release. 
 I have done so now.  You are definitely using an svn rtree, which must have an 
svn libspatialindex to work at this time.  When it comes time to release, I 
will sync up and release libspatialindex first as before.  

Alternatively, we might try ignoring these attribute errors and shutting off 
functionality for things, though it's liable to get messy.  I don't know that 
we're mature enough to warrant such efforts yet.

Howard
_______________________________________________
Community mailing list
Community@lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community

Reply via email to