Source code error--cannot run builder

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): big sur 11.4
PsychoPy version (e.g. 1.84.x): 2021.2.3
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?: run my script

I have no idea why my script is not working. It was the last time I used this script.

The error I receive when trying to run the script is:

File “/Users/troyhouser/Documents/mazeRunner_retrieval_lastrun.py”, line 181, in
texRes=128.0, interpolate=True, depth=0.0)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/image.py”, line 89, in init
self.pos = numpy.array(pos, float)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/tools/attributetools.py”, line 32, in set
newValue = self.func(obj, value)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/basevisual.py”, line 1640, in pos
self.dict[‘pos’] = val2array(value, False, False)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/tools/arraytools.py”, line 188, in val2array
raise ValueError(msg % str(length))
ValueError: Invalid parameter. Single numbers are not accepted. Should be tuple/list/array of length 2

Experiment ended.

I cannot figure out what is wrong from this, any help, as always, is greatly appreciated.

Please could you show any of your lines of code that might be related to this?

Here are my code components.

begin experiment:

nTrials = 0
conditions = [0,0,0,0,0,0,0,0]

begin routine:

if nTrials == 16:
    continueRoutine = False
    trials.finished = True
elif conditions[conditionsCode] == 2:
    continueRoutine = False
else:
    conditions[conditionsCode] += 1
    nTrials += 1

loc1 = [(-0.25, -0.25)];
loc2 = [(0.25, -0.25)];
imageLoc = [loc1, loc2];
shuffle(imageLoc);
option1.pos = imageLoc[0];
option2.pos = imageLoc[1];

Try

loc1 = [-0.25, -0.25]
loc2 = [0.25, -0.25]

The problem was that I did not have anything in the position box in the image component. Thank you!!, as I would not have figured that out without your comment regarding image positions.