Description of the problem: My online experiment is stuck on the ‘initializing experiment’ screen. I believe that this is caused by a syntax error in the JavaScript, as shown in the error message.
Would someone please be able to help me work out where the syntax error is in my code?
Open up the two files in your html folder (you will need to open these files in some kind of text editor–I like TextWrangler). The code will be labeled with line numbers. Look for the lines of code indexed in your error messages–it looks like you have one error on line 3191 in the file named “newcarExp2.js” and one error on line 3200 in the file named “newcarExp2-legacy-browsers.js”. From there, you can google the issue found in that line of code.
Be sure to check out this google doc, which has lots of known errors when converting psychopy files to java.
Thank you for your reply. I downloaded a text editor that would let me view the line numbers. Line 3191 in ‘newcarExp2.js’ and line 3200 in ‘newcarExp2-legacy-browsers.js’ appear to be the last lines in each file (both lines are blank).