Open alexpiet opened 3 days ago
This issue reoccurred:
file: Foraging.py
function: keyPressEvent
line 1923
logfile: DT300178/DT300178-A_gui_log_2024-11-07_09-30-52.txt
boxes: 9D
count: 1
text: Cannot convert input to float: RightValue, '' GUI Log snippet (click for full log)
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:keyPressEvent:line 1923:Cannot convert input to float: RightValue, ''
Full GUI log (first 200 and last 200 lines)
09:30:52 AM:INFO:Foraging:Foraging.py:start_gui_log_file:line 4707:Starting logfile!
09:30:52 AM:INFO:Foraging:Foraging.py:log_git_hash:line 4718:Python version: 3.11.9 | packaged by Anaconda, Inc. | (main, Apr 19 2024, 16:40:41) [MSC v.1916 64 bit (AMD64)]
09:30:52 AM:INFO:Foraging:Foraging.py:log_git_hash:line 4735:Current git commit branch, hash: main, 4f4f59556389b4696a28bcbed810dec00816cf61
09:30:52 AM:INFO:Foraging:Foraging.py:log_git_hash:line 4739:Current foraging_gui version: 1.6.8
09:30:52 AM:WARNING:Foraging:Foraging.py:log_git_hash:line 4749:local repository is clean
09:30:52 AM:INFO:Foraging:Foraging.py:<module>:line 4850:Setting QApplication attributes
09:30:52 AM:INFO:Foraging:Foraging.py:<module>:line 4858:Starting QApplication and Window
09:30:52 AM:INFO:Foraging:Foraging.py:__init__:line 66:Creating Window
09:30:52 AM:INFO:Foraging:Foraging.py:_GetSettings:line 1156:Loaded settings_box file
09:30:52 AM:INFO:Foraging:Foraging.py:_GetSettings:line 1184:Loaded settings file
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (FIP_workflow_path), using default:
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (FIP_settings), using default: C:\Users\svc_aind_behavior\Documents\FIPSettings
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (bonsai_config_path), using default: C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\bonsai\Bonsai.config
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (metadata_dialog_folder), using default: C:\Users\svc_aind_behavior\Documents\ForagingSettings\metadata_dialog\
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (rig_metadata_folder), using default: C:\Users\svc_aind_behavior\Documents\ForagingSettings\rig_metadata\
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (project_info_file), using default: C:\Users\svc_aind_behavior\Documents\ForagingSettings\Project Name and Funding Source v2.csv
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (schedule_path), using default: Z:\dynamic_foraging\DynamicForagingSchedule.csv
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (lick_spout_distance_box1), using default: 5000
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (lick_spout_distance_box2), using default: 5000
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (lick_spout_distance_box3), using default: 5000
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (lick_spout_distance_box4), using default: 5000
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (name_mapper_file), using default: C:\Users\svc_aind_behavior\Documents\ForagingSettings\name_mapper.json
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (create_rig_metadata), using default: True
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (save_each_trial), using default: True
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (manifest_flag_dir), using default: C:\Users\svc_aind_behavior\Documents\aind_watchdog_service\manifest
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (auto_engage), using default: True
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (clear_figure_after_save), using default: True
09:30:52 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1194:Missing setting (add_default_project_name), using default: True
09:30:53 AM:INFO:Foraging:Foraging.py:_LoadSchedule:line 1082:Loaded behavior schedule
09:30:53 AM:WARNING:Foraging:Foraging.py:_GetWaterCalibration:line 1050:Did not find a recent water calibration file
09:30:53 AM:INFO:Foraging:Foraging.py:_load_most_recent_rig_json:line 1525:Found existing rig.json: rig_428-9-D_2024-10-28_11_36_22.json
09:30:53 AM:INFO:RigJsonBuilder:RigJsonBuilder.py:build_rig_json_core:line 60:building rig json
09:30:53 AM:INFO:RigJsonBuilder:RigJsonBuilder.py:build_rig_json_core:line 624:finished building rig json
09:30:53 AM:INFO:RigJsonBuilder:RigJsonBuilder.py:build_rig_json:line 53:Using existing rig json
09:30:53 AM:INFO:Foraging:Foraging.py:_LoadUI:line 259:Using ForagingGUI.ui interface
09:30:53 AM:INFO:Foraging:Foraging.py:__init__:line 107:Setting Window title: 428-9-D
09:30:53 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1353:Trying to connect to already running Bonsai
09:30:53 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1406:connecting to GUI and Bonsai through OSC
09:30:54 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1357:Could not connect: timed out
09:30:54 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1368:Starting Bonsai
09:30:54 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4822:BONSAI logging starting
09:30:55 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1406:connecting to GUI and Bonsai through OSC
09:30:56 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1382:Could not connect, total waiting time 0.5 seconds: timed out
09:30:56 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1406:connecting to GUI and Bonsai through OSC
09:30:57 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1382:Could not connect, total waiting time 1.0 seconds: timed out
09:30:58 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1406:connecting to GUI and Bonsai through OSC
09:30:59 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1382:Could not connect, total waiting time 1.5 seconds: timed out
09:30:59 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1406:connecting to GUI and Bonsai through OSC
09:30:59 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1385:Connected to Bonsai after 2.0 seconds
09:30:59 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1386:Bonsai started successfully
09:30:59 AM:INFO:Foraging:Foraging.py:_ConnectSlims:line 1263:Attempting to connect to Slims
09:31:00 AM:INFO:Foraging:Foraging.py:_ConnectSlims:line 1280:Successfully connected to Slims
09:31:00 AM:WARNING:Dialogs:Dialogs.py:_LoadCalibrationParameters:line 509:could not find water calibration parameters: C:\Users\svc_aind_behavior\Documents\ForagingSettings\WaterCalibrationPar_1.json
09:31:00 AM:WARNING:warnings:warnings.py:_showwarnmsg:line 110:C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Visualization.py:403: UserWarning: No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
self.ax1.legend(loc='lower right', fontsize=8)
09:31:00 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1880:processing parameter changes
09:31:00 AM:INFO:Foraging:Foraging.py:_InitializeMotorStage:line 857:Scanning for newscale stages
09:31:00 AM:WARNING:Foraging:Foraging.py:_InitializeMotorStage:line 867:Could not find any instances of NewScale Stage
09:31:00 AM:INFO:Foraging:Foraging.py:_insert_stage_widget:line 239:Inserting Stage Widget
09:31:00 AM:INFO:connection:connection.py:_connect:line 688:Connecting to aibspi(10.128.108.106):2181, use_ssl: False
09:31:00 AM:INFO:client:client.py:_session_callback:line 561:Zookeeper connection established, state: CONNECTED
09:31:00 AM:INFO:connection:connection.py:_connect_attempt:line 655:Closing connection to aibspi:2181
09:31:00 AM:INFO:client:client.py:_session_callback:line 567:Zookeeper session closed, state: CLOSED
09:31:01 AM:INFO:stepper_motor_device:stepper_motor_device.py:__init__:line 61:Connected to COM5, device id: 1130
09:31:01 AM:INFO:stepper_motor_device:stepper_motor_device.py:load_registers:line 142:Getting available registers on device
09:31:01 AM:INFO:stage_model:stage_model.py:configure_device:line 81:Configuring registers with default values (can be modified in config file)
09:31:01 AM:INFO:move_worker:move_worker.py:goto_origin:line 194:(move to origin): Moving stage to origin
09:31:01 AM:INFO:move_worker:move_worker.py:move_relative:line 336:(move relative): Moved motors by steps specified in [0, -27200, -27200, 0]
09:31:01 AM:INFO:move_worker:move_worker.py:move_relative:line 336:(move relative): Moved motors by steps specified in [-27200, 0, 0, 0]
09:31:03 AM:INFO:move_worker:move_worker.py:move_relative:line 336:(move relative): Moved motors by steps specified in [0, 0, 0, -27200]
09:31:05 AM:INFO:stage_model:stage_model.py:configure_device:line 87:Zeroed all motor positions
09:31:05 AM:INFO:stage_model:stage_model.py:configure_device:line 88:Finished configuring stepper motor device
#############################################################
09:31:05 AM:INFO:Foraging:Foraging.py:_load_most_recent_rig_json:line 1525:Found existing rig.json: rig_428-9-D_2024-10-28_11_36_22.json
09:31:05 AM:INFO:Foraging:Foraging.py:__init__:line 203:Start up complete
09:31:06 AM:INFO:aws_util:aws_util.py:import_df_from_s3:line 115:Dataframe imported from s3://aind-behavior-data/foraging_nwb_bonsai_processed/df_sessions.pkl, len(df) = 5243
09:31:06 AM:INFO:aws_util:aws_util.py:import_df_from_s3:line 115:Dataframe imported from s3://aind-behavior-data/foraging_auto_training/df_manager_447_demo.pkl, len(df) = 3814
09:31:07 AM:INFO:aws_util:aws_util.py:download_dir_from_s3:line 140:134 objects downloaded from s3://aind-behavior-data/foraging_auto_training/saved_curriculums/ to C:\Users\svc_aind_behavior/capsule/scratch/saved_curriculums/
09:31:07 AM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_behavior/capsule/scratch/saved_curriculums/
09:31:08 AM:INFO:aws_util:aws_util.py:download_dir_from_s3:line 140:134 objects downloaded from s3://aind-behavior-data/foraging_auto_training/saved_curriculums/ to C:\Users\svc_aind_behavior/.aind_auto_train/curriculum_manager/
09:31:08 AM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_behavior/.aind_auto_train/curriculum_manager/
09:31:08 AM:INFO:Dialogs:Dialogs.py:update_auto_train_fields:line 2397:No entry found in df_training_manager for subject_id: 0
09:31:08 AM:INFO:Dialogs:Dialogs.py:_override_curriculum_clicked:line 2745:Override stage clicked: state=2
09:31:08 AM:INFO:Dialogs:Dialogs.py:_update_stage_to_apply:line 2771:Current stage to apply: unknown training stage @unknown curriculum
09:31:23 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1880:processing parameter changes
09:31:23 AM:INFO:move_worker:move_worker.py:move_to_position:line 145:(move to position): Moving motor 3 to 16.0
09:31:27 AM:INFO:move_worker:move_worker.py:move_absolute:line 306:(move absolute): Moved motors from [0, 0, 0, 0] to [0, 0, 0, 12800]
09:31:31 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1880:processing parameter changes
09:31:31 AM:INFO:move_worker:move_worker.py:move_to_position:line 145:(move to position): Moving motor 0 to 12.0
09:31:31 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1939:Changing parameter: lineEdit_x, 0.0 -> 12.0
09:31:33 AM:INFO:move_worker:move_worker.py:move_absolute:line 306:(move absolute): Moved motors from [0, 0, 0, 12800] to [9600, 0, 0, 12800]
09:31:38 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/ManualLeftWaterStartTime', 164332.802976, '127.0.0.1', 4003]
09:31:38 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftRewardDeliveryTimeHarp', 164332.80848, '127.0.0.1', 4003]
09:31:40 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/ManualLeftWaterStartTime', 164334.189984, '127.0.0.1', 4003]
09:31:40 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftRewardDeliveryTimeHarp', 164334.191488, '127.0.0.1', 4003]
09:31:41 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/ManualRightWaterStartTime', 164335.241984, '127.0.0.1', 4003]
09:31:41 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightRewardDeliveryTimeHarp', 164335.24448, '127.0.0.1', 4003]
09:31:42 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/ManualRightWaterStartTime', 164336.784, '127.0.0.1', 4003]
09:31:42 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightRewardDeliveryTimeHarp', 164336.785504, '127.0.0.1', 4003]
09:32:00 AM:INFO:Foraging:Foraging.py:_Start:line 3780:Start button pressed: starting trial loop
09:32:00 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1880:processing parameter changes
09:32:01 AM:INFO:Foraging:Foraging.py:_Start:line 3846:Starting session, with experimenter: the ghost in the shell
09:32:01 AM:INFO:Foraging:Foraging.py:_set_default_project:line 3715:Setting Project name: Behavior Platform
09:32:01 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1880:processing parameter changes
09:32:01 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1880:processing parameter changes
09:32:02 AM:INFO:Foraging:Foraging.py:_restartlogging:line 979:Restarting logging
09:32:02 AM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2760:Created new folder: C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02
09:32:02 AM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2763:Created new folder: C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02\metadata-dir
09:32:02 AM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2766:Created new folder: C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02\behavior
09:32:02 AM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2769:Created new folder: C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02\behavior\raw.harp
09:32:02 AM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2772:Created new folder: C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02\behavior-videos
09:32:02 AM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2775:Created new folder: C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02\fib
09:32:02 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/loggerstarted', 'C:\\Users\\svc_aind_behavior\\Documents\\behavior_data\\428-9-D\\0\\behavior_0_2024-11-07_09-32-02\\behavior\\raw.harp', '127.0.0.1', 4002]
09:32:08 AM:INFO:Foraging:Foraging.py:log_session:line 4159:Starting log file at C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02\behavior
09:32:08 AM:INFO:Foraging:Foraging.py:_StartTrialLoop:line 4176:starting trial loop
09:32:08 AM:INFO:Foraging:Foraging.py:_StartTrialLoop:line 4204:Current trial: 1
09:32:08 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/TrialStartTime', 164362.133984, '127.0.0.1', 4002]
09:32:08 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/ITIStartTimeHarp', 164362.13648, '127.0.0.1', 4002]
09:32:09 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/DelayStartTime', 164363.492, '127.0.0.1', 4002]
09:32:09 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/BehaviorEvent', 164363.495488, '127.0.0.1', 4002]
09:32:10 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/GoCueTime', 164364.474976, '127.0.0.1', 4002]
09:32:10 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/BehaviorEvent', 164364.477504, '127.0.0.1', 4002]
09:32:10 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/GoCueTimeSoundCard', 164626.9912, 4, '127.0.0.1']
09:32:11 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RewardOutcomeTime', 164365.484992, '127.0.0.1', 4002]
09:32:11 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RewardOutcome', 'NoResponse', '127.0.0.1', 4002]
09:32:14 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/TrialEndTime', 164368.490976, '127.0.0.1', 4002]
09:32:14 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/BehaviorEvent', 164368.494496, '127.0.0.1', 4002]
09:32:14 AM:INFO:Foraging:Foraging.py:_StartTrialLoop:line 4204:Current trial: 2
09:32:14 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/TrialStartTime', 164368.513984, '127.0.0.1', 4002]
09:32:14 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/ITIStartTimeHarp', 164368.518496, '127.0.0.1', 4002]
09:32:14 AM:INFO:Foraging:Foraging.py:_Save:line 2452:Saving current session, ForceSave=1
09:32:14 AM:WARNING:Foraging:Foraging.py:_GetWaterCalibration:line 1050:Did not find a recent water calibration file
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 90:processing:C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 398:Cannot log reward delivery in session metadata - missing fields
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 415:No laser calibration file for session metadata
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_reward_delivery:line 1235:No reward delivery metadata found!
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_opto_calibration:line 1070:No opto calibration results detected!
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ephys_stream:line 908:No ephys data stream detected!
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ophys_stream:line 627:No photometry data stream detected!
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_high_speed_camera_stream:line 605:No camera data stream detected!
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 117:Session metadata generated successfully: True
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 118:Rig metadata generated successfully: True
09:32:14 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 119:Data description generated successfully: True
09:32:18 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/DelayStartTime', 164372.290976, '127.0.0.1', 4002]
09:32:18 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/BehaviorEvent', 164372.293504, '127.0.0.1', 4002]
09:32:18 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/GoCueTime', 164372.474976, '127.0.0.1', 4002]
09:32:18 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/BehaviorEvent', 164372.47648, '127.0.0.1', 4002]
09:32:18 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/GoCueTimeSoundCard', 164634.990368, 4, '127.0.0.1']
09:32:19 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RewardOutcomeTime', 164373.474976, '127.0.0.1', 4002]
09:32:19 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RewardOutcome', 'NoResponse', '127.0.0.1', 4002]
09:32:22 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/TrialEndTime', 164376.490976, '127.0.0.1', 4002]
09:32:22 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/BehaviorEvent', 164376.493504, '127.0.0.1', 4002]
09:32:22 AM:INFO:Foraging:Foraging.py:_StartTrialLoop:line 4198:Skipping Automatic Upload based on ForagingSettings.json
09:32:22 AM:INFO:Foraging:Foraging.py:_StartTrialLoop:line 4204:Current trial: 3
09:32:22 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/TrialStartTime', 164376.504, '127.0.0.1', 4002]
09:32:22 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/ITIStartTimeHarp', 164376.507488, '127.0.0.1', 4002]
09:32:22 AM:INFO:Foraging:Foraging.py:_Save:line 2452:Saving current session, ForceSave=1
09:32:22 AM:WARNING:Foraging:Foraging.py:_GetWaterCalibration:line 1050:Did not find a recent water calibration file
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 90:processing:C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 398:Cannot log reward delivery in session metadata - missing fields
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_reward_delivery:line 1235:No reward delivery metadata found!
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_opto_calibration:line 1070:No opto calibration results detected!
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ephys_stream:line 908:No ephys data stream detected!
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ophys_stream:line 627:No photometry data stream detected!
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_high_speed_camera_stream:line 605:No camera data stream detected!
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 117:Session metadata generated successfully: True
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 118:Rig metadata generated successfully: True
09:32:22 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 119:Data description generated successfully: True
09:32:24 AM:INFO:Foraging:Foraging.py:_Start:line 3968:Start button pressed: ending trial loop
09:32:24 AM:INFO:Foraging:Foraging.py:_StartTrialLoop:line 4178:ending trial loop
09:32:26 AM:INFO:Foraging:Foraging.py:_Save:line 2452:Saving current session, ForceSave=True
09:32:26 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/DelayStartTime', 164380.274976, '127.0.0.1', 4002]
09:32:26 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/BehaviorEvent', 164380.27648, '127.0.0.1', 4002]
09:32:26 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/GoCueTime', 164380.657984, '127.0.0.1', 4002]
09:32:26 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/GoCueTimeSoundCard', 164643.173184, 4, '127.0.0.1']
09:32:26 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/BehaviorEvent', 164380.659488, '127.0.0.1', 4002]
09:32:27 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RewardOutcomeTime', 164381.657984, '127.0.0.1', 4002]
09:32:27 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RewardOutcome', 'NoResponse', '127.0.0.1', 4002]
09:32:28 AM:INFO:Foraging:Foraging.py:_Save:line 2463:saving without weight or extra water
09:32:28 AM:WARNING:Foraging:Foraging.py:_GetWaterCalibration:line 1050:Did not find a recent water calibration file
09:32:28 AM:INFO:Foraging:Foraging.py:_NewSession:line 3538:New Session pressed
09:32:30 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/TrialEndTime', 164384.673984, '127.0.0.1', 4002]
09:32:30 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/BehaviorEvent', 164384.67648, '127.0.0.1', 4002]
09:32:33 AM:INFO:Foraging:Foraging.py:_NewSession:line 3612:New Session complete
09:32:33 AM:INFO:Foraging:Foraging.py:end_session_log:line 4167:Closing log file at C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02\behavior\python_gui_log.txt
09:32:33 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4828:BONSAI:
09:32:33 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4828:BONSAI:
09:32:33 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4828:BONSAI:
09:32:33 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4828:BONSAI:
09:32:38 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 90:processing:C:\Users\svc_aind_behavior\Documents\behavior_data\428-9-D\0\behavior_0_2024-11-07_09-32-02
09:32:38 AM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 398:Cannot log reward delivery in session metadata - missing fields
09:32:38 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_reward_delivery:line 1235:No reward delivery metadata found!
09:32:38 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_opto_calibration:line 1070:No opto calibration results detected!
09:32:38 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ephys_stream:line 908:No ephys data stream detected!
09:32:38 AM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ophys_stream:line 627:No photometry data stream detected!
09:32:38 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 117:Session metadata generated successfully: True
09:32:38 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 118:Rig metadata generated successfully: True
09:32:38 AM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 119:Data description generated successfully: True
09:34:10 AM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 52:['/PhotometryFalling', 164484.586656, '127.0.0.1', 4003], displaying at 0.5 Hz
_____SKIPPING_____
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2210, in _ShowRewardPairs
self.RewardPairs=self.RewardFamilies[int(self.RewardFamily.text())-1][:int(self.RewardPairsN.text())]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_CheckFormat:line 2028:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2022, in _CheckFormat
self.RewardPairs=self.RewardFamilies[int(self.RewardFamily.text())-1][:int(self.RewardPairsN.text())]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2210, in _ShowRewardPairs
self.RewardPairs=self.RewardFamilies[int(self.RewardFamily.text())-1][:int(self.RewardPairsN.text())]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_CheckFormat:line 2028:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2022, in _CheckFormat
self.RewardPairs=self.RewardFamilies[int(self.RewardFamily.text())-1][:int(self.RewardPairsN.text())]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2210, in _ShowRewardPairs
self.RewardPairs=self.RewardFamilies[int(self.RewardFamily.text())-1][:int(self.RewardPairsN.text())]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_CheckFormat:line 2028:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2022, in _CheckFormat
self.RewardPairs=self.RewardFamilies[int(self.RewardFamily.text())-1][:int(self.RewardPairsN.text())]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2210, in _ShowRewardPairs
self.RewardPairs=self.RewardFamilies[int(self.RewardFamily.text())-1][:int(self.RewardPairsN.text())]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:keyPressEvent:line 1923:Cannot convert input to float: RewardFamily, ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:_ShowRewardPairs:line 2240:Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1920, in keyPressEvent
float(child.text())
ValueError: could not convert string to float: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2211, in _ShowRewardPairs
self.RewardProb=np.array(self.RewardPairs)/np.expand_dims(np.sum(self.RewardPairs,axis=1),axis=1)*float(self.BaseRewardSum.text())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: ''
10:54:17 AM:ERROR:Foraging:Foraging.py:keyPressEvent:line 1923:Cannot convert input to float: RightValue, ''
This issue was automatically generated from GUI logs.
file: Foraging.py
function: keyPressEvent
line 1923
logfile: DT300178/DT300178-A_gui_log_2024-11-07_09-30-52.txt
boxes: 9D
count: 1
text: Cannot convert input to float: RightValue, ''
GUI Log snippet (click for full log)
Full GUI log (first 400 lines)