We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue was automatically generated from GUI logs.file: Foraging.pyfunction: exception_hookline 4769logfile: W10DT714674/W10DT714674-D_gui_log_2024-12-04_11-41-15.txtboxes: 6Dcount: 2text: FATAL:json.decoder.JSONDecodeError: Expecting ',' delimiter: line 183817 column 10 (char 2868946)
11:42:35 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3428:Checking that photometry is not running 11:42:35 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3438:Photometry excitation stopped 11:42:35 AM:INFO:Foraging:Foraging.py:_NewSession:line 3561:New Session complete 11:42:35 AM:ERROR:Foraging:Foraging.py:exception_hook:line 4769:FATAL ERROR: Traceback (most recent call last): File "C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2819, in _OpenLast self._Open(open_last=True) File "C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2973, in _Open Obj = json.loads(f.read()) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\svc_aind_behavior\AppData\Local\miniconda3\envs\Foraging\Lib\json\__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\svc_aind_behavior\AppData\Local\miniconda3\envs\Foraging\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\svc_aind_behavior\AppData\Local\miniconda3\envs\Foraging\Lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting ',' delimiter: line 183817 column 10 (char 2868946)
11:41:15 AM:INFO:Foraging:Foraging.py:start_gui_log_file:line 4661:Starting logfile! 11:41:15 AM:INFO:Foraging:Foraging.py:log_git_hash:line 4672:Python version: 3.11.9 | packaged by Anaconda, Inc. | (main, Apr 19 2024, 16:40:41) [MSC v.1916 64 bit (AMD64)] 11:41:15 AM:INFO:Foraging:Foraging.py:log_git_hash:line 4689:Current git commit branch, hash: main, 1a7c9d3d1aa10284caed44ba9b223c6bfbb8ff5f 11:41:15 AM:INFO:Foraging:Foraging.py:log_git_hash:line 4693:Current foraging_gui version: 1.6.10 11:41:15 AM:WARNING:Foraging:Foraging.py:log_git_hash:line 4703:local repository is clean 11:41:15 AM:INFO:Foraging:Foraging.py:<module>:line 4804:Setting QApplication attributes 11:41:15 AM:INFO:Foraging:Foraging.py:<module>:line 4812:Starting QApplication and Window 11:41:15 AM:INFO:Foraging:Foraging.py:__init__:line 69:Creating Window 11:41:15 AM:INFO:Foraging:Foraging.py:_GetSettings:line 1174:Loaded settings_box file 11:41:15 AM:INFO:Foraging:Foraging.py:_GetSettings:line 1202:Loaded settings file 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (FIP_settings), using default: C:\Users\svc_aind_behavior\Documents\FIPSettings 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (bonsai_config_path), using default: C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\bonsai\Bonsai.config 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (metadata_dialog_folder), using default: C:\Users\svc_aind_behavior\Documents\ForagingSettings\metadata_dialog\ 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (rig_metadata_folder), using default: C:\Users\svc_aind_behavior\Documents\ForagingSettings\rig_metadata\ 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (project_info_file), using default: C:\Users\svc_aind_behavior\Documents\ForagingSettings\Project Name and Funding Source v2.csv 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (schedule_path), using default: Z:\dynamic_foraging\DynamicForagingSchedule.csv 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (go_cue_decibel_box1), using default: 60 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (go_cue_decibel_box2), using default: 60 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (go_cue_decibel_box3), using default: 60 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (lick_spout_distance_box1), using default: 5000 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (lick_spout_distance_box2), using default: 5000 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (lick_spout_distance_box3), using default: 5000 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (lick_spout_distance_box4), using default: 5000 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (name_mapper_file), using default: C:\Users\svc_aind_behavior\Documents\ForagingSettings\name_mapper.json 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (create_rig_metadata), using default: True 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (save_each_trial), using default: True 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (AutomaticUpload), using default: True 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (manifest_flag_dir), using default: C:\Users\svc_aind_behavior\Documents\aind_watchdog_service\manifest 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (auto_engage), using default: True 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (clear_figure_after_save), using default: True 11:41:15 AM:WARNING:Foraging:Foraging.py:_GetSettings:line 1212:Missing setting (add_default_project_name), using default: True 11:41:15 AM:INFO:Foraging:Foraging.py:_LoadSchedule:line 1100:Loaded behavior schedule 11:41:15 AM:INFO:Foraging:Foraging.py:_GetWaterCalibration:line 1064:Loaded Water Calibration 11:41:15 AM:INFO:Foraging:Foraging.py:_load_most_recent_rig_json:line 1534:Found existing rig.json: rig_446-6-D_2024-12-03_12_51_34.json 11:41:15 AM:INFO:RigJsonBuilder:RigJsonBuilder.py:build_rig_json_core:line 60:building rig json 11:41:15 AM:INFO:RigJsonBuilder:RigJsonBuilder.py:build_rig_json_core:line 624:finished building rig json 11:41:15 AM:INFO:RigJsonBuilder:RigJsonBuilder.py:build_rig_json:line 53:Using existing rig json 11:41:15 AM:INFO:Foraging:Foraging.py:_LoadUI:line 275:Using ForagingGUI.ui interface 11:41:15 AM:INFO:Foraging:Foraging.py:__init__:line 119:Setting Window title: 446-6-D 11:41:15 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1371:Trying to connect to already running Bonsai 11:41:15 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1418:connecting to GUI and Bonsai through OSC 11:41:16 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1375:Could not connect: timed out 11:41:16 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1384:Starting Bonsai 11:41:16 AM:INFO:Foraging:Foraging.py:log_subprocess_output:line 4776:BONSAI logging starting 11:41:17 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1418:connecting to GUI and Bonsai through OSC 11:41:18 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1398:Could not connect, total waiting time 0.5 seconds: timed out 11:41:18 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1418:connecting to GUI and Bonsai through OSC 11:41:19 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1398:Could not connect, total waiting time 1.0 seconds: timed out 11:41:20 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1418:connecting to GUI and Bonsai through OSC 11:41:20 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1401:Connected to Bonsai after 1.5 seconds 11:41:20 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1402:Bonsai started successfully 11:41:20 AM:INFO:Foraging:Foraging.py:_ConnectSlims:line 1281:Attempting to connect to Slims 11:41:21 AM:INFO:Foraging:Foraging.py:_ConnectSlims:line 1298:Successfully connected to Slims 11:41:21 AM:WARNING:Dialogs:Dialogs.py:_LoadCalibrationParameters:line 480:could not find water calibration parameters: C:\Users\svc_aind_behavior\Documents\ForagingSettings\WaterCalibrationPar_4.json 11:41:21 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1863:processing parameter changes 11:41:22 AM:INFO:Foraging:Foraging.py:_InitializeMotorStage:line 875:Scanning for newscale stages 11:41:22 AM:INFO:Foraging:Foraging.py:_InitializeMotorStage:line 885:Could not find any instances of NewScale Stage 11:41:22 AM:INFO:Foraging:Foraging.py:_insert_stage_widget:line 255:Inserting Stage Widget 11:41:22 AM:INFO:connection:connection.py:_connect:line 688:Connecting to aibspi(10.128.108.106):2181, use_ssl: False 11:41:22 AM:INFO:client:client.py:_session_callback:line 561:Zookeeper connection established, state: CONNECTED 11:41:22 AM:INFO:connection:connection.py:_connect_attempt:line 655:Closing connection to aibspi:2181 11:41:22 AM:INFO:client:client.py:_session_callback:line 567:Zookeeper session closed, state: CLOSED 11:41:22 AM:INFO:stepper_motor_device:stepper_motor_device.py:__init__:line 68:Connected to COM6, device id: 1130 11:41:22 AM:INFO:stepper_motor_device:stepper_motor_device.py:load_registers:line 149:Getting available registers on device 11:41:22 AM:INFO:stage_model:stage_model.py:configure_device:line 81:Configuring registers with default values (can be modified in config file) 11:41:22 AM:INFO:move_worker:move_worker.py:goto_origin:line 194:(move to origin): Moving stage to origin 11:41:22 AM:INFO:move_worker:move_worker.py:move_relative:line 336:(move relative): Moved motors by steps specified in [0, -27200, -27200, 0] 11:41:25 AM:INFO:move_worker:move_worker.py:move_relative:line 336:(move relative): Moved motors by steps specified in [-27200, 0, 0, 0] 11:41:27 AM:INFO:move_worker:move_worker.py:move_relative:line 336:(move relative): Moved motors by steps specified in [0, 0, 0, -27200] 11:41:29 AM:INFO:stage_model:stage_model.py:configure_device:line 87:Zeroed all motor positions 11:41:29 AM:INFO:stage_model:stage_model.py:configure_device:line 88:Finished configuring stepper motor device ############################################################# 11:41:29 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3428:Checking that photometry is not running 11:41:29 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3438:Photometry excitation stopped 11:41:29 AM:INFO:Foraging:Foraging.py:_load_most_recent_rig_json:line 1534:Found existing rig.json: rig_446-6-D_2024-12-03_12_51_34.json 11:41:29 AM:INFO:Foraging:Foraging.py:_ReconnectBonsai:line 971:attempting to close bonsai connection 11:41:29 AM:INFO:Foraging:Foraging.py:_ReconnectBonsai:line 979:bonsai connection closed 11:41:29 AM:INFO:Foraging:Foraging.py:_ReconnectBonsai:line 981:attempting to restart bonsai 11:41:29 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1371:Trying to connect to already running Bonsai 11:41:29 AM:INFO:Foraging:Foraging.py:_ConnectOSC:line 1418:connecting to GUI and Bonsai through OSC 11:41:30 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1378:Connected to already running Bonsai 11:41:30 AM:INFO:Foraging:Foraging.py:_InitializeBonsai:line 1379:Bonsai started successfully 11:41:30 AM:INFO:Foraging:Foraging.py:__init__:line 219:Start up complete 11:41:31 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) = 5833 11:41:31 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) = 4352 11:41:32 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/ 11:41:32 AM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_behavior/capsule/scratch/saved_curriculums/ 11:41:32 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/ 11:41:32 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/ 11:41:32 AM:INFO:Dialogs:Dialogs.py:update_auto_train_fields:line 2273:No entry found in df_training_manager for subject_id: 0 11:41:32 AM:INFO:Dialogs:Dialogs.py:_override_curriculum_clicked:line 2621:Override stage clicked: state=2 11:41:32 AM:INFO:Dialogs:Dialogs.py:_update_stage_to_apply:line 2647:Current stage to apply: unknown training stage @unknown curriculum 11:42:31 AM:INFO:Foraging:Foraging.py:_StopCurrentSession:line 3581:Stopping current trials 11:42:35 AM:INFO:Foraging:Foraging.py:_Open:line 2948:Quick load success: C:\behavior_data\446-6-D\749472\behavior_749472_2024-12-02_11-12-54\behavior\749472_2024-12-02_11-12-54.json 11:42:35 AM:INFO:Foraging:Foraging.py:_NewSession:line 3491:New Session pressed 11:42:35 AM:INFO:Foraging:Foraging.py:_NewSession:line 3523:Resetting session run flag 11:42:35 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3428:Checking that photometry is not running 11:42:35 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3438:Photometry excitation stopped 11:42:35 AM:INFO:Foraging:Foraging.py:_NewSession:line 3561:New Session complete 11:42:35 AM:ERROR:Foraging:Foraging.py:exception_hook:line 4769:FATAL ERROR: Traceback (most recent call last): File "C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2819, in _OpenLast self._Open(open_last=True) File "C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2973, in _Open Obj = json.loads(f.read()) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\svc_aind_behavior\AppData\Local\miniconda3\envs\Foraging\Lib\json\__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\svc_aind_behavior\AppData\Local\miniconda3\envs\Foraging\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\svc_aind_behavior\AppData\Local\miniconda3\envs\Foraging\Lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting ',' delimiter: line 183817 column 10 (char 2868946)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This issue was automatically generated from GUI logs.
file: Foraging.py
function: exception_hook
line 4769
logfile: W10DT714674/W10DT714674-D_gui_log_2024-12-04_11-41-15.txt
boxes: 6D
count: 2
text: FATAL:json.decoder.JSONDecodeError: Expecting ',' delimiter: line 183817 column 10 (char 2868946)
GUI Log snippet (click for full log)
Full GUI logThe text was updated successfully, but these errors were encountered: