#28160: Can't start with django.contrib.gis.gdal.HAS_GDAL = False due to
ImportError of GDALRaster
-------------------------------------+-------------------------------------
Reporter: Tom Kazimiers | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.10
Severity: Normal | Resolution:
Keywords: GIS, GDAL, Contrib, | Triage Stage: Accepted
Bug |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):
* stage: Unreviewed => Accepted
Comment:
In Django 1.11, GDAL is now mandatory in order to use `django.contrib.gis`
(read https://docs.djangoproject.com/en/1.11/releases/1.11/#id1).
However, somewhere in the code, the import exception is swallowed, which
isn't nice at all. There should be at least a clear message that GDAL
cannot be imported.
--
Ticket URL: <https://code.djangoproject.com/ticket/28160#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.2e97b301dd995eb2c33f1ce36da2ca31%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.