White screen when I run experiment in browser

URL of experiment: Test exp1 [PsychoPy]

Description of the problem:
I have an experiment that I try to run online, but it only shows a white screen. I tried both with Pilot and Run, same thing happens.
The experiement has 5 images in TIFF format they are 38 MB.

I did a quick test on Pavlovia and it appears that TIFFs are not supported (as they were blank). JPEGs, PNGs work fine, so try change the tiffs to jpgs or pngs and see.
Cheers,
Colin

Hi Colin,
Thank you very much. I tried to change the images to png, but it is still not working online, I only get a blank screen.

When I tried to press “Sync with web project” I got this error message:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1369, in onPavloviaSync
self.fileExport(htmlPath=htmlPath)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 804, in fileExport
self.generateScript(experimentPath=exportPath,
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 71, in generateScript
compileScript(infile=exp, version=None, outfile=filename)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 245, in compileScript
_makeTarget(thisExp, outfile, targetOutput)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 217, in makeTarget
script = thisExp.writeScript(outfile, target=targetOutput, modular=True)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\experiment_experiment.py”, line 286, in writeScript
self_copy.settings.writeInitCodeJS(script, self_copy.psychopyVersion,
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\experiment\components\settings_init
.py", line 857, in writeInitCodeJS
with open(os.path.join(folder, “index.html”), ‘wb’) as html:
PermissionError: [Errno 13] Permission denied: ‘C:\Test exp1\index.html’

Hi Helga, I’m sorry that didn’t work for you. I’m new to PsychoPy and Pavlovia, so I might not be able to assist. It does look like your issue might be a permission error and looks very similar to this one here . Have a look at this, as there was a solution for I.James’s issue.
Cheers,
Colin

OK, thank you! I will try to do what I.James did.

Yes, your error message suggests that you have created an experiment folder in the root of your C: drive, instead of in your documents folder.

Thank you Wakecarter. I tried to put it in documents folder, when I put it online it opens a browser saying 403 Forbidden.
Next I tried the update button and this error message came up:

          Traceback (most recent call last):
            File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py", line 1369, in onPavloviaSync
              self.fileExport(htmlPath=htmlPath)
            File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py", line 804, in fileExport
              self.generateScript(experimentPath=exportPath,
            File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py", line 71, in generateScript
              compileScript(infile=exp, version=None, outfile=filename)
            File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py", line 245, in compileScript
              _makeTarget(thisExp, outfile, targetOutput)
            File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py", line 217, in _makeTarget
              script = thisExp.writeScript(outfile, target=targetOutput, modular=True)
            File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\experiment\_experiment.py", line 286, in writeScript
              self_copy.settings.writeInitCodeJS(script, self_copy.psychopyVersion,
            File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\experiment\components\settings\__init__.py", line 857, in writeInitCodeJS
              with open(os.path.join(folder, "index.html"), 'wb') as html:
          PermissionError: [Errno 13] Permission denied: 'C:\\Users\\hwa\\Documents\\onlineExp\\index.html'

Please could you clarify exactly what steps you are taking.

Are you opening Builder and pressing the Sync button?

If there are already files on Gitlab, are you searching for them from Builder and then syncing them to a new folder?

https://psychopy.org/online/index.html

Ok, thank you. The problem was the gitlab key, but I can’t install it. I can’t get the xclip package to my ubuntu, meaning that I don’t get the key.