OS: Win11
PsychoPy version: 2024.2.4 Py 3.8
Standard Standalone Installation? yes
Do you want it to also run online? no
What are you trying to achieve?:
My task crashes, with no ERROR indications in the LOG file, when participants respond fast using the mouse.
In the task, participants must identify a picture emotion category with 2 possible polygon/text options, using the mouse.
What did you try to make it work?:
Identify that the cause of the crash is related with how participants respond with the mouse component.
The task do not crash when I perfom a dryrun (I do not use the mouse to give response), or give a response with the mouse at “normal” velocity.
What specifically went wrong when you tried that?:
Specifically, the crash occurs when a “blank” or “pause” routine is going to be reached after a loop of several trials. It even occurs in the “training” section of the experiment, where no “trial” data is stored, or external triggers are sent.
A loop of trials is composed as follows:
Routine 1. Fixation Cross (1 text component) 400ms
Routine 2. Stimuli presentation (1 image component) 700ms
Routine 3. Mouse Response (2 polygons, 2 text, 1 mouse, 1 code component) 1500ms available to respond. After “click” on valid component (polygons), the routine last 200ms after finishing it. In this routine polygons change color on rest/hover/click states as well.Most of this routine is managed from the code component, also identifying which is the correct response.
Routine 4. Blank (1 empty text component) 500ms
repeat the loop by X
After the loop, a “pause”/“goodbye” routine is reached, where participants can rest before starting a new loop of trials, or finishing the task.
How does the LOG files look like?:
1) When the task crashes:
51.3904 | DATA | Mouse: Left button up, pos=(1467,236) |
---|---|---|
51.4902 | DATA | Mouse: Left button down, pos=(1470,236) |
51.6884 | INFO | saved data to C:\path\file.psydat |
51.6946 | INFO | saved data to ‘C:\path\file.csv’ |
2) When the task does not crash:
759.3098 | EXP | poly1: fillColor = ‘lightblue’ |
---|---|---|
759.3098 | EXP | poly2: fillColor = ‘white’ |
759.3100 | DATA | Mouse: Left button down, pos=(860,470) |
759.3154 | EXP | poly1: fillColor = ‘green’ |
759.4155 | DATA | Mouse: Left button up, pos=(860,470) |
759.5209 | EXP | poly1: autoDraw = False |
759.5209 | EXP | poly2: autoDraw = False |
759.5209 | EXP | text_emotion1: autoDraw = False |
759.5209 | EXP | text_emotion2: autoDraw = False |
759.5209 | EXP | text_blank500: autoDraw = True |
760.0096 | EXP | text_blank500: autoDraw = False |
760.0096 | EXP | text_blank500: autoDraw = False |
760.0096 | EXP | text_goodbye: autoDraw = True |
770.0007 | EXP | text_goodbye: autoDraw = False |
770.0007 | EXP | text_goodbye: autoDraw = False |
770.0007 | EXP | Emotion Task: status = STOPPED |
770.2474 | INFO | saved data to ‘C:\path\file.csv’ |
770.2512 | INFO | saved data to C:\path\file.psydat |
Actually I do not know how to solve it. Any suggestion?