Opened 10 years ago
Closed 10 years ago
#23873 closed Cleanup/optimization (fixed)
Trying to import GIS without GEOS installed leads to obscure error message
Description ¶
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
Change History (4)
comment:1 by , 10 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Bug → Cleanup/optimization |
comment:3 by , 10 years ago
Created a pull request (https://github.com/django/django/pull/3581) just to get CI verification that this doesn't break anything.
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Maybe something like that:
TabularUnified django/contrib/gis/db/models/__init__.py