Thanks for reporting Ajay, I improved the documentation of the geospatial module of of OpenWISP: https://github.com/openwisp/django-loci/commit/f4f6f6976cb2b1cf58fd9b7db6a70ff79afb7665, I hope this will help future contributors like you avoiding this issue.
Federico On Sat, Aug 25, 2018 at 9:55 AM Ajay Tripathi <[email protected]> wrote: > It's solved. > Had to set `SPATIALITE_LIBRARY_PATH = 'mod_spatialite.so'` with > `libsqlite3-mod-spatialite` installed. > > > On Saturday, August 25, 2018 at 11:50:43 AM UTC+5:30, Ajay Tripathi wrote: >> >> While trying to setup django-loci[1], >> I am following installing for development guide[2]. >> When i read step: `./manage.py migrate` >> I get error: `django.core.exceptions.ImproperlyConfigured: Unable to load >> the SpatiaLite library extension "libspatialite.so.7"` >> Find Traceback[3]. >> Following advice from djangoproject[4], i installed `sudo apt-get install >> libsqlite3-mod-spatialite` & added `SPATIALITE_LIBRARY_PATH = >> 'mod_spatialite' ` to `settings.py`. >> I get error: `django.core.exceptions.ImproperlyConfigured: Unable to load >> the SpatiaLite library extension "mod_spatialite"` >> Find Traceback[5]. >> Adding `libspatialite-dev` and/or redis hasn't helped. >> >> Any help with the setup is appreciated. >> Thank You. >> Ajay Tripathi (atb00ker) >> --- >> [1]: https://github.com/openwisp/django-loci >> [2]: https://github.com/openwisp/django-loci#installing-for-development >> [3]: http://paste.debian.net/plain/1039230 >> [4]: https://code.djangoproject.com/ticket/26137 >> [5]: http://paste.debian.net/plain/1039232 >> > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
