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: cannot unpack non-iterable NoneType object #734

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

TypeError: cannot unpack non-iterable NoneType object #734

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: keyPressEvent
line 1751
logfile: W10DT713883/W10DT713883-A_gui_log_2024-09-30_11-22-08.txt
boxes: ephys3
count: 27
text: TypeError: cannot unpack non-iterable NoneType object


Log context

11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: GiveWaterR, 0.03 -> 0.057
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: RightValue, 0.03 -> 0.057
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: LeftValue, 0.03 -> 0.053
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: GiveWaterL, 0.03 -> 0.053
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: GiveWaterR, 0.03 -> 0.057
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: PositionY,  -> 10136.5
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: PositionX,  -> 4605.5
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1820:Changing parameter: PositionZ,  -> 9661.5
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1761:processing parameter changes
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1761:processing parameter changes
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1761:processing parameter changes
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1761:processing parameter changes
11:22:28 AM:INFO:Foraging:Foraging.py:keyPressEvent:line 1761:processing parameter changes
11:22:28 AM:INFO:Foraging:Foraging.py:__init__:line 178:Start up complete
11:22:30 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) = 4341
11:22: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) = 2975
11:22: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_ephys/capsule/scratch/saved_curriculums/
11:22:32 AM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_ephys/capsule/scratch/saved_curriculums/
11:22: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_ephys/.aind_auto_train/curriculum_manager/
11:22:32 AM:INFO:curriculum_manager:curriculum_manager.py:download_curriculums:line 162:Found 26 curriculums in C:\Users\svc_aind_ephys/.aind_auto_train/curriculum_manager/
11:22:32 AM:INFO:Dialogs:Dialogs.py:update_auto_train_fields:line 2355:No entry found in df_training_manager for subject_id: 0
11:22:32 AM:INFO:Dialogs:Dialogs.py:_override_curriculum_clicked:line 2703:Override stage clicked: state=2
11:22:32 AM:INFO:Dialogs:Dialogs.py:_update_stage_to_apply:line 2729:Current stage to apply: unknown training stage @unknown curriculum
12:22:35 PM:ERROR:Foraging:Foraging.py:keyPressEvent:line 1751:Traceback (most recent call last):
  File "C:\Users\svc_aind_ephys\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\Foraging.py", line 1749, in keyPressEvent
    self.current_stage.move_absolute_3d(float(self.PositionX.text()),float(self.PositionY.text()),float(self.PositionZ.text()))
  File "C:\Users\svc_aind_ephys\Documents\GitHub\dynamic-foraging-task\src\foraging_gui\stage.py", line 132, in move_absolute_3d
    xi, yi, zi = self.get_position()
    ^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
@alexpiet
Copy link
Collaborator Author

alexpiet commented Oct 1, 2024

Wont fix because we aren't supporting newscale controllers.

@alexpiet alexpiet added the wontfix This will not be worked on label Oct 1, 2024
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