Dear all,
I’m trying to connect PsychoPy(2020.2.5v) experiment to Pavlovia.
But it seems to have an issue with ‘initialising the experiment…’ (It worked well on local environment).
I saw some topics related to this issue here, but most of them were very specific coding problem.
This is the first project I’ve ever made with the computer language, so unfortunately it’s very tricky to see where to start and how to fix this problem.
Do you have any idea? Thank you for the help in advance.
Unfortunately the issue remains unresolved.
I changed the Experiment Setting -> Use PsychoPy version to 2020.2.4. and made Sync with the web project, but it’s still stuck in ‘initialising the experiment…’ page.
I’m going to share the solution here as soon as I fix this problem.
Thanks again!
Oh thank you so much. I saw your document(the crib sheet) and it’s very helpful to newbies like myself.
Maybe I can ask more specifically after reading your article.
I think that line 333 of the JS file (you can click on the link) will be a text element where you have set it as empty. Try setting any empty text components as a space instead.
I added a space in the text input element as you recommended and finally it works. Thanks a lot
But another issue came up; it’s about file load error(image file named ‘4.jpg’), but there’s no difference with the other file sources in their filename extension, size, and everything.
Are you using Settings/Online/Additional Resources to try to make sure that your image files are available?
This morning I ran into problems with this because the tool insisted on adding …/ to the path, which would have been correct if the experiment was running from the html folder. However, since it was running from the root (I think the default has changed in recent versions or I accidentally deleted it once and it has now propagated across loads of my experiments). The only way I managed to solve the issue was by switching the output path to html and then copying the resources (two video files in my case) to html/resources. It was a frustrating hour because I tried switching it several times (deactivating and reactivating the experiment each time)
Hi wakecarter, thanks for revisiting this issue and I admire your heavy efforts.
I’m not sure that I fully understand your comments including path assignment(local → online resources), but in my case I used basic setting from Pavlovia without changing.
Maybe it’s about the filename extension within the source. I realized when using pavlovia online resource, I should pay extra attention to files’ extension name with small or capital letter(e.g.: .png vs.PNG).