[solved] warnings about frame and rgb arguments
Hi Sebastian.
I'm running my code using the pre-release 0.26 and the PsychoPy back-end. Basically, the code shows a clock arm rotation (one arm position for every frame). I have not serious problems with timing etc., however the debug window shows me two type of warning messages:
19.8411 WARNING t of last frame was 298.30ms (=1/3)
19.8759 WARNING t of last frame was 22.03ms (=1/45)
19.9258 WARNING t of last frame was 22.09ms (=1/45)
19.9758 WARNING t of last frame was 22.11ms (=1/45)
20.0258 WARNING Multiple dropped frames have occurred - I'll stop bothering you about them!
and
17.5577 WARNING Use of rgb arguments to stimuli are deprecated. Please use color and colorSpace args instead.
Regarding the second warning message, I don't use rgb arguments in my script, so I don't know why it appears. Regarding the frames time, I noticed that often this warning message doesn't appear the first time I run the code, while it start to appear from the second or third time I run. Moreover, this messages increasingly repeat each time.
Do you have any suggestion? I don't tried it with OpenSesame 0.25 because I need of a psychopy function that is not present in that version.
Thanks in advance.
Andrea
Comments
Hi Andrea,
These warnings are generated by PsychoPy, and appear to be largely harmless. The RGB warning may have to do with the way that OpenSesame invokes the PsychoPy routines. The timestamp errors are somewhat mysterious.
At any rate, I don't believe that you have to worry about these warnings. I've seen them myself, while timing is generally fine. You could consider posting about this on the PsychoPy mailing list, they might be able to explain these messages in more detail: http://groups.google.com/group/psychopy-users?pli=1
Good luck!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Ok, thanks. Aside from these harmless aspects, the 0.26 pre-release seems to work fine for me since now.
Fyi, while working on my own experiment, I came across a way to suppress these annoying warnings. You can add an inline_script at the start of the experiment with the following code in the prepare phase:
From
Cheers!
Check out SigmundAI.eu for our OpenSesame AI assistant!