Description of the problem: I am assisting a student with their project. They were able to upload a working version to Pavlovia, however some participants are now getting the Unspecified JavaScript Error. The issue is it seems random, and occurs across browsers.
The student can run it in Chrome, Brave and IE. Whilst on my PC I can only get it to run on Firefox.
core-2020.2.js:1822 null
window.onerror @ core-2020.2.js:1822
log4javascript.min.js:1
FATAL unknown | null
BrowserConsoleAppender.append @ log4javascript.min.js:1
Failed to load resource: the server responded with a status of 404 ()
Yep. I guess that part of the system for showing the error encountered an error
Before giving you further advice, let me inventorize the background for a bit: have you tried adding console.log statements to your script? I tend to a truckload of those to see what happening. It’s also a nice way to pinpoint where the error is (between the last console.log and the next one you’d expect but didn’t appear). Here are some pointers about console.log and the browser console: https://www.psychopy.org/online/fromBuilder.html#finding-the-problem
I’ll get the student to add some console.log statements and reupload. I have now had a second student come to me with the same error, I wonder if it’s something wrong with how we’re getting them to add the experiment to Pavlovia? Though I am getting them to follow the YouTube tutorial uploaded by PsychoPy.