New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--load-extension=spatialite not working with datasetteproject/datasette docker image #1114
Labels
Comments
This is a great catch, thanks. |
Thank you! |
Fix is out in 0.52.1: https://docs.datasette.io/en/latest/changelog.html#v0-52-1 |
The new Docker container is pushed to Docker Hub too. Here's it in action:
|
danp
added a commit
to danp/datasette
that referenced
this issue
Mar 6, 2022
Helps homebrew on Apple Silicon setups find spatialite without needing a full path. Similar to simonw#1114
simonw
pushed a commit
that referenced
this issue
Mar 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
6aa5886 added the
--load-extension=spatialite
shortcut looking for the extension in these places:datasette/datasette/utils/__init__.py
Lines 56 to 60 in 12877d7
However, in the datasetteproject/datasette docker image the file is at
/usr/local/lib/mod_spatialite.so
.This results in the example command here failing:
But it does work when given an explicit path:
Perhaps
SPATIALITE_PATHS
should include/usr/local/lib/mod_spatialite.so
?The text was updated successfully, but these errors were encountered: