Skip to content
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

404 on load_mask #46

Open
robmarkcole opened this issue Oct 3, 2023 · 3 comments
Open

404 on load_mask #46

robmarkcole opened this issue Oct 3, 2023 · 3 comments

Comments

@robmarkcole
Copy link
Contributor

On updating my config and restarting:

"GET /segmentation/load_mask/SE320572405 HTTP/1.1" 404 

Any tips to debug?

@robmarkcole
Copy link
Contributor Author

Tried deleting all the data under SE320572405 but then I get the same error for the next item. Also deleting the .iris file doesn't clear it

@robmarkcole
Copy link
Contributor Author

robmarkcole commented Oct 3, 2023

added some debugging, it is trying to access a file not yet created:

DEBUG:root:Entering load_mask with image_id: SE320572405
DEBUG:root:Retrieved user_id from session: 1
ERROR:root:Exception encountered: [Errno 2] No such file or directory: '/mnt/scratch/home/...iris/segmentation/SE320572405/1_final.npy'

There actually isn't even a directory under .iris/segmentation

@robmarkcole
Copy link
Contributor Author

I restored an earlier version of the config, and now the app loads, although I still see that error in the logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant