MetaCell / geppetto-scidash

Geppetto scidash extension
2 stars 1 forks source link

Failed test creation #363

Open gidili opened 5 years ago

gidili commented 5 years ago

From @ddelpiano: After making sure that all the parameters were specified, I was still unable to create the test, getting the error: "Backend error: {"non_field_errors":["Can't instantiate class, reason candidates: Observation mean cannot be 'None'."]}" I don't understand it, because I provided numbers for all of the observation. The only idea I had is that if I switch the schema from the menu, all the values reset to blank, so maybe the site is expecting both schema to be filled out (which is wrong, but also impossible since it doesn't score the observation values from one schema if I switch to the other).

gidili commented 5 years ago

Potentially related to: https://github.com/MetaCell/geppetto-scidash/issues/362 and to be looked at in that context. If reproduced this is also critical.

rgerkin commented 4 years ago

This is the kind of case where a Django-style stack trace, where the values of all variables at each point in the stack can be inspected, would be helpful for debugging.

ddelpiano commented 4 years ago

@rgerkin This can be achieved using a decorator to handle error handling and forward this to the frontend so we can get this in the console as well if fine for you. It should be taken into account in the card #398

ddelpiano commented 4 years ago

From @zsinnema : To achieve this we can use sentry, an application to store and pile up errors.