Description of the problem:
My task has a training part and a main experiment part which are very similar in structure. The training phase works ok, but then I get the following error at the beginning of the main experiment loop (‘main_exp_loop’)
TypeError: Converting circular structure to JSON --> starting at object with constructor ‘PsychoJS’ | property ‘_logger’ -> object with constructor ‘Logger’ — property ‘_psychoJS’ closes the circle
Any idea why? The task works fine when tested locally from PsychoPy, but gives me this problem when I pilot it online with Pavlovia.
Dear @SaraCal thanks for flagging, because the gitlab project you link to is no longer active, would it be possible to share a code snippet for me to investigate further if I can? Thanks
Hi @SaraCal, thanks again for sending over the .psyexp file. We are trying to get this fixed, would it please be possible to also give us a sample “psychopy_LIST” .xlsx file? Thanks
It seems like passing in the names of ‘cue1’ and ‘cue2’ when setting opacity for the rest of your stimuli inside of ‘fixation_cueRoutineBegin’ is causing the error.
Could you please try passing in numeric values instead? If your intention is for eg. ‘cue1a_main’ to have the same opacity as ‘cue1’ as a result, you should be able to just use ‘cue1.opacity’ I believe.
I hope that solves the problem, here to help if not.