File Load Error Pavolvia

URL of experiment:

Description of the problem: I am getting a file load error for the image titled aliens1.PNG in my experiment. I have read multiple discussions regarding the same problem, and tried changing the name to .PNG instead of .png, tried clearing the cache, and tried piloting the experiment in an incognito tab. Does anyone have any other recommendations on how to fix this error?

Hi There,

I have found this is a specific problem for files with a capitalised PNG extension. I use the attached script to convert the images and then use the newly created images instead. (Make a folder called newIms where the new images will be saved to. ) (570 Bytes)

Hope this helps,

Hi Becca, this worked! Thank you!

Should I be adding something to the crib sheet about avoiding .PNG for PsychoPy 2021 ?

For now let’s say yes whilst we suss out the most appropriate permanent fix!

Hi, we had the same problem with a png file today. Extension not capitalised, not a particularly big file, hard to recreate because it never happened on our computers. By process of elimination it seems to only occur when people are using the browser Safari. Is this likely? For now we will inform participants not to use Safari, and for future experiments stick with jpegs.

Hopping in here to ask about a similar problem: I’m using jpgs in the newest Psychopy version, everything is good on my computer when testing, had 4 other people pilot and it was al good for 3 and then I got the file load error for just one of them. Video called with them and walked them through inspect and in the console it listed a specific jpg it couldn’t get (presumably just the first one it attempted), had her click on that link and it loaded the image in a new tab just fine. Is there an issue if it tries to load to fast? I tried on the same browser again after this issue appeared and had no problem, but she is still seeing the same error after reloading. Is this a “participant needs to update browser” issue? Any other ideas?

I got her to update her browser and try again and it worked fine. So if you have sporadic issues with only certain individuals, they might need to update.