Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error generating session metadata: 'generate_metadata' object has no attribute 'behavior_software' #1231

Open
alexpiet opened this issue Dec 23, 2024 · 4 comments
Labels
medium priority - auto-generated autogenerated issues that have occurred more than once in a month

Comments

@alexpiet
Copy link
Collaborator

This issue was automatically generated from GUI logs.

file: Foraging.py
function: _Save
line 2708
logfile: W10DT714670/W10DT714670-A_gui_log_2024-12-19_15-06-38.txt
boxes: ephys4
count: 57
text: Error generating session metadata: 'generate_metadata' object has no attribute 'behavior_software'

GUI Log snippet (click for full log)

03:08:00 PM:WARNING:Foraging:Foraging.py:_Save:line 2488:Saving without weight or extra water!
03:08:00 PM:INFO:Foraging:Foraging.py:_GetWaterCalibration:line 1101:Loaded Water Calibration
03:08:00 PM:INFO:Foraging:Foraging.py:_NewSession:line 3585:New Session pressed
03:08:00 PM:INFO:Foraging:Foraging.py:_NewSession:line 3655:New Session complete
03:08:00 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
03:08:00 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
03:08:01 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
03:08:01 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
03:08:05 PM:WARNING:Foraging:Foraging.py:_check_drop_frames:line 712:Error: bottom_camera.avi has 21293 frames, but 23432 triggers
Error: side_camera_right.avi has 21240 frames, but 23432 triggers

03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 88:processing:D:\dynamic-foraging\322_EPHYS4\0\behavior_0_2024-12-19_15-07-02
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 361:No animal response history to log in session metadata
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 369:Cannot log reward delivery in session metadata - missing fields
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_reward_delivery:line 1297:No reward delivery metadata found!
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_behavior_stream:line 1085:No behavior data detected!
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ephys_stream:line 969:No ephys data stream detected!
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ophys_stream:line 646:No photometry data stream detected!
03:08:05 PM:WARNING:Foraging:Foraging.py:_Save:line 2707:Meta data is not saved!
03:08:05 PM:ERROR:Foraging:Foraging.py:_Save:line 2708:Error generating session metadata: 'generate_metadata' object has no attribute 'behavior_software'
Full GUI log
03:06:38 PM:INFO:Foraging:Foraging.py:start_gui_log_file:line 4796:Starting logfile!
03:06:39 PM:INFO:Foraging:Foraging.py:log_git_hash:line 4807:Python version: 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:27:10) [MSC v.1938 64 bit (AMD64)]
03:06:39 PM:INFO:Foraging:Foraging.py:log_git_hash:line 4824:Current git commit branch, hash: main, 698fb9fecded812fcf96d570658d9bc3766b14c6
03:06:39 PM:INFO:Foraging:Foraging.py:log_git_hash:line 4828:Current foraging_gui version: 1.6.19
03:06:39 PM:WARNING:Foraging:Foraging.py:log_git_hash:line 4838:local repository is clean
03:06:39 PM:INFO:Foraging:Foraging.py:<module>:line 4944:Setting QApplication attributes
03:06:39 PM:INFO:Foraging:Foraging.py:<module>:line 4952:Starting QApplication and Window
03:06:39 PM:INFO:Foraging:Foraging.py:__init__:line 77:Creating Window
03:06:39 PM:INFO:Foraging:Foraging.py:_GetSettings:line 1211:Loaded settings_box file
03:06:39 PM:INFO:Foraging:Foraging.py:_GetSettings:line 1239:Loaded settings file
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (FIP_workflow_path), using default: 
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (FIP_settings), using default: C:\Users\svc_aind_ephys\Documents\FIPSettings
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (bonsai_config_path), using default: C:\Users\svc_aind_ephys\Documents\GitHub\dynamic-foraging-task\bonsai\Bonsai.config
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (metadata_dialog_folder), using default: C:\Users\svc_aind_ephys\Documents\ForagingSettings\metadata_dialog\
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (rig_metadata_folder), using default: C:\Users\svc_aind_ephys\Documents\ForagingSettings\rig_metadata\
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (project_info_file), using default: C:\Users\svc_aind_ephys\Documents\ForagingSettings\Project Name and Funding Source v2.csv
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (schedule_path), using default: Z:\dynamic_foraging\DynamicForagingSchedule.csv
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (go_cue_decibel_box2), using default: 60
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (go_cue_decibel_box3), using default: 60
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (go_cue_decibel_box4), using default: 60
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (lick_spout_distance_box1), using default: 5000
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (lick_spout_distance_box2), using default: 5000
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (lick_spout_distance_box3), using default: 5000
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (lick_spout_distance_box4), using default: 5000
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (name_mapper_file), using default: C:\Users\svc_aind_ephys\Documents\ForagingSettings\name_mapper.json
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (save_each_trial), using default: True
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (manifest_flag_dir), using default: C:\Users\svc_aind_ephys\Documents\aind_watchdog_service\manifest
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (auto_engage), using default: True
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (clear_figure_after_save), using default: True
03:06:39 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (add_default_project_name), using default: True
03:06:39 PM:INFO:Foraging:Foraging.py:_LoadSchedule:line 1137:Loaded behavior schedule
03:06:39 PM:INFO:Foraging:Foraging.py:_GetWaterCalibration:line 1101:Loaded Water Calibration
03:06:39 PM:INFO:Foraging:Foraging.py:_LoadRigJson:line 1582:Skipping rig metadata creation because create_rig_metadata=False
03:06:39 PM:INFO:Foraging:Foraging.py:_LoadUI:line 299:Using ForagingGUI.ui interface
03:06:39 PM:INFO:Foraging:Foraging.py:__init__:line 143:Setting Window title: 322_EPHYS4
03:06:39 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1409:Trying to connect to already running Bonsai
03:06:39 PM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1456:connecting to GUI and Bonsai through OSC
03:06:40 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1413:Could not connect: timed out
03:06:40 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1422:Starting Bonsai
03:06:40 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4911:BONSAI logging starting
03:06:41 PM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1456:connecting to GUI and Bonsai through OSC
03:06:42 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1436:Could not connect, total waiting time 0.5 seconds: timed out
03:06:42 PM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1456:connecting to GUI and Bonsai through OSC
03:06:43 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1439:Connected to Bonsai after 1.0 seconds
03:06:43 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1440:Bonsai started successfully
03:06:43 PM:INFO:Foraging:Foraging.py:_ConnectSlims:line 1318:Attempting to connect to Slims
03:06:43 PM:INFO:Foraging:Foraging.py:_ConnectSlims:line 1335:Successfully connected to Slims
03:06:43 PM:WARNING:Dialogs:Dialogs.py:_LoadCalibrationParameters:line 480:could not find water calibration parameters: C:\Users\svc_aind_ephys\Documents\ForagingSettings\WaterCalibrationPar_1.json
03:06:43 PM:INFO:Foraging:Foraging.py:_InitializeMotorStage:line 912:Scanning for newscale stages
03:06:43 PM:INFO:Foraging:Foraging.py:_InitializeMotorStage:line 922:Could not find any instances of NewScale Stage
03:06:43 PM:INFO:Foraging:Foraging.py:_insert_stage_widget:line 279:Inserting Stage Widget
03:06:43 PM:INFO:connection:connection.py:_connect:line 688:Connecting to aibspi(10.128.108.106):2181, use_ssl: False
03:06:43 PM:INFO:client:client.py:_session_callback:line 561:Zookeeper connection established, state: CONNECTED
03:06:44 PM:INFO:connection:connection.py:_connect_attempt:line 655:Closing connection to aibspi:2181
03:06:44 PM:INFO:client:client.py:_session_callback:line 567:Zookeeper session closed, state: CLOSED
03:06:44 PM:INFO:main:main.py:get_stage_widget:line 23:Getting Stage Controller Widget - 1.0.4.dev1+g5cafa8d.b163669
03:06:44 PM:INFO:stepper_motor_device:stepper_motor_device.py:__init__:line 52:Skipping COM3 - device may be being used by another program
03:06:44 PM:INFO:stepper_motor_device:stepper_motor_device.py:__init__:line 70:Connected to COM10, device id: 1130
03:06:44 PM:INFO:stepper_motor_device:stepper_motor_device.py:load_registers:line 151:Getting available registers on device
03:06:44 PM:WARNING:stepper_motor_device:stepper_motor_device.py:load_registers:line 159:Firmware version 0.5 doesn't match config version 0.7.
    Registers may be defined incorrectly
03:06:44 PM:INFO:stage_model:stage_model.py:configure_device:line 81:Configuring registers with default values (can be modified in config file)
03:06:44 PM:INFO:move_worker:move_worker.py:goto_origin:line 195:(move to origin): Moving stage to origin
03:06:44 PM:INFO:move_worker:move_worker.py:move_relative:line 337:(move relative): Moved motors by steps specified in [0, -27200, -27200, 0]
03:06:46 PM:INFO:move_worker:move_worker.py:move_relative:line 337:(move relative): Moved motors by steps specified in [-27200, 0, 0, 0]
03:06:48 PM:INFO:move_worker:move_worker.py:move_relative:line 337:(move relative): Moved motors by steps specified in [0, 0, 0, -27200]
03:06:49 PM:INFO:stage_model:stage_model.py:configure_device:line 87:Zeroed all motor positions
03:06:49 PM:INFO:stage_model:stage_model.py:configure_device:line 88:Finished configuring stepper motor device
#############################################################
03:06:50 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
03:06:50 PM:INFO:Foraging:Foraging.py:_load_most_recent_rig_json:line 1572:Found existing rig.json: rig_322_EPHYS4_2024-11-05.json
03:06:50 PM:INFO:Foraging:Foraging.py:__init__:line 243:Start up complete
03:06:51 PM: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) = 9519
03:06:51 PM: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) = 4659
03:06:52 PM: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_ephys/capsule/scratch/saved_curriculums/
03:06:52 PM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_ephys/capsule/scratch/saved_curriculums/
03:06:52 PM: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_ephys/.aind_auto_train/curriculum_manager/
03:06:52 PM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_ephys/.aind_auto_train/curriculum_manager/
03:06:52 PM:INFO:Dialogs:Dialogs.py:update_auto_train_fields:line 2292:No entry found in df_training_manager for subject_id: 0
03:06:52 PM:INFO:Dialogs:Dialogs.py:_override_curriculum_clicked:line 2640:Override stage clicked: state=2
03:06:52 PM:INFO:Dialogs:Dialogs.py:_update_stage_to_apply:line 2666:Current stage to apply: unknown training stage @unknown curriculum
03:07:02 PM:INFO:Dialogs:Dialogs.py:_StartCamera:line 1241:Camera is turning on
03:07:02 PM:INFO:Foraging:Foraging.py:_restartlogging:line 1034:Restarting logging
03:07:02 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2775:Created new folder: D:\dynamic-foraging\322_EPHYS4\0\behavior_0_2024-12-19_15-07-02
03:07:02 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2778:Created new folder: D:\dynamic-foraging\322_EPHYS4\0\behavior_0_2024-12-19_15-07-02\metadata-dir
03:07:02 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2781:Created new folder: D:\dynamic-foraging\322_EPHYS4\0\behavior_0_2024-12-19_15-07-02\behavior
03:07:02 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2784:Created new folder: D:\dynamic-foraging\322_EPHYS4\0\behavior_0_2024-12-19_15-07-02\behavior\raw.harp
03:07:02 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2787:Created new folder: D:\dynamic-foraging\322_EPHYS4\0\behavior_0_2024-12-19_15-07-02\behavior-videos
03:07:02 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2790:Created new folder: D:\dynamic-foraging\322_EPHYS4\0\behavior_0_2024-12-19_15-07-02\fib
03:07:02 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/loggerstarted', 'D:\\dynamic-foraging\\322_EPHYS4\\0\\behavior_0_2024-12-19_15-07-02\\behavior\\raw.harp', '127.0.0.1', 4002]
03:07:07 PM:INFO:Dialogs:Dialogs.py:_StartCamera:line 1268:Camera is on!
03:07:15 PM:INFO:move_worker:move_worker.py:move_to_preset_position:line 178:(move to preset position): Moving stage to preset initialize with coordinates [15, 16, 16, 12]
03:07:18 PM:INFO:move_worker:move_worker.py:move_absolute:line 307:(move absolute): Moved motors from [0, 0, 0, 0] to [0, 12800, 12800, 0]
03:07:21 PM:INFO:move_worker:move_worker.py:move_absolute:line 307:(move absolute): Moved motors from [0, 12800, 12800, 0] to [12000, 12800, 12800, 0]
03:07:22 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 188997.592672, '127.0.0.1', 4003]
03:07:23 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 188999.202752, '127.0.0.1', 4003]
03:07:24 PM:INFO:move_worker:move_worker.py:move_absolute:line 307:(move absolute): Moved motors from [12000, 12800, 12800, 0] to [12000, 12800, 12800, 9600]
03:07:39 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189015.20752, '127.0.0.1', 4003]
03:07:40 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189015.443968, '127.0.0.1', 4003]
03:07:40 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightLickTime', 189015.464288, '127.0.0.1', 4003]
03:07:40 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightLickTime', 189015.713632, '127.0.0.1', 4003]
03:07:40 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightLickTime', 189015.962528, '127.0.0.1', 4003]
03:07:40 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightLickTime', 189016.189344, '127.0.0.1', 4003]
03:07:41 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189016.589984, '127.0.0.1', 4003]
03:07:41 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189017.12656, '127.0.0.1', 4003]
03:07:42 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189017.352672, '127.0.0.1', 4003]
03:07:42 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189017.583296, '127.0.0.1', 4003]
03:07:42 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189017.83584, '127.0.0.1', 4003]
03:07:42 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189018.05664, '127.0.0.1', 4003]
03:07:43 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189018.295712, '127.0.0.1', 4003]
03:07:43 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189018.478016, '127.0.0.1', 4003]
03:07:43 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189018.72656, '127.0.0.1', 4003]
03:07:43 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189018.913536, '127.0.0.1', 4003]
03:07:44 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189019.406752, '127.0.0.1', 4003]
03:07:44 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189019.700384, '127.0.0.1', 4003]
03:07:45 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightLickTime', 189020.453984, '127.0.0.1', 4003]
03:07:45 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightLickTime', 189020.484224, '127.0.0.1', 4003]
03:07:45 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 189020.695168, '127.0.0.1', 4003]
03:07:47 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightLickTime', 189022.596704, '127.0.0.1', 4003]
03:07:54 PM:INFO:Dialogs:Dialogs.py:_StartCamera:line 1272:Camera is turning off
03:07:59 PM:INFO:Dialogs:Dialogs.py:_StartCamera:line 1278:Camera is off!
03:07:59 PM:INFO:Foraging:Foraging.py:_Save:line 2479:Saving current session, ForceSave=True
03:08:00 PM:WARNING:Foraging:Foraging.py:_Save:line 2488:Saving without weight or extra water!
03:08:00 PM:INFO:Foraging:Foraging.py:_GetWaterCalibration:line 1101:Loaded Water Calibration
03:08:00 PM:INFO:Foraging:Foraging.py:_NewSession:line 3585:New Session pressed
03:08:00 PM:INFO:Foraging:Foraging.py:_NewSession:line 3655:New Session complete
03:08:00 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
03:08:00 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
03:08:01 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
03:08:01 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
03:08:05 PM:WARNING:Foraging:Foraging.py:_check_drop_frames:line 712:Error: bottom_camera.avi has 21293 frames, but 23432 triggers
Error: side_camera_right.avi has 21240 frames, but 23432 triggers

