ReferenceError: frameDur is not defined

URL of experiment: Sign in · GitLab

Description of the problem: Conditions_Training.xlsx (8.7 KB) MCJ_Multiplicative.psyexp (39.6 KB)

Hey everybody!

Im having the frameDur problem, as previously described in other threads. The issue seems to be the Answer_Training text component which i use to display subjects responses during the test. The component and script is lifted from the textInput example from here and it seems to work when i run it locally. A couple of months ago, it worked fine but i cant get it to work now.

I cant really place where the error is in the code and what i can do to get it to work but as i have understood it from other posts in this subject, there sometimes is an issue with translating the code to JS? When i try to upload a new project i get the error message AttributeError: ‘NoneType’ object has no attribute ‘project’. Could those be related?

I would greatly appreciate any help, since most of my coding is self taught and I have run into the limit of what i can solve by myself! :blush:

Thank you!

Felix

Hi there,

looks like you are missing the variable frame Dur. I tried recompiling your experiment using psychopy v 2020.2.6 and this variable was created - please can you let me know if this works if you regenerate your .js script using a more up to date version?

Thanks,
Becca

Thank you so much! :smiley:

I wasn’t aware that a new version had come out. Once i installed that, the frameDur issue was fixed!

Thanks again!

Felix

wonderful! good to hear :slight_smile: