PsychoPy version: 2022.1.3
operating system: Windows 10 Pro 21H2 version
I have a problem similar to this one, an experiment that was running locally without problems on 2021 version of PsychoPy, now works incorrectly on 2022.1.3 (Windows). In that experiment I use the following:
keys = kb.getKeys(keyList=['f', 'j', 'space'], waitRelease=False,
clear=False)
to allow the participant to change dot position. However now every key.duration
is None
even for keys that were released.
Maybe related, I get âloaded more than 1 DLLâ warning when I start the experiment:
C:\Program Files\PsychoPy\lib\site-packages\numpy\_distributor_init.py:30: UserWarning: loaded more than 1 DLL from .libs:
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. https://www.pygame.org/contribute.html
1.4849 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).
6.5197 WARNING User requested fullscreen with size [1536 864], but screen is actually [3840, 1080]. Using actual size
C:\Program Files\PsychoPy\lib\site-packages\numpy\_distributor_init.py:30: UserWarning: loaded more than 1 DLL from .libs:
C:\Program Files\PsychoPy\lib\site-packages\numpy\.libs\libopenblas.PYQHXLVVQ7VESDPUVUADXEVJOBGHJPAY.gfortran-win_amd64.dll
C:\Program Files\PsychoPy\lib\site-packages\numpy\.libs\libopenblas.XWYDX2IKJW2NMTWSFYNGFUWKQU3LYTCZ.gfortran-win_amd64.dll
warnings.warn("loaded more than 1 DLL from .libs:"
C:\Program Files\PsychoPy\lib\site-packages\numpy\.libs\libopenblas.PYQHXLVVQ7VESDPUVUADXEVJOBGHJPAY.gfortran-win_amd64.dll
C:\Program Files\PsychoPy\lib\site-packages\numpy\.libs\libopenblas.XWYDX2IKJW2NMTWSFYNGFUWKQU3LYTCZ.gfortran-win_amd64.dll
warnings.warn("loaded more than 1 DLL from .libs:"
1.0360 WARNING Monitor specification not found. Creating a temporary one...
ioHub Server Process Completed With Code: 0
################# Experiment ended with exit code 0 [pid:5656] #################
I also get this error when opening PsychoPy GUI (this started just after uninstalling 2021 version and installing the 2022):
I says âcould not find point of entry for procedure ?PyWinObjectâŚ@Z in library C:\UsersâŚâ.
I find it weird that it mentiones anaconda python distribution, I installed psychoPy from the standalone installerâŚ
Update1: the minimal example of the procedure works well on 2021.2.3
. I will try the 2022 version on another computer later today.
Update2: fortunatelly, it works online when using .getEvents()
and checking KeyEvent.status for 'KEY_DOWN'
and 'KEY_UP'