self.sleep() in psycho back-end
Description of the problem
It has come to my attention that on some systems the self.sleep() function does not work properly. It does not sleep at all, or for less time than specified.
- This occurs only when the psycho back-end is selected.
- This issue affects only a small number of systems. On those systems, it occurs consistently.
Identification and workaround
I'm not sure what causes the problem, but it is both easy to identify and easy to workaround.
- To see if your system is affected, please run the psycho timing check experiment from http://osdoc.cogsci.nl/miscellaneous/timing. If a high standard deviation is reported, your system is affected.
- To work around the issue, simply use time.sleep() from the Python time module or psychopy.core.wait() instead of self.sleep().
I'm sorry for any inconvenience that this may have caused. This issue has been resolved and is available in recent snapshot of the soon-to-be-released OpenSesame 0.26.
There's much bigger issues in the world, I know. But I first have to take care of the world I know.