Cannot Use Dotstim (Even in Builder Mode)

Hi Draco and Community,

I have the same problem, I tried to run an RDK in the builder in a Mac and in a PC and in both no stimulus appeared, and I had the same error, that is:

1651.8799 INFO Loaded monitor calibration from [‘2021_04_19 13:13’]
Generating PsychoPy script…

################## Running: /Applications/attempt3_lastrun.py ##################
2021-04-20 11:17:33.176 python[2494:112886] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/f4/lxqw8xks5mdgwwxgf_dc24y00000gp/T/org.opensciencetools.psychopy.savedState
Traceback (most recent call last):
File “/Applications/attempt3_lastrun.py”, line 93, in
depth=0.0)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/contrib/lazy_import.py”, line 120, in call
return obj(*args, **kwargs)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/dot.py”, line 255, in init
self.dotLife = dotLife
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/dot.py”, line 326, in dotLife
self._dotsLife = abs(self.dotLife) * np.random.rand(self.nDots)
File “mtrand.pyx”, line 1169, in numpy.random.mtrand.RandomState.rand
File “mtrand.pyx”, line 423, in numpy.random.mtrand.RandomState.random_sample
File “_common.pyx”, line 270, in numpy.random._common.double_fill
TypeError: ‘float’ object cannot be interpreted as an integer

Experiment ended.

I’m new in Psychopy and I also have no idea of what to do, if someone has any suggestion it would be great! Thank you all

2 Likes