An odd disconnect between code on computer and on cognition.run #1593
Unanswered
ricardojromeu
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @ricardojromeu, I can see that you're getting a console error on the welcome page that you mentioned. The error is happening in the image-keyboard-response plugin below, because the I'm not sure why you're getting this error, because I can see that you have a canvas element on the page with that ID. A few things you can try:
var welcome_to_exp = {
type: 'image-keyboard-response',
stimulus: jar_img_path,
prompt: welcome
}; |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I have an odd problem trying to run my experiment on cognition.run. About a week ago, I could run the entire experiment just fine on it. But, all of a sudden, the experiment becomes unresponsive when it enters on of the conditions. This did not happen before, and worse, when I try running the exact same code on my computer locally, the experiment works as intended.
Originally, I tried to calculate percent correct in the task to display to the participant at the end. The original way I tried doing this did not work, so I tried fixing it. (It seems like) After the attempted fix, I started running into this problem of stopping at the start of one of my conditions. So, naturally, I thought maybe I did something wrong in my attempt to fix the percent correct problem. But even when I took that part of the code out, I still ran into the same problem. In other words, even when I had my code as it was a couple weeks ago, I still get the problem and I'm not sure why. (And again, this problem doesn't happen when I run the html file on my computer.)
There are 2 conditions in my experiment: A Beliefs Questionnaire and the "Beads and Survey" portion of the experiment. When the experiment starts with the Beads and Survey, it shows the first introduction slide and then does not respond (i.e., pressing any key does not advance the slides as it should). I can't for the life of me figure out what's going wrong.
Here's the link to the experiment as of March 1st 2021: https://zg7fwrtokt.cognition.run
Of course, any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions