Skip to content

"Experiment failed to load" error when preloading images on Pavlovia #1230

Answered by becky-gilbert
yarenkoca asked this question in Q&A
Discussion options

You must be logged in to vote

@yarenkoca I think the problem might be that 30 seconds (30k ms) isn't enough time for the preloading to finish, which is what causes the "Experiment failed to load" message. Could you try setting the max_load_time to 5 minutes (300k ms)?

I'm not certain, but the "Cannot read property 'style' of null" console error might be a red herring. There's a bug in v6.1.0 that we're aware of that produces this error in the console but doesn't actually cause problems for the experiment - here's the issue. If you want to get rid of the console error, you can try making the changes to your jspsych.js file that are shown in this pull request. And it turns out those changes didn't entirely get rid of th…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@yarenkoca
Comment options

Comment options

You must be logged in to vote
1 reply
@yarenkoca
Comment options

Answer selected by jodeleeuw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants