OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 3.0.1
Standard Standalone? (y/n) Y
What are you trying to achieve?:
I am working on a modified stroop version. Just before the start of the stimuli, the subject has to keep a specific digit in memory and enter it again after each word of the stroop task.
What did you try to make it work?:
For this purpose I loaded the information about the colour of the stimuli into psychopy and saved them in a list. For a fully random colour (combined with the correct answer) I worked with two tutorials ( PsychoPy Scripting and Randomizing Stimulus Lists -- PsychoPy Tutorial #8 - YouTube & Using Code to Randomize Two Lists of Stimuli within a Single Loop -- PsychoPy Mini Tutorials - YouTube).
The stimulus list is looking like this:
What specifically went wrong when you tried that?:
The experiment is working, until the text object is trying to load in the colour. Itās somehow not working, but in a previous version there is no problem.
Here is the error:
target.setColor(colour[colour_order[cur_colour]], colorSpace='rgb')
AttributeError: ālistā object has no attribute āsetColorā
I used the print command, to see if the list is acutally filled with colours. This is working correct.
The error is still stopping the experiment if the colour is set to white.
Thank you all!