OS : OSX 10.15.6 (Mac air)
PsychoPy version (e.g. 1.84.x): c2020.2.10
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?: I’m new to psychopy and am just trying to run a demo experiment (stroop) and/or making a simple Posner task based on youtube tute.
What did you try to make it work?:
I opened the demo stroop task, and ran experiment. I also followed steps of tute to create a Posner task and ran.
What specifically went wrong when you tried that?:
The experiment seems to load, and after I enter participant ID, it opens a screen and immediately crashes.
Here is the error code:
Generating PsychoPy script…
Running: /Users/robinlaycock/Documents/Research/Supervising projects/RMIT students/Honours/Honours 2021/Concussion and vision/psychopy experiment/Posner task/Posner task_lastrun.py
6696.9647 INFO Loaded monitor calibration from [‘2020_05_26 09:34’]
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.
0.3293 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).
2021-01-11 13:05:58.865 python[2960:90920] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
Traceback (most recent call last):
File “/Users/robinlaycock/Documents/Research/Supervising projects/RMIT students/Honours/Honours 2021/Concussion and vision/psychopy experiment/Posner task/Posner task_lastrun.py”, line 132, in
target.setPos((target_x, 0))
AttributeError: ‘str’ object has no attribute ‘setPos’