#28178: django.contrib.gis.gdal.error.GDALException after update to Django 
1.11.1
-----------------------------------------+-------------------------------
               Reporter:  Bas ten Berge  |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Uncategorized  |        Version:  1.11
               Severity:  Normal         |       Keywords:  update 1.11.1
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+-------------------------------
 I just updated Django 1.11 to 1.11.1 to learn my project would not start
 without changes to the settings. runserver stops with this message:
 {{{
 django.contrib.gis.gdal.error.GDALException: Could not find the GDAL
 library (tried "gdal", "GDAL", "gdal1.11.0", "gdal1.10.0", "gdal1.9.0",
 "gdal1.8.0", "gdal1.7.0"). Try setting GDAL_LIBRARY_PATH in your settings.
 }}}

 My installed apps:
 {{{
 ...
 DJANGO_APPS = (
     'django.contrib.admin',
     'django.contrib.auth',
     'django.contrib.contenttypes',
     'django.contrib.sessions',
     'django.contrib.staticfiles',
     'django.contrib.sites',
     'django.contrib.humanize',
 )

 THIRD_PARTY_APPS = (
     'allauth',
     'mailer',
     'taggit',
     'allauth.account',
     'allauth.socialaccount',
     'allauth.socialaccount.providers.google',
     'allauth.socialaccount.providers.linkedin_oauth2',
     'tastypie',
     'avatar',
     'reversion',
     'oauth2_provider',
     'channels',
     'compressor',
     'debug_toolbar', # django-debug-toolbar
 )

 BROWNPAPERSESSION_APPS = (
     'app',
     'invite',
     'apporg',
     'session',
     'topic',
 )

 INSTALLED_APPS = \
     DJANGO_APPS + THIRD_PARTY_APPS + BROWNPAPERSESSION_APPS

 ...
 }}}

 I could find a reference in the docs at
 https://docs.djangoproject.com/en/1.11/releases/1.11.1/:
 > Prevented hiding GDAL errors if it’s not installed when using
 contrib.gis (#28160). (It’s a required dependency as of Django 1.11.)

 ... but I didn't have the issue when I was running Django 1.11. I did not
 expect such a dependency change in a minor version update. How can I
 disable GIS?

--
Ticket URL: <https://code.djangoproject.com/ticket/28178>
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/050.6ab8914fc815a581615a9b10905ca52b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to