Why is OpenSesame skipping the entire experiment when I run it?
Hi everyone
I'm new to OpenSesame. I worked as intended, but then when I added more sketchpads before the loops, it just ran through the two sketchpads (the introduction and instruction) an
d then ended the experiment, without even running through the experiment.
I added a picture of the overview
I'm using the newest version, but I'm uncertain what information you need to help me solve the problem
Bw
Sara
Comments
Hi @TheViuf,
Based on your description, the most likely issue is that there is an error in your program and that this leads to the task stopping prematurely. It is not possible to determine what the problem is based on the information you provided (I see nothing obviously wrong in the structure of the experiment). Here are three general tips that can help you track the origin of the issue:
(1) consult the error messages in OS or in the console. Based on one of the picture you sent, it looks as if there is an error with the way your mouse response is configured or handled. If you read the message in question, you can see that the program fails when preparing for a new mouse response event (preparation of events occurs before the sequence they belong to is executed). Please revisit the way you set up the mouse response properties in your task.
(2) It is useful to use code to output the state of key variables or messages to the console. When problems occur, this can help you determine at when stage of the program exactly things go wrong, or track where variables take on values they should not.
(3) build your task little by little and check it is running as you go. This way, if your task runs fine, you make a addition or a change to the program and then it fails, you know that the problem is related to the change you just made. In your case, the problem emanates from the mouse response object in the trial_sequence that is first called when you run the practice loop. If you only spot the problem now, it suggests that you built the whole task before you tried it. This makes it more difficult to track problems.
Hope this helps!
If you can't solve the issue based on the above, you can also upload your task to this forum so that I or someone else can take a look and see if we can help solve it.
Best,
Fabrice.
Thanks so much! It turned out I had confused the names of two variables. :)