psychopy.org | Reference | Downloads | Github

Error While Running OperationspanTask Experiment in the Builder and on Pavlovia

URL of experiment: Sign in · GitLab

Description of the problem: The Experiment Starts, but after the third page I get the error in the Builder, : Hello from the pygame community. Contribute - pygame wiki
3.1159 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use [‘sounddevice’, ‘PTB’, ‘pyo’, ‘pygame’] (in that order).
Traceback (most recent call last):
File “C:\Users\User\OneDrive - rfh-campus.de\Desktop\psychopy müll\der halb funktioniert\Ospan_lastrun.py”, line 1880, in
if mouse.isPressedIn(boxF_2_o) and not mouseDown:
NameError: name ‘mouse’ is not defined

Experiment ended.

Disclaimer I have not learned python yet, I just need this experiment for my Thesis, this experiment is from Jeremy Kirkwood / operation span · GitLab, it looks perfect, but it seems not to work online and not on the builder

hope someone can help me to get this thing run, so I can start writing my thesis, only 1.5 month left

mouse is not defined probably means that you either haven’t called your mouse component mouse or you’ve used mouse to refer to two things.