Open NyakudyaA opened 7 years ago
the save button actives because a user wants to keep the analysis regardless what the result is. the user can simply disable the save button and it will be removed by the end of the day.
yes, the task status
should change to failure
if an analysis doesn't succeed.
we have celery task for updating the status and it run asynchronously.
my guess is it happened because of async process.
the celery hasn't execute yet by the time you check it.
i'm wondering does the task status
change in the next day?
Problem
After playing around with the geosafe I noticed a couple of odd things. They might not be bugs but can be improved.
File duplication
/home/geosafe
. The results include summary_table, summary_map_pdf, and shapefile for the results layer./usr/src/app/geonode/uploaded/analysis/report
The site serves the results from this location./usr/src/app/geonode/qgis_layer
where the qgis project file is registered.NB: Why can we not have a common place where the files are stored to avoid duplication?
Database
geosafe_analysis
. The task_state initially starts aspending
and should change tosuccess
when the analysis finished.pending
regardless of the failed status of the analysis.NB: We should either change the database flag to reflect analysis failed in the database
Solution
Discussion and change when it is free time