Open greg-aiml opened 3 weeks ago
The error appears to occur when attempting to view the source file from the report while the image is still processing. Under other circumstances, the functionality works without issues. The files stored in the Google bucket are not corrupted, and both the source and results can be properly viewed on QGIS. The error seems to be caused by GDAL, though the exact cause is not clear, it is being investigated.
Re-starting the local-run in Docker resulted in the processed image being correctly displayed:
Deleting the result using the web UI results in the following errors:
I'm unable to retry the processing because I cannot upload any other images (the WebUI show the Delete dialog whenever I try to upload a new image).
How do I clean up the local test system so that I can upload another test image and re-attempt the processing?
Deleting the result using the web UI results in the following errors:
The file not found error indicates that the file record was not present in the database. The Docker container restart likely caused the issue because it reinitializes the environment, potentially losing the file records from the database.
How do I clean up the local test system so that I can upload another test image and re-attempt the processing?
From the above image, to solve the error, you can refresh the webpage to upload files.
To clean and restart fully, remove any cache and files from mounted volume. Based on the docker-compose.yml these include database data, model and NATS data.
Use the following command to prune and delete all associated data with local deployment.
sudo docker system prune -a; sudo rm -r /tmp/dra/; sudo rm -r ~/.cache/dra; sudo rm -r db/data/; sudo rm -r queue/data
I've given it a few runs and all seems to be working (the overlay is displayed on the test image once the processing completes).
The log of the most recent successful run (for reference):
~/gards
run docker compose up
bushfire.tif
test imageActually. That small test image takes about 10s
Summary
Coloured overlay not shown after processing has completed. System Log on web-ui has some errors but they're not very informative.
Steps to Reproduce
bushfire.tif
test imageIssue(s)
System Log:
Web UI not showing coloured overlay: