[gdal-dev] Issue with python bindings.

Ivan Willig iwillig at gmail.com
Tue Oct 26 10:35:32 EDT 2010


Hi list,
I am having an issues with using the python swig based bindings. I am on
Fedora 13 using the default gdal rpm, which is at version 1.6.2. My issue is
when i stack method calls.  For example when I do the following:

ogr.Open("/home/ivan/dev/bigapps/data/nyco.shp").GetLayer().GetFeature(0)

I get a Segmentation fault. Here are the results of strace
http://paste.pocoo.org/show/281682/. What am I doing wrong? Should I just
hand compile a new version of gdal? Or is this not an advised usage of the
python bindings? A limitation in swig? Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101026/a47833f1/attachment.html


More information about the gdal-dev mailing list