03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 88:processing:D:\dynamic-foraging\322_EPHYS4\0\behavior_0_2024-12-19_15-07-02
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 361:No animal response history to log in session metadata
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 369:Cannot log reward delivery in session metadata - missing fields
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_reward_delivery:line 1297:No reward delivery metadata found!
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_behavior_stream:line 1085:No behavior data detected!
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ephys_stream:line 969:No ephys data stream detected!
03:08:05 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ophys_stream:line 646:No photometry data stream detected!
03:08:05 PM:WARNING:Foraging:Foraging.py:_Save:line 2707:Meta data is not saved!
03:08:05 PM:ERROR:Foraging:Foraging.py:_Save:line 2708:Error generating session metadata: 'generate_metadata' object has no attribute 'behavior_software'
@alexpiet alexpiet added the low priority - auto-generated autogenerated issues that have only occurred once label Dec 23, 2024
@ellahiltonvano
Copy link

@KanghoonJ could this be related to hardware replacement on the ephys rig last week?

@alexpiet
Copy link
Collaborator Author

I doubt this is due to hardware changes. @XX-Yin @micahwoodard Do you know what is happening?

@alexpiet
Copy link
Collaborator Author

This issue reoccurred:

file: Foraging.py
function: _Save
line 2708
logfile: W10DT714670/W10DT714670-A_gui_log_2024-12-22_16-11-27.txt
boxes: ephys4
count: 1
text: Error generating session metadata: 'generate_metadata' object has no attribute 'behavior_software'

GUI Log snippet (click for full log)

04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:07 PM:INFO:Foraging:Foraging.py:_check_drop_frames:line 714:Correct: body_camera.avi has 715377 frames and 715377 triggers
Correct: bottom_camera.avi has 715377 frames and 715377 triggers
Correct: side_camera_left.avi has 715377 frames and 715377 triggers
Correct: side_camera_right.avi has 715377 frames and 715377 triggers

04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 88:processing:D:\dynamic-foraging\322_EPHYS4\735304\behavior_735304_2024-12-22_16-14-42
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 361:No animal response history to log in session metadata
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 369:Cannot log reward delivery in session metadata - missing fields
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_reward_delivery:line 1297:No reward delivery metadata found!
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_behavior_stream:line 1085:No behavior data detected!
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ophys_stream:line 646:No photometry data stream detected!
04:39:07 PM:WARNING:Foraging:Foraging.py:_Save:line 2707:Meta data is not saved!
04:39:08 PM:ERROR:Foraging:Foraging.py:_Save:line 2708:Error generating session metadata: 'generate_metadata' object has no attribute 'behavior_software'
Full GUI log
04:11:27 PM:INFO:Foraging:Foraging.py:start_gui_log_file:line 4796:Starting logfile!
04:11:27 PM:INFO:Foraging:Foraging.py:log_git_hash:line 4807:Python version: 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:27:10) [MSC v.1938 64 bit (AMD64)]
04:11:27 PM:INFO:Foraging:Foraging.py:log_git_hash:line 4824:Current git commit branch, hash: main, 698fb9fecded812fcf96d570658d9bc3766b14c6
04:11:27 PM:INFO:Foraging:Foraging.py:log_git_hash:line 4828:Current foraging_gui version: 1.6.19
04:11:27 PM:WARNING:Foraging:Foraging.py:log_git_hash:line 4838:local repository is clean
04:11:27 PM:INFO:Foraging:Foraging.py:<module>:line 4944:Setting QApplication attributes
04:11:27 PM:INFO:Foraging:Foraging.py:<module>:line 4952:Starting QApplication and Window
04:11:27 PM:INFO:Foraging:Foraging.py:__init__:line 77:Creating Window
04:11:27 PM:INFO:Foraging:Foraging.py:_GetSettings:line 1211:Loaded settings_box file
04:11:27 PM:INFO:Foraging:Foraging.py:_GetSettings:line 1239:Loaded settings file
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (FIP_workflow_path), using default: 
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (FIP_settings), using default: C:\Users\svc_aind_ephys\Documents\FIPSettings
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (bonsai_config_path), using default: C:\Users\svc_aind_ephys\Documents\GitHub\dynamic-foraging-task\bonsai\Bonsai.config
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (metadata_dialog_folder), using default: C:\Users\svc_aind_ephys\Documents\ForagingSettings\metadata_dialog\
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (rig_metadata_folder), using default: C:\Users\svc_aind_ephys\Documents\ForagingSettings\rig_metadata\
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (project_info_file), using default: C:\Users\svc_aind_ephys\Documents\ForagingSettings\Project Name and Funding Source v2.csv
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (schedule_path), using default: Z:\dynamic_foraging\DynamicForagingSchedule.csv
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (go_cue_decibel_box2), using default: 60
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (go_cue_decibel_box3), using default: 60
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (go_cue_decibel_box4), using default: 60
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (lick_spout_distance_box1), using default: 5000
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (lick_spout_distance_box2), using default: 5000
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (lick_spout_distance_box3), using default: 5000
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (lick_spout_distance_box4), using default: 5000
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (name_mapper_file), using default: C:\Users\svc_aind_ephys\Documents\ForagingSettings\name_mapper.json
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (save_each_trial), using default: True
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (manifest_flag_dir), using default: C:\Users\svc_aind_ephys\Documents\aind_watchdog_service\manifest
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (auto_engage), using default: True
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (clear_figure_after_save), using default: True
04:11:27 PM:WARNING:Foraging:Foraging.py:_GetSettings:line 1249:Missing setting (add_default_project_name), using default: True
04:11:28 PM:INFO:Foraging:Foraging.py:_LoadSchedule:line 1137:Loaded behavior schedule
04:11:28 PM:INFO:Foraging:Foraging.py:_GetWaterCalibration:line 1101:Loaded Water Calibration
04:11:28 PM:INFO:Foraging:Foraging.py:_LoadRigJson:line 1582:Skipping rig metadata creation because create_rig_metadata=False
04:11:28 PM:INFO:Foraging:Foraging.py:_LoadUI:line 299:Using ForagingGUI.ui interface
04:11:28 PM:INFO:Foraging:Foraging.py:__init__:line 143:Setting Window title: 322_EPHYS4
04:11:28 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1409:Trying to connect to already running Bonsai
04:11:28 PM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1456:connecting to GUI and Bonsai through OSC
04:11:29 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1413:Could not connect: timed out
04:11:29 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1422:Starting Bonsai
04:11:29 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4911:BONSAI logging starting
04:11:29 PM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1456:connecting to GUI and Bonsai through OSC
04:11:30 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1436:Could not connect, total waiting time 0.5 seconds: timed out
04:11:31 PM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1456:connecting to GUI and Bonsai through OSC
04:11:32 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1436:Could not connect, total waiting time 1.0 seconds: timed out
04:11:32 PM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1456:connecting to GUI and Bonsai through OSC
04:11:33 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1436:Could not connect, total waiting time 1.5 seconds: timed out
04:11:34 PM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1456:connecting to GUI and Bonsai through OSC
04:11:34 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1439:Connected to Bonsai after 2.0 seconds
04:11:34 PM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1440:Bonsai started successfully
04:11:34 PM:INFO:Foraging:Foraging.py:_ConnectSlims:line 1318:Attempting to connect to Slims
04:11:35 PM:INFO:Foraging:Foraging.py:_ConnectSlims:line 1335:Successfully connected to Slims
04:11:35 PM:WARNING:Dialogs:Dialogs.py:_LoadCalibrationParameters:line 480:could not find water calibration parameters: C:\Users\svc_aind_ephys\Documents\ForagingSettings\WaterCalibrationPar_1.json
04:11:35 PM:INFO:Foraging:Foraging.py:_InitializeMotorStage:line 912:Scanning for newscale stages
04:11:35 PM:INFO:Foraging:Foraging.py:_InitializeMotorStage:line 922:Could not find any instances of NewScale Stage
04:11:35 PM:INFO:Foraging:Foraging.py:_insert_stage_widget:line 279:Inserting Stage Widget
04:11:35 PM:INFO:connection:connection.py:_connect:line 688:Connecting to aibspi(10.128.108.106):2181, use_ssl: False
04:11:35 PM:INFO:client:client.py:_session_callback:line 561:Zookeeper connection established, state: CONNECTED
04:11:35 PM:INFO:connection:connection.py:_connect_attempt:line 655:Closing connection to aibspi:2181
04:11:35 PM:INFO:client:client.py:_session_callback:line 567:Zookeeper session closed, state: CLOSED
04:11:35 PM:INFO:main:main.py:get_stage_widget:line 23:Getting Stage Controller Widget - 1.0.4.dev1+g5cafa8d.b163669
04:11:35 PM:INFO:stepper_motor_device:stepper_motor_device.py:__init__:line 70:Connected to COM10, device id: 1130
04:11:35 PM:INFO:stepper_motor_device:stepper_motor_device.py:load_registers:line 151:Getting available registers on device
04:11:35 PM:WARNING:stepper_motor_device:stepper_motor_device.py:load_registers:line 159:Firmware version 0.5 doesn't match config version 0.7.
    Registers may be defined incorrectly
