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 77056 column 14 (char 1232354) #792

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

Comments

@alexpiet
Copy link
Collaborator

This issue was automatically generated from GUI logs.

file: Foraging.py
function: exception_hook
line 4746
logfile: W10DT713669/W10DT713669-A_gui_log_2024-10-16_12-13-59.txt
boxes: ephys1
count: 6
text: FATAL:json.decoder.JSONDecodeError: Expecting ',' delimiter: line 77056 column 14 (char 1232354)


Log context

12:14:20 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1874:processing parameter changes
12:14:20 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightLickTime', 1365627.653536, '127.0.0.1', 4003]
12:14:20 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/LeftLickTime', 1365627.69744, '127.0.0.1', 4003]
12:14:20 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1874:processing parameter changes
12:14:20 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1874:processing parameter changes
12:14:21 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1874:processing parameter changes
12:14:21 PM:INFO:rigcontrol:rigcontrol.py:msg_handler:line 56:['/RightLickTime', 1365628.91216, '127.0.0.1', 4003]
12:14:24 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1874:processing parameter changes
12:14:33 PM:INFO:Foraging:Foraging.py:_StopCurrentSession:line 3624:Stopping current trials
12:14:36 PM:INFO:Foraging:Foraging.py:_Open:line 2969:Quick load success: D:\dynamic-foraging\323_EPHYS1\739970\behavior_739970_2024-10-15_10-04-19\behavior\739970_2024-10-15_10-04-19.json
12:14:36 PM:INFO:Foraging:Foraging.py:_NewSession:line 3534:New Session pressed
12:14:36 PM:INFO:Foraging:Foraging.py:_NewSession:line 3566:Resetting session run flag
12:14:36 PM:INFO:Foraging:Foraging.py:_NewSession:line 3608:New Session complete
12:14:36 PM:ERROR:Foraging:Foraging.py:exception_hook:line 4746:FATAL ERROR: 
Traceback (most recent call last):
  File "C:\Users\svc_aind_ephys\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2840, in _OpenLast
    self._Open(open_last=True)
  File "C:\Users\svc_aind_ephys\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 2994, in _Open
    Obj = json.loads(f.read())
          ^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\svc_aind_ephys\.conda\envs\Foraging\Lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\svc_aind_ephys\.conda\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_ephys\.conda\envs\Foraging\Lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
               ^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 77056 column 14 (char 1232354)
@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