Closed dementiev closed 6 years ago
It seems like you're mounting gisdata at /data, so your os.access line should be:
os.access('/data/filename.tif', os.R_OK)
On Fri, Oct 20, 2017 at 10:09 AM, Dmitry notifications@github.com wrote:
Geonotebook is launched with docker command: docker run -p 8888:8888 \ -v /Users/XXX/Documents/notebooks/geonotebook:/notebooks \ -v /Users/XXX/Documents/gisdata:/data -it --rm geonotebook
In notebook then I can't access file stored in data dir: os.access('/Users/XXX/Documents/gisdata/filename.tif', os.R_OK) => returns false
Any suggestions?
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/OpenGeoscience/geonotebook/issues/154
@danlamanna you are right, thank you.
Geonotebook is launched with docker command: docker run -p 8888:8888 \ -v /Users/XXX/Documents/notebooks/geonotebook:/notebooks \ -v /Users/XXX/Documents/gisdata:/data -it --rm geonotebook
In notebook then I can't access file stored in data dir: os.access('/Users/XXX/Documents/gisdata/filename.tif', os.R_OK) => returns false
Any suggestions?