04:11:35 PM:INFO:stage_model:stage_model.py:configure_device:line 81:Configuring registers with default values (can be modified in config file)
04:11:35 PM:INFO:move_worker:move_worker.py:goto_origin:line 195:(move to origin): Moving stage to origin
04:11:35 PM:INFO:move_worker:move_worker.py:move_relative:line 337:(move relative): Moved motors by steps specified in [0, -27200, -27200, 0]
04:11:37 PM:INFO:move_worker:move_worker.py:move_relative:line 337:(move relative): Moved motors by steps specified in [-27200, 0, 0, 0]
04:11:39 PM:INFO:move_worker:move_worker.py:move_relative:line 337:(move relative): Moved motors by steps specified in [0, 0, 0, -27200]
04:11:41 PM:INFO:stage_model:stage_model.py:configure_device:line 87:Zeroed all motor positions
04:11:41 PM:INFO:stage_model:stage_model.py:configure_device:line 88:Finished configuring stepper motor device
#############################################################
04:11:41 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:11:41 PM:INFO:Foraging:Foraging.py:_load_most_recent_rig_json:line 1572:Found existing rig.json: rig_322_EPHYS4_2024-11-05.json
04:11:41 PM:INFO:Foraging:Foraging.py:__init__:line 243:Start up complete
04:11:44 PM: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) = 11120
04:11:44 PM: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) = 4708
04:11:45 PM: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_ephys/capsule/scratch/saved_curriculums/
04:11:45 PM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_ephys/capsule/scratch/saved_curriculums/
04:11:45 PM: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_ephys/.aind_auto_train/curriculum_manager/
04:11:45 PM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_ephys/.aind_auto_train/curriculum_manager/
04:11:45 PM:INFO:Dialogs:Dialogs.py:update_auto_train_fields:line 2292:No entry found in df_training_manager for subject_id: 0
04:11:45 PM:INFO:Dialogs:Dialogs.py:_override_curriculum_clicked:line 2640:Override stage clicked: state=2
04:11:45 PM:INFO:Dialogs:Dialogs.py:_update_stage_to_apply:line 2666:Current stage to apply: unknown training stage @unknown curriculum
04:12:36 PM:INFO:Foraging:Foraging.py:_StopCurrentSession:line 3675:Stopping current trials
04:12:40 PM:INFO:Foraging:Foraging.py:_Open:line 3017:Quick load success: D:\dynamic-foraging\322_EPHYS4\735304\behavior_735304_2024-12-18_15-13-44\behavior\735304_2024-12-18_15-13-44.json
04:12:40 PM:INFO:Foraging:Foraging.py:_NewSession:line 3585:New Session pressed
04:12:40 PM:INFO:Foraging:Foraging.py:_NewSession:line 3617:Resetting session run flag
04:12:40 PM:INFO:Foraging:Foraging.py:_NewSession:line 3655:New Session complete
04:12:40 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:12:40 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1960:Changing parameter: RightValue, 0.03 -> 0.032
04:12:40 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1960:Changing parameter: LeftValue, 0.03 -> 0.034
04:12:40 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1960:Changing parameter: ID, 0.0 -> 735304.0
04:12:40 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1960:Changing parameter: RightValue, 0.03 -> 0.032
04:12:40 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1960:Changing parameter: LeftValue, 0.03 -> 0.034
04:12:40 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1960:Changing parameter: GiveWaterL, 0.03 -> 0.034
04:12:40 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1960:Changing parameter: GiveWaterR, 0.03 -> 0.032
04:12:40 PM:WARNING:Foraging:Foraging.py:_check_drop_frames:line 712:Error: body_camera.avi has 757936 frames, but 759992 triggers
Error: bottom_camera.avi has 71711 frames, but 759992 triggers
Error: side_camera_left.avi has 757941 frames, but 759992 triggers
Error: side_camera_right.avi has 71706 frames, but 759992 triggers

