AllenNeuralDynamics / dynamic-foraging-task

Bonsai/Harp workflow for Dynamic Foraging with Python GUI for visualization and control
MIT License
5 stars 4 forks source link

Caught this error: list index out of range #723

Open alexpiet opened 23 hours ago

alexpiet commented 23 hours ago

This issue was automatically generated from GUI logs.

file: Foraging.py
function: _StartTrialLoop
line 4041
logfile: W10DT714033/W10DT714033-B_gui_log_2024-09-27_09-40-49.txt
boxes: 1B
count: 2
text: Caught this error: list index out of range


Log context

09:43:12 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 50 TimestampedU16@22710993.67648 Length:1.
09:43:12 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 56 TimestampedU16@22710993.68448 Length:1.
09:43:12 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 36 TimestampedU16@22710993.6865 Length:1.
09:43:19 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 36 TimestampedU16@22711000.4185 Length:1.
09:43:20 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 36 TimestampedU16@22711001.40048 Length:1.
09:43:20 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/GoCueTimeSoundCard', 22711001.40112, 4, '127.0.0.1']
09:43:21 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RewardOutcome', 'NoResponse', '127.0.0.1', 4012]
09:43:24 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 36 TimestampedU16@22711005.4175 Length:1.
09:48:38 AM:ERROR:Foraging:Foraging.py:_StartTrialLoop:line 4105:trial stalled 5 minutes, user stopped trials. ANewTrial:0,Start:True,finish_Timer:1
09:48:45 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1287:connecting to GUI and Bonsai through OSC
09:48:45 AM:INFO:Foraging:Foraging.py:_ConnectBonsai:line 899:Connected to Bonsai
09:48:45 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 49 TimestampedU16@22711326.7175 Length:1.
09:48:45 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 36 TimestampedU16@22711326.72749 Length:1.
09:48:45 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 50 TimestampedU16@22711327.1105 Length:1.
09:48:46 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 36 TimestampedU16@22711327.1215 Length:1.
09:48:46 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 50 TimestampedU16@22711328.01248 Length:1.
09:48:46 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 36 TimestampedU16@22711328.02349 Length:1.
09:48:46 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 50 TimestampedU16@22711328.0345 Length:1.
09:48:47 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 49 TimestampedU16@22711328.6015 Length:1.
09:48:47 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 36 TimestampedU16@22711328.61248 Length:1.
09:48:47 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4601:BONSAI: Unexpected Harp data frame before operation control: Write 49 TimestampedU16@22711328.62349 Length:1.
09:48:49 AM:INFO:Foraging:Foraging.py:_Start:line 3615:Start button pressed: starting trial loop
09:48:49 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1761:processing parameter changes
09:48:54 AM:INFO:Foraging:Foraging.py:_Start:line 3681:Starting session, with experimenter: Huy Nguyen
09:48:54 AM:INFO:Foraging:Foraging.py:_Start:line 3771:Setting IACUC Protocol: 2109.0
09:48:54 AM:INFO:Foraging:Foraging.py:_Start:line 3794:Setting Project name: Behavior Platform
09:48:54 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1761:processing parameter changes
09:48:54 AM:INFO:Foraging:Foraging.py:_StartTrialLoop:line 3984:starting trial loop
09:48:54 AM:INFO:Foraging:Foraging.py:_StartTrialLoop:line 4005:Current trial: 2
09:48:56 AM:ERROR:Foraging:Foraging.py:_StartTrialLoop:line 4041:Caught this error: list index out of range
alexpiet commented 5 hours ago

Might be related to previous issue