IndexError: invalid index to scalar variable

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

OS (e.g. Win10): Mac OS Big Sur 11.2
PsychoPy version (e.g. 1.84.x): 2021 2.1
**Standard Standalone? y

I recently updated to the latest version of Psychopy (hoping it would solve an error I was having) and now I receive this error:

“/Users/lucymckeown/.psychopy3/versions/psychopy/visual/shape.py”, line 608, in _tesselate
if hasattr(newVertices[0][0], ‘iter’):
IndexError: invalid index to scalar variable.

I am using circular stimuli where vertices = 200- is this the source of the problem. I am not purposefully making changes to any of the vertices in my code components.

I have added my experiment file for reference but I can’t feasibly put all of the resources here as I have lots of conditions files:
showCoinFullRand.psyexp (299.5 KB)

This was solved by moving back to the older version of Psychopy (2021.1.4).

Thanks for reporting this issue, we’re working on a solution.

1 Like