04:12:40 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:12:40 PM:INFO:Dialogs:Dialogs.py:update_auto_train_lock:line 2844:AutoTrain disengaged!
04:12:40 PM:INFO:Dialogs:Dialogs.py:update_auto_train_fields:line 2292:No entry found in df_training_manager for subject_id: 735304
04:12:40 PM:INFO:Dialogs:Dialogs.py:_update_stage_to_apply:line 2666:Current stage to apply: unknown training stage @unknown curriculum
04:12:40 PM:INFO:Dialogs:Dialogs.py:update_auto_train_fields:line 2421:Auto engage successful for mouse 735304
04:13:12 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:13:12 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:13:12 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:13:12 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:13:12 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:13:19 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:14:28 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1901:processing parameter changes
04:14:42 PM:INFO:Dialogs:Dialogs.py:_StartCamera:line 1241:Camera is turning on
04:14:42 PM:INFO:Foraging:Foraging.py:_restartlogging:line 1034:Restarting logging
04:14:42 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2775:Created new folder: D:\dynamic-foraging\322_EPHYS4\735304\behavior_735304_2024-12-22_16-14-42
04:14:42 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2778:Created new folder: D:\dynamic-foraging\322_EPHYS4\735304\behavior_735304_2024-12-22_16-14-42\metadata-dir
04:14:42 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2781:Created new folder: D:\dynamic-foraging\322_EPHYS4\735304\behavior_735304_2024-12-22_16-14-42\behavior
04:14:42 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2784:Created new folder: D:\dynamic-foraging\322_EPHYS4\735304\behavior_735304_2024-12-22_16-14-42\behavior\raw.harp
04:14:42 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2787:Created new folder: D:\dynamic-foraging\322_EPHYS4\735304\behavior_735304_2024-12-22_16-14-42\behavior-videos
04:14:42 PM:INFO:Foraging:Foraging.py:_GetSaveFolder:line 2790:Created new folder: D:\dynamic-foraging\322_EPHYS4\735304\behavior_735304_2024-12-22_16-14-42\fib
04:14:42 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/loggerstarted', 'D:\\dynamic-foraging\\322_EPHYS4\\735304\\behavior_735304_2024-12-22_16-14-42\\behavior\\raw.harp', '127.0.0.1', 4002]
04:14:47 PM:INFO:Dialogs:Dialogs.py:_StartCamera:line 1268:Camera is on!
04:38:38 PM:INFO:Dialogs:Dialogs.py:_StartCamera:line 1272:Camera is turning off
04:38:43 PM:INFO:Dialogs:Dialogs.py:_StartCamera:line 1278:Camera is off!
04:38:58 PM:INFO:Foraging:Foraging.py:_Save:line 2479:Saving current session, ForceSave=False
04:38:58 PM:INFO:Foraging:Foraging.py:_StopCurrentSession:line 3675:Stopping current trials
04:39:02 PM:WARNING:Foraging:Foraging.py:_Save:line 2488:Saving without weight or extra water!
04:39:02 PM:INFO:Foraging:Foraging.py:_GetWaterCalibration:line 1101:Loaded Water Calibration
04:39:02 PM:INFO:Foraging:Foraging.py:_NewSession:line 3585:New Session pressed
04:39:02 PM:INFO:Foraging:Foraging.py:_NewSession:line 3655:New Session complete
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:02 PM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4917:BONSAI: 
04:39:07 PM:INFO:Foraging:Foraging.py:_check_drop_frames:line 714:Correct: body_camera.avi has 715377 frames and 715377 triggers
Correct: bottom_camera.avi has 715377 frames and 715377 triggers
Correct: side_camera_left.avi has 715377 frames and 715377 triggers
Correct: side_camera_right.avi has 715377 frames and 715377 triggers

