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

TypeError: 'NoneType' object is not subscriptable #735

Open
alexpiet opened this issue Oct 1, 2024 · 1 comment
Open

TypeError: 'NoneType' object is not subscriptable #735

alexpiet opened this issue Oct 1, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@alexpiet
Copy link
Collaborator

alexpiet commented Oct 1, 2024

This issue was automatically generated from GUI logs.

file: Foraging.py
function: _Open
line 3021
logfile: W10DT713883/W10DT713883-A_gui_log_2024-09-30_12-45-35.txt
boxes: ephys3
count: 1
text: TypeError: 'NoneType' object is not subscriptable


Log context

12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: ITIBeta, 2.0 -> 3.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: ITIMax, 8.0 -> 30.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: Multiplier, 0.8 -> 0.5
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: Unrewarded, 200.0 -> 10.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: Ignored, 100.0 -> 10.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: StopIgnores, 20.0 -> 25.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: RightValue, 0.057 -> 0.037
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: LeftValue, 0.053 -> 0.035
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: MaxTime, 120.0 -> 75.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: RightValue_volume, 3.0 -> 2.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: LeftValue_volume, 3.0 -> 2.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: BlockMax, 60.0 -> 35.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: DelayBeta, 1.0 -> 0.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: DelayMin, 0.0 -> 1.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: ITIBeta, 2.0 -> 3.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: ITIMax, 8.0 -> 30.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: Multiplier, 0.8 -> 0.5
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: Unrewarded, 200.0 -> 10.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: Ignored, 100.0 -> 10.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: StopIgnores, 20.0 -> 25.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: RightValue, 0.057 -> 0.037
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: LeftValue, 0.053 -> 0.035
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: MaxTime, 120.0 -> 75.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: RightValue_volume, 3.0 -> 2.0
12:46:53 PM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: LeftValue_volume, 3.0 -> 2.0
12:46:54 PM:ERROR:Foraging:Foraging.py:_Open:line 3021:Traceback (most recent call last):
  File "C:\Users\svc_aind_ephys\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 3018, in _Open
    self.current_stage.move_absolute_3d(float(last_positions[0]),float(last_positions[1]),float(last_positions[2]))
                                              ~~~~~~~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptable
@alexpiet alexpiet added the wontfix This will not be worked on label Oct 1, 2024
@alexpiet
Copy link
Collaborator Author

alexpiet commented Oct 1, 2024

Wont fix because we are not supporting newscale stages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant