When I try to sync my PscyhoPy experiment (Which runs fine), with my Pavlovia account, an ‘initialising experiment’ page comes up once I run the experiment. There seems to be an issue in converting Python to Java script. Whilst the console does tell me which lines of code need fixing, for me it is like finding a needle in a haystack. I have 0 experience in JS or any other language for that matter. Could one of you fine folk help me out with where I am going wrong and what I need to change?
P.s. I coded a qualtrics link at the end of my experiment, it was after this that the experiment stopped working on Pavlovia. Perhaps that could also be the problem?
If it gets past initialising experiment without the Qualtrics link then you probably have a syntax error in that. Please paste it here.
Otherwise (and probably anyway), please take a look at my crib sheet (see pinned post in online).
Thank you for your help. I am currently checking the crib sheet. The experiment worked online up until I added the code component. When I now remove it, it still does not work.
Not sure if this is the link you would need. However, I have been tearing my hear out recently trying to debug the code with no knowledge of JS or Python. Any help really would be massively appreciated.
This tutorial might help; it shows you how to find a syntax error. Thomas Pronk / tutorial_js_syntax_error · GitLab