Open Piiit opened 4 years ago
The problem is that as you can see here:
FileNotFoundError: [Errno 2] No such file or directory: './data/features.npy'
this file isn't produced, are you sure you followed the steps below? (that file should be produced during the to-numpy step after the required download step, which we recommend you to do using the provided configurations contained in the config.json file)
@giacomo-montibeller I do not know, I just did a deployment on production, which executes start.sh and adds a cron job which does the steps above through update.sh. I do not run stuff manually on that server. The thing I am asking here is that the webapp and backend jobs should inform the user that the system has not enough data to give information until things have been calculated. And that a server should not just throw exceptions to inform but explain what is missing....
If I install the webapp the first time, I cannot see any data and when I click on for example "predict" I get a server error 500, and the log shows:
That should not happen, instead the webapp should say that the server currently updates data and does number crunching...