Hi, I just downloaded PsychoPy and I am currently learning the basics and trying to build simple experiments. However, every time I run experiments, I get to the grey screen of the trials but nothing else appears and I get this error code:
Traceback (most recent call last):
File « /Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/runner/scriptProcess.py », line 120, in whileRunningFile
File « /Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/runner/runner.py », line 510, in onProcessEnded
File « /Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/runner/scriptProcess.py », line 133, in onProcessEnded
AttributeError: ‘NoneType’ object has no attribute ‘stdOut’
378.2032 INFO Loaded monitor calibration from [‘2020_09_14 10:16’]
PsychHID-ERROR: Could not enumerate and attach to all HID devices (HIDBuildDeviceList(0,0) failed)!
PsychHID-ERROR: One reason could be that some HID devices are already exclusively claimed by some 3rd party device drivers
PsychHID-ERROR: or applications. I will now retry to only claim control of a hopefully safe subset of devices like standard
PsychHID-ERROR: keyboards, mice, gamepads and supported USB-DAQ devices and other vendor defined devices and hope this goes better…
PsychHID-INFO: That worked. A subset of regular mouse, keyboard etc. input devices and maybe some vendor defined devices will be available at least.
INTERNAL PSYCHTOOLBOX ERROR
error: PsychError_system
general description: Error reported by a system call
specific description: Failed to create event queue for detecting key press.
module name: PsychHID
subfunction call: KbQueueCreate
file name: ./PsychSourceGL/Source/OSX/PsychHID/PsychHIDStandardInterfaces.c
function name: PsychHIDOSKbQueueCreate
line number: 956
PsychHID:KbQueueCreate: See error message printed above.
2020-09-16 14:50:47.154 python[4139:299371] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
HIDBuildMultiDeviceList: Couldn’t open IOHIDManager.Traceback (most recent call last):
File “/Users/samuelpare/Documents/PhD/Psychophysique/psychopy/seuil_lastrun.py”, line 138, in
if endExpNow or defaultKeyboard.getKeys(keyList=[“escape”]):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/hardware/keyboard.py”, line 221, in getKeys
name = event.getKeys(keyList, modifiers=False, timeStamped=False)
NameError: name ‘event’ is not defined