| Reference | Downloads | Github

thisExp.nextEntry() syntax error

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): v2021.1.4
Standard Standalone? (y/n) If not then what?: yes
What are you trying to achieve?:
I keep getting an error when I try to run that says this following "thisExp.nextEntry() ^ syntax error: invalid syntax. I am running an experiment using an eyetracker (hence Pylink and the Eyelink code). I don’t know if that’s related at all.

What did you try to make it work?:
I’m not quite sure what to do because I can’t find anywhere in my experiment where I’ve written this code, nor do I know what it’s doing… so I’m not sure where to remove it from. A cursory search online did not seem to yield much luck.

That code is inserted at the end of each loop, so I suspect that your syntax error is in the last line of bespoke code or the first in one of your loops.

Sorry- just as a point of clarification- what is bespoke code?

By bespoke code I mean code components or code inserted into the parameters of other components.