04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:__init__:line 88:processing:D:\dynamic-foraging\322_EPHYS4\735304\behavior_735304_2024-12-22_16-14-42
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 361:No animal response history to log in session metadata
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_handle_edge_cases:line 369:Cannot log reward delivery in session metadata - missing fields
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_reward_delivery:line 1297:No reward delivery metadata found!
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_behavior_stream:line 1085:No behavior data detected!
04:39:07 PM:INFO:GenerateMetadata:GenerateMetadata.py:_get_ophys_stream:line 646:No photometry data stream detected!
04:39:07 PM:WARNING:Foraging:Foraging.py:_Save:line 2707:Meta data is not saved!
04:39:08 PM:ERROR:Foraging:Foraging.py:_Save:line 2708:Error generating session metadata: 'generate_metadata' object has no attribute 'behavior_software'

@alexpiet alexpiet added medium priority - auto-generated autogenerated issues that have occurred more than once in a month and removed low priority - auto-generated autogenerated issues that have only occurred once labels Dec 24, 2024
@KanghoonJ
Copy link
Contributor

@KanghoonJ could this be related to hardware replacement on the ephys rig last week?

I would think so. I have fixed the settings. Let me know if this happens again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium priority - auto-generated autogenerated issues that have occurred more than once in a month
Projects
None yet
Development

No branches or pull requests

3 participants