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

FATAL:json.decoder.JSONDecodeError: Expecting ',' delimiter: line 213480 column 23 (char 3763312) #766

Open
alexpiet opened this issue Oct 8, 2024 · 0 comments
Labels
low priority - auto-generated autogenerated issues that have only occurred once

Comments

@alexpiet
Copy link
Collaborator

alexpiet commented Oct 8, 2024

This issue was automatically generated from GUI logs.

file: Foraging.py
function: exception_hook
line 4728
logfile: W10DT714674/W10DT714674-D_gui_log_2024-10-07_10-53-32.txt
boxes: 6D
count: 2
text: FATAL:json.decoder.JSONDecodeError: Expecting ',' delimiter: line 213480 column 23 (char 3763312)


Log context

10:53:40 AM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_behavior/capsule/scratch/saved_curriculums/
10:53:41 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/
10:53:41 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/
10:53:41 AM:INFO:Dialogs:Dialogs.py:update_auto_train_fields:line 2397:No entry found in df_training_manager for subject_id: 0
10:53:41 AM:INFO:Dialogs:Dialogs.py:_override_curriculum_clicked:line 2745:Override stage clicked: state=2
10:53:41 AM:INFO:Dialogs:Dialogs.py:_update_stage_to_apply:line 2771:Current stage to apply: unknown training stage @unknown curriculum
11:33:01 AM:INFO:Foraging:Foraging.py:_StopCurrentSession:line 3630:Stopping current trials
11:33:06 AM:INFO:Foraging:Foraging.py:_Open:line 2979:Quick load success: C:\behavior_data\446-6-D\731296\behavior_731296_2024-10-07_09-08-21\behavior\731296_2024-10-07_09-08-21.json
11:33:06 AM:INFO:Foraging:Foraging.py:_NewSession:line 3541:New Session pressed
11:33:06 AM:INFO:Foraging:Foraging.py:_NewSession:line 3573:Resetting session run flag
11:33:06 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3475:Checking that photometry is not running
11:33:06 AM:INFO:Foraging:Foraging.py:_StopPhotometry:line 3485:Photometry excitation stopped
11:33:06 AM:INFO:Foraging:Foraging.py:_NewSession:line 3614:New Session complete
11:33:06 AM:ERROR:Foraging:Foraging.py:exception_hook:line 4728:FATAL ERROR: 
Traceback (most recent call last):
  File "C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2850, in _OpenLast
    self._Open(open_last=True)
  File "C:\Users\svc_aind_behavior\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 3004, 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 213480 column 23 (char 3763312)
@ellahiltonvano ellahiltonvano added the low priority - auto-generated autogenerated issues that have only occurred once label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority - auto-generated autogenerated issues that have only occurred once
Projects
None yet
Development

No branches or pull requests

2 participants