Cortex visualizations show react error #310

Hi everyone,

I was wondering what might be causing this. I generated graphs for each participant using Cortex as per the documentation and when I click on the graph in the Data portal of the LAMP Dashboard (such as on the cortex.Screen Active button) an error #310 appears. I’ve uploaded a screenshot of the whole error.

We’ve tried updating Node.js to version 19, but that unfortunately didn’t fix it. Any help would be greatly appreciated.

Thanks!

What is the output in your notebook when you run the cortex functions?

I tried running the data quality script from GitHub: ./cortex/visualizations/run_data_quality.sh "researcher_id" and the output I got from it was:

[DEBUG:geos:<module>] Found GEOS DLL: <CDLL '/home/lukas/virtual_env/venv_with_python3.8/lib/python3.8/site-packages/Shapely.libs/libgeos_c-c8ec7514.so.1.16.1', handle 2a9cfa0 at 0x7f69b8fb45e0>, using it.
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[WARNING:connectionpool:urlopen] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f69b8fe9580>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /participant/U3748598636/sensor_event?origin=lamp.accelerometer&from=1669386330000&to=1669472730000&limit=1
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.data_quality...
/home/lukas/virtual_env/venv_with_python3.8/lib/python3.8/site-packages/altair/utils/core.py:317: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.
  for col_name, dtype in df.dtypes.iteritems():
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.step_count...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.step_count...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.step_count...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.step_count...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.step_count...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.step_count...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.step_count...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.screen_duration...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.screen_duration...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Using saved "cortex.screen_active"...
[INFO:feature_types:_primary_attach] Saving primary feature "cortex.screen_active"...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.hometime...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing secondary feature cortex.feature.hometime...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
[INFO:feature_types:_wrapper2] Processing primary feature "cortex.significant_locations"...
/home/lukas/virtual_env/venv_with_python3.8/lib/python3.8/site-packages/altair/utils/core.py:317: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.
  for col_name, dtype in df.dtypes.iteritems():
[INFO:data_quality:data_quality] Run time: 29.76 minutes

Thank you for bringing this to my attention. We will work on a fix and will implement it in the next update.

Ok thank you very much