Load image on cognition.run #2290
Replies: 2 comments 4 replies
-
Hi @ChongZhao-neuro, this is tricky to solve without looking at the code and seeing what's happening in the browser. Would you be willing to share a link to your experiment please? Or if you don't want to mess up your data collection, could you maybe clone the study or create a basic demo that reproduces the problem? |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm experiencing a similar problem, that is, preloading the stimulus files takes very long and eventually fails, although there were no issues with the experiment up to a few days ago and the code has not been changed at any point. Also, in my case, using jspsych 6.3.0 instead of 6.3.1 (the version that I have been using) does not really change things. What does seem to change things is opening up the experiment on Firefox rather than Chrome, my default browser. There, the issue arises less often (but it still does arise sometimes). I didn't test other browsers. In general, though, Cognition seems to run slower these days. Any idea what may be happening? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@javidalpe Thanks for creating cognition.run- I have created several experiments that involved the usage of "canvas-keyboard-response" and "image-keyboard-response" plus-ins. Prior to this weekend, our experiments seem to load pictures properly. However, I discovered today that all of my experiments involving these two plus-ins suddenly had issues loading the pictures.
The issue was there only when pictures were loaded, but not when we just have simple letters or background canvas using the plug-in.
I tried jspsych 6.1/6.2/6.3. Prior to this weekend everything seems to work properly on every of the three versions. However, now the pictures just won't load no matter which version we used.
My suspicion was that the upgrade from jspsych 6 to 7 last week may change some aspects of how the platform handles these plug-ins... I also tried to use preload to load images and then the page just stuck there forever... This never happened before either.
Thanks again for creating the platform and looking forward to your response!
Beta Was this translation helpful? Give feedback.
All reactions