#23873: Trying to import GIS without GEOS installed leads to obscure error
message
--------------------------------------+------------------------
Reporter: carljm | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------+------------------------
The error message is "cannot import name GEOSException."
Given that we already calculate a `HAS_GEOS` variable, it would not be
hard to issue a clearer message.
Here is an example of a new user being led quite a ways down a rabbit-hole
by the confusing message:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg
/django-users/W3IBOBTQMyU/3F8xBVMAwsYJ
--
Ticket URL: <https://code.djangoproject.com/ticket/23873>
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/049.e3c592b211a5579743b7024cd0e7074b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.