DFscript / Covid_19_data_visualisation

Improve covid 19 data transparency for better decision making
2 stars 1 forks source link

A key-error for certain Bundeländer #23

Closed Duragtan closed 4 years ago

Duragtan commented 4 years ago

When selecting certain Bundesländer for the barplot a key-error occurs. Apparently a key named "startdate_action" is not found. This occurs for "Niedersachen" for instance.

This key is part of the actions-table and denoted when a certain action came into effect. I currently have no clue why this key apparently lands somewhere where it does not belong. What complicates the matter is that in the reported stacktrace there is not a single line which occurs within our code.

Also the error never reaches the top-level, i.e. Pycharm never sees this error. It just occurs in the web-fontend. It must be caught somewhere. So, it has to happen in some callback I suppose...

Duragtan commented 4 years ago

Screenshot_2020-03-26 Dash Screenshot_2020-03-26 Dash(1)