-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
OSError exception #125
Comments
I'm not sure I understand, why did you have the OSError in the first place? |
I'm on Windows 10 Pro, build 19045.4474 (not WSL)
It is probably a configuration error.
If you add the OSError to the exceptions (same for the other two files in the opening message of the issue), everything works fine. |
django-geojson
tries to usedjango.contrib.gis
objects, but ifImportError
orImproperlyConfigured
exceptions are raised, it fallbacks to customnogeos
objects. In my case (working on Windows) anOSError
exception is raised, breaking the code. I added this exception to a fork of the library and everything seems to work fine:Of course my issue depends on a local configuration, but the fix suggested makes life easier to the unexperienced.
Thanks a lot for the library, by the way!
The text was updated successfully, but these errors were encountered: