brainlit icon indicating copy to clipboard operation
brainlit copied to clipboard

Problem with locating the s3 data even when specifying the location

Open FelixChihTing opened this issue 5 years ago • 4 comments

log.txt

I tried to run the brainlit tutorial, but I stuck at step#2. The url address I put is: "s3://mouse-light-viz/precomputed_volumes/brain1" but the error shows that the file cannot be found in the other location: InfoUnavailableError: No info file was found: s3://mouse-light-viz/brain1/info I use Win7 and python 3.8.3

FelixChihTing avatar Sep 10 '20 23:09 FelixChihTing

When I run the code on my computer I get no errors. Can you print(dir, dir_segments) right before the NeuroglancerSession line, just to verify the value of those variables?

bvarjavand avatar Sep 11 '20 03:09 bvarjavand

log.txt this log includes print(dir,dir_segments)before the NeuroglancerSession line

FelixChihTing avatar Sep 11 '20 03:09 FelixChihTing

Well, you've misspelled these lines

dir = "s3://mouse-light-viz/precomputed_volume/brain1"
dir_segments = "s3://mouse-light-viz/precomputed_volume/brain1_segments"

when they should be

dir = "s3://mouse-light-viz/precomputed_volumes/brain1"
dir_segments = "s3://mouse-light-viz/precomputed_volumes/brain1_segments"

Still, it is surprising to me that the full URL is not shown in the stack trace. I've only seen the info file not found error when the provided URL was incorrect (mainly), so I imagine the variable dir is overwritten somewhere.

bvarjavand avatar Sep 11 '20 04:09 bvarjavand

log.txt

I just run again the code with the modified s3 address, but still get the same error.

FelixChihTing avatar Sep 11 '20 12:09 FelixChihTing