Closed DanielHabenicht closed 1 year ago
Thank you for your bug report. The locations.db is expected to be in $HOME/.geograpy3/locations.db and will be automatically downloaded and extracted if it is not there - at least that is the idea of the current design.
For reproducting I'd need to know more about your docker environment/dockerfile. We might also offer and official docker image if there is a request for it.
Please use the latest version (0.2.3) from PyPi to see if this fixes your error. https://github.com/somnathrakshit/geograpy3/compare/v0.2.2...v0.2.3
Please reopen as a feature request if the problem persistst.
Describe the bug Geograpy fails with the following error if used on read-only docker containers:
To Reproduce Use geograpy as part of a script inside of a read-only docker container (but with writable
/tmp
folder)Expected behavior Should not fail or there should be a way to configure the used directories and files.
Environment (please complete the following information):
Additional context Maybe use
/tmp
for temporary files instead of "random folder". I also tried settingGEOGRAPY_DB=/tmp/loc.db
but this fails with: