You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The demos/coder/iohub/keyboard.py demo does not receive keyboard events - appears to hang until demo timeout occurs. Initial debugging shows that the iohub keyboard.state property is failing on linux. This means demo's / experiments that use keyboard.getEvents() work, but any that use methods like keyboard.getPresses() currently fail on linux.
Env:
Mint Linux 18
anaconda python 3.6
running latest psychopy master source
The text was updated successfully, but these errors were encountered:
OK, looks like newer versions of msgpack do not support encoding / decoding integer dict keys (see msgpack/msgpack-python#410), which is what is used by the iohub keyboard.state dict. Need to convert int's to str keys for server response.
isolver
changed the title
iohub keyboard.py demo not running on linux
recent versions of msgpack break iohub keyboard.state
Jan 13, 2021
BF: iohub keyboard.state working again. Issue was newer versions of msgpack do not support packing dict objects with int keys. keyboard state now converts dict keys to str on server before sending and then converts back to int on client.
The demos/coder/iohub/keyboard.py demo does not receive keyboard events - appears to hang until demo timeout occurs. Initial debugging shows that the iohub keyboard.state property is failing on linux. This means demo's / experiments that use keyboard.getEvents() work, but any that use methods like keyboard.getPresses() currently fail on linux.
Env:
The text was updated successfully, but these errors were encountered: