Experiment stuck on initializing

URL of experiment: openIAT [PsychoPy]

Description of the problem: My code runs fine in PsychoPy but it gets stuck on the initializing experiment screen when I pilot in Pavlovia. I’ve gone through the forum and tried a few different things but still can’t figure it out. There are no console errors when I pilot.
Thanks in advance.

I just ran it again and received the following browser error:

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

image

I appreciate the tip. I had thought that that may be the issue, but I’m still receiving the same error, even after updating the name, restarting PsychoPy, and piloting again. It’s possible that I’m doing something wrong, but I’m not sure.

I am now receiving a reference error: Os is not defined. The console errors are attached.

What is on row 109 of your JS file?

You shouldn’t be importing “os”.

Also

I’ve changed the os path import line multiple times and just did so again- I was initially changing it in github and not in coder so it wasn’t staying as a permanent change.
re: output path: I have tried this before, but I just deleted the html folder again, edited output path in experiment settings, and I am no longer getting the same error. However, I am now getting the error below:

  • when importing condition: blocks_order1.xlsx
  • when getting the value of resource: blocks_order1.xlsx
  • unknown resource

My console errors are attached.

Thank you again for your help.

My code is now successfully running! I added all of my excel sheets to the additional resources tab under experiment settings → online in PsychoPy and double-checked my .js files for the .os error. Many thanks.
I’m marking this reply as the solution, but wakecarter’s help was what made the final solution possible. If you encounter this issue, walk through each step of this post or check out wakecarter’s crib sheet.

1 Like