Wednesday, March 28, 2012

Cant get spatialite and pysqlite working

We have a Django aplication which depends on Spatialite and Pysqlite.
It works well for testing under Ubuntu, but when we try to install it
on the server, we are getting the following error after installing
PySqlite. We did set it up with define=OMIT_SQLITE_LOAD_EXTENSION
commented out:
django.core.exceptions.ImproperlyConfigured: The pysqlite library does
not support C extension loading. Both SQLite and pysqlite must be
configured to allow the loading of extensions to use SpatiaLite.

What could be causing this?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment