Mouse doesn't respond if routine ends on press valid click

Hi everyone!

I want routine ends by clicking on “next” Text component. Nothing happens while running experiment, clicking on any screen position or adding Polygon component behind “next” Text weren’t helpful too.

Switching “End Routine on press” to “any click” helps to terminate routine, but I’m afraid it’s not the expected scenario of procedure.

I also always receive the error “ioHub Server Process Completed With Code: 0”. Not sure if my problem with mouse can be related to it.

I would be very grateful for any help!

My OS is macOS Monterey 12.3, PsychoPy version is 2022.1.2

1 Like

Try calling your clickable polygon something different. I’m wondering whether next is already in use.

Hi! I renamed it to “next1”, didn’t help. I also tried to use Button Component instead of Mouse+Text combination, but Button also is not responsive by some reason :frowning:

Try adding a comma after the name of the clickable stimulus to encourage it to be read as a list

Sorry, no improvement. I asked my friends to run project, it works fine, the problem obviously is on my side. Do you have any ideas what can I do, probably install any modules? Thank you for reply!

This is exactly my issue too. Same OS, so I’m assuming that it might be Mac OS Monterey related. It’s the same on other projects that previously worked with clickables.

EDIT actually, my clickables are images, not polygons. I’ve tried changing the input from ioHub to PsychToobox. I’ve tried all combos of end on click.

Also tried text, button, slider with radio but mouse clicks are not being recognised, let alone recorded.

Hi! So do other components work fine? I have similar issue with button, its not clickable at all

Keyboard responses are fine.
None of the components work with valid click, but with end routine on any click the mouse response works, but there is no data in the .csv for clicked coordinates etc.

Leads me to thinking the origin of the problem is in End routine, or specification of clicakble stimuli and is specific to Mac as someone has logged an issue Slider and button not picking up software-triggered mouse click event · Issue #4786 · psychopy/psychopy · GitHub

Using an older version of Psychopy solved the issue on mac for us. 2021 v2.3 worked

1 Like

Did you download this version or just run project with “use PsychoPy version”?

I did the second and nothing happened again except Module error occuring

ModuleNotFoundError: No module named ‘psychopy.tests’

Hi, did you solve this problem? I met exactly the same issue. :smiling_face_with_tear:

Hi! Just install earlier version of PsychoPy (2021 v2.3)