ESA-PhiLab / iris

Semi-automatic tool for manual segmentation of multi-spectral and geo-spatial imagery.
GNU General Public License v3.0
123 stars 39 forks source link

404 on load_mask #46

Open robmarkcole opened 9 months ago

robmarkcole commented 9 months ago

On updating my config and restarting:

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

Any tips to debug?

robmarkcole commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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