I am able to run this experiment locally all the way through however when running using Pavlovia I encounter a ReferenceError. I deleted the JS and index files from GitLab and resynced the experiment multiple times. The ReferenceError is happening 4-5 procedures into the experiment with a variable called ‘FocalAttribute’ which isn’t accessed until later. I did not fiddle with any of the JS code and have used only Auto → JS for everything that I have done. Please let me know what else I may provide to help explain this issue further. Thank you in advance!
That did not fix it, unfortunately. FocalAttribute is a parameter from a Condition File later in the experiment. Not sure why it would need to be defined earlier.
I tried both of those. They haven’t worked either. The Error pops up the second the first Condition File is being used. However, that procedure and condition file do not contain FocalAttribute. They both contain FocalCondition, which is completely different.
I am piloting the experiment as I don’t want to use credits yet. I have attached the .psyexp and lastrun.py files to this message. Let me know what you think. Thank you for your support!
Thank you. That fixes that problem. Now, I have issues with using “win.color = ANY_COLOR”. It immediately turns the screen black even when the color is meant to be set to white, lightgray, or anything else. The second I remove the part of the code responsible for changing colors the experiment runs as normal but at the color change it just defaults to black.