ESA-PhiLab/iris

404 on load_mask

robmarkcole opened this issue · 3 comments

On updating my config and restarting:

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

Any tips to debug?

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

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

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