There is a silent failure when serving the QC dashboard:
File "/usr/local/Cellar/python@3.11/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/encoder.py", line 180, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type EEGAnnotationList is not JSON serializable
I think EEGAnnotationList.annotations is a pandas series where it should be a dictionary (see this thread). This is necessary because EEGAnnotationsList is wrapped in a dcc.Store component.
I spent the weekend in a battle to deploy the dashboard to a PAAS service (Heroku/Google Cloud/Azure) to no avail. After exhausting all other avenues, I have a hunch this is the underlying issue.
I expect that deploying to a PAAS service won't be possible until this is corrected.
A full stack error would be more useful than just the last lines. Note that, in the end, we don't need the dcc.Store... this could just be replaced by a plain old dictionary I think.
There is a silent failure when serving the QC dashboard:
I think
EEGAnnotationList.annotations
is a pandas series where it should be a dictionary (see this thread). This is necessary becauseEEGAnnotationsList
is wrapped in adcc.Store
component.I spent the weekend in a battle to deploy the dashboard to a PAAS service (Heroku/Google Cloud/Azure) to no avail. After exhausting all other avenues, I have a hunch this is the underlying issue.
I expect that deploying to a PAAS service won't be possible until this is corrected.