I doubt this is a Rtree; I think it's a 64-bit graphserver/ctypes  
issue.  See the graphserver thread regarding 64bit segfaults.

Nino

On Jan 13, 2010, at 2:33 AM, Sean Gillies wrote:

> Begin forwarded message:
>
>> From: Iván García <[email protected]>
>> Date: January 13, 2010 10:35:24 AM CEST
>> To: [email protected]
>> Subject: bug in rtree
>>
>> Hi,
>>
>> I've tried to fill a ticket in your trac but there is no option for
>> it:
>> http://trac.gispython.org/lab/wiki/Rtree
>>
>> So I think I needed to send you this bug I'm having in Rtree in my
>> Kubuntu 64bits.
>> I'm trying to run graphserver software which depends on Rtree python
>> library but I get this error:
>>
>> /usr/lib/python2.5/site-packages/graphserver-0.1-py2.5.egg/
>> graphserver/libgraphserver.so
>> Traceback (most recent call last):
>> File "/usr/local/bin/gs_osmdb_compile", line 8, in <module>
>>  load_entry_point('graphserver==0.1', 'console_scripts',
>> 'gs_osmdb_compile')()
>> File "/usr/lib/python2.5/site-packages/graphserver-0.1-py2.5.egg/
>> graphserver/ext/osm/osmdb.py", line 481, in main
>>  osm_to_osmdb(osm_filename, osmdb_filename, tolerant)
>> File "/usr/lib/python2.5/site-packages/graphserver-0.1-py2.5.egg/
>> graphserver/ext/osm/osmdb.py", line 464, in osm_to_osmdb
>>  osmdb = OSMDB( osmdb_filename, overwrite=True )
>> File "/usr/lib/python2.5/site-packages/graphserver-0.1-py2.5.egg/
>> graphserver/ext/osm/osmdb.py", line 86, in __init__
>>  self.index = Rtree( dbname )
>> File "/usr/lib/python2.5/site-packages/Rtree-0.5.0-py2.5-linux-
>> x86_64.egg/rtree/index.py", line 385, in __init__
>>  super(Rtree, self).__init__(*args, **kwargs)
>> File "/usr/lib/python2.5/site-packages/Rtree-0.5.0-py2.5-linux-
>> x86_64.egg/rtree/index.py", line 85, in __init__
>>  self.handle = core.rt.Index_Create(self.properties.handle)
>> File "/usr/lib/python2.5/site-packages/Rtree-0.5.0-py2.5-linux-
>> x86_64.egg/rtree/core.py", line 25, in check_void
>>  raise RTreeError(msg)
>> rtree.core.RTreeError: Error in "Index_Create": std::bad_alloc
>>
>>
>> Best Regards and thanks in advance.
>>
>> Ivan.
>>
>> -- 
>> Iván García
>> I+D+i con Software Libre
>>
>> ITI - Instituto Tecnológico de Informática
>> Ciudad Politécnica de la Innovación
>> Camino de Vera s/n Edificio 8G, acceso B
>> 46022 Valencia (España)
>> Tlf. +34 963877069
>>
>>
>
> --
> Sean
>
> _______________________________________________
> Community mailing list
> [email protected]
> http://lists.gispython.org/mailman/listinfo/community

_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to