psychopy.org | Reference | Downloads | Github

Blank page on the browser as Py3 starts to run the experiment online


#1

Hi,

I’ve uploaded my experiment on Pavlovia and everything worked nicely and smoothly, but as I’ve pressed the “Run on-line” button a blank page resulted on the browser. I didn’t get any error message, so it’s really hard to say what’s going on.
The experiment is this, maybe you can try and see if you get the blank page as well.
I’m currently using PsychoPy3.0.0b11 on a Mac. The browsers I’ve tested the experiment on are Chrome and Safari.
Thanks in advance.


#2

Hi @valeriocori, if you press F12, you can debug your experiment online (at least using Chrome). The message says:

Failed to load resource: the server responded with a status of 404 ()

Although, that is not particularly informative. I managed to get your task working by 1) Changing the filename of the .psyexp file to something without spaces e.g., nuovoEsperimento - its not good practice to use spaces in filenames etc. 2) Go to experiment settings and change the name of the experiment to mathc the filename e.g., nuovoEsperimento - just good practice. Have a go and let me know.


#3

Thank you @dvbridges!! That solved the problem. I’m so happy, I’m finally able to run my experiment online!!
Also, thank you for the good practice advice because I wasn’t paying too much attention while naming the files, from now on I’ll be more careful doing so.


#4

Hi!

I have the same problem. Trying to run my experiment online gives me a blank page.
I’ve double checked the name of my files but there are no spaces or weird symbols on them.
Pressing F12 y get this:
Failed to load resource: the server responded with a status of 404 ()
Tone.min.js:7 * Tone.js r12 *
Beat%20Perception%20Task.js:1 Failed to load resource: the server responded with a status of 404 ()

I’m currently using Psychopy v3.00b13 on Mac and trying to run the experiment online in Chrome and Firefox.
this is the experiment
I know nothing about JS so I’m a bit lost :frowning:

Best.

UPDATE: I’ve found that errors related to Tone.js merges because the browser “require user gestures required to enable web audio api”. Does anyone knows something about this? I’ve tried to add a “press the space bar to listen the stimulus” element in my experiment but the same Tone.js error persists. I have no clue how to fix this. Here is the new link for my experiment: https://pavlovia.org/run/Antonietamtz/goldmsibeatspanish/html/

UPDATE: I build the whole experiment again and the problem is still there. This is what I’ve found about the Tone.js error for Chrome. I don’t know how to fix this :sob: