| Reference | Downloads | Github

Online experiment "Unknown Resource" issue


I’ve just uploaded a simple stimulus-response task
URL of experiment:

Description of the problem:
It works fine on windows 10 (PsychoPy 3.0.5, 32-bit), yet when I try to run it online I encountered this:
It seems that imageSti can’t find image files. I’ve tried solutions from similar topics (putting all image files in the resources folder, making sure there is no SPACE after filename ,etc.)

Can’t figure out what causes the problem.

Any help will be greatly appreciated! Thank you!

Edit 4
It seems that no resource file was ever loaded as the progress bar was totally blank while showing “all resources downloaded”. This is driving me crazy. Don’t know what am I missing.

1 Like

I notice you do not have a html folder holding all of your files. That is usually created for you when Builder exports HTML and create the JS code. Have you manually changed the folder structure? I wonder if there is a problem finding the files due to the unusual directory structure.

Also, you may want to change how size is formatted in your conditions file. I believe that the x,y list will be read as a string, and therefore will not be interpreted correctly. You will be better off having separate x, y columns to represent your sizes, and then change sizes using those column variables in a list. E.g., you have two cols in your conditions file, sizeX and sizeY, and in your stim you set the size to update on every repeat, with the following entry: [sizeX, sizeY] .

Hi @dvbridges , many thanks for your reply. I’ve tried to put all files in a html folder and it works fine now. Please forgive my stupidness😂 Also thank you for the additional tips on conditions file.

I did not sync the project in builder view. As my workplace network somehow keep blocking syncing to, I had to upload project files to github and then imported to gitlab. Clearly I did not upload them in html folder, which caused the problem.

Thanks again for your help!

Hi There,

I am having a similiar problem on the pavlovia platform, however my error is with regards to the use of a .csv file for conditions.

Psychopy version - 3.07
Windows version - 10; 64 bit

Description of the problem :

I have designed a basic trial version of a change blindness flicker task that runs fine on my local Desktop. After uploading & activating on pavlovia to test functionality, the resources load accordingly and the experiment starts. On the first trial I am presented with the following error:

All the required file paths appear in GitLab

Conditions are used in the following way:

  1. Block Select.csv directs the experiment to pick one of four blocks
  2. trial select is used to randomly load individual trials

[see image below]

I have tried changing the file paths to include html\resources but this made no difference.

Any advice would be thoroughly appreciated!

Kind Regards,
Maxwell Murphy

Hi @Max_Murphy, we added a fix for this in PsychoPy 3.1.0. I believe the problem relates to the use of backslash in the JavaScript to find your conditions file. Try changing the path manually to use ‘/’ in condition path in your loop.

Thank you for the prompt reply, I’ll give that a shot, cheers!

I’m having the same problem I tried the solutions above mentioned but it still doesn’t work. By the way, the real name fo my file is ‘1back.xlsx’


Hi all, I am having a similar issue, however I checked and the appropriate .mov files are in the HTML folder. Any suggestions? The experiment code is under adult_goldilocks_exp1 Screen Shot 2020-04-16 at 10.30.36 AM

Check here Movie clip doesn't work

Hi I am facing a similar error with regards to my .csv file and the path includes a ‘/’ but it still won’t work. Can someone help???

Well, let’s try and debug that. Is there anything different about instructionList.csv compared with conditions files normally (given that normally they do load)? Maybe this is defined by a code snippet rather than explicitly named?

No, I have a file that is explicitly named instructionList.csv. All the other .csv and .jpg files required for the experiment are in the html folder on Gitlab. All files do normally load and there seems to be nothing different about the instructions list. In total, there are 2 sets of instructions in the instructionList.csv file. I have it set up such that one set of instructions is randomly administered.

I am having exactly the same problem. No one of the proposed solutions works.


1 Like

I also have the same issue - the experiment is able to load all .bmp files when I run it offline, but only three out of four images when I run it online, with the same error code as others are getting here. All images are in the same place (the main Pavlovia folder) and I also tried reuploading. I can’t see any difference between the images.

Actually scratch that - the image file wasn’t in the html repository. I added and it works now. I don’t fully understand why all images didn’t upload to the same place though.

I am glad for you! However my problem is with uploading the Trials_List.csv file. I have tried to add it to the htlm forlder ( and i any other folder), and still not working.

Have you tried html/resources?

1 Like

BMP files aren’t ideal for online. PNG is probably the best lossless format

Good shout. Francesca, did you try the resources folder? If not, could you try deleting the experiment on Pavlovia and re-uploading? See e.g. Create new experiment from existing file

Hi all,
I managed to solve the problem by uploading resources trough the prompt. For some reason, the sync options doesn’t work properly with me. But more in general I have issues with pychopy when it has to refer to .csv or -xlsx condition files.