Opened 12 years ago
Closed 12 years ago
#19490 closed Bug (invalid)
lgdal.OGR_DS_CreateLayer crashes on Mac OS X Mountain Lion
Reported by: | Dylan Verheul | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
lgdal.OGR_DS_CreateLayer crashes on Mac OS X Mountain Lion
Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import django
django.VERSION
(1, 4, 3, 'final', 0)
from django.contrib.gis.gdal.libgdal import lgdal
layer = lgdal.OGR_DS_CreateLayer()
Segmentation fault: 11
Note:
See TracTickets
for help on using tickets.
I don't think you can directly call any OGR function without first defining the
argtypes
andrestype
of the function. Incontrib.gis.gdal.prototypes
, readds.py
andgeneration.py
to find examples.