psychopy.org | Reference | Downloads | Github

PsychoPy 3.1.3 introduces online data saving error

I’m using Builder v. 3.1.3 on Windows 10. I upgraded to 3.1.3 and it seemed to break something about the end of an experiment. Here is a minimal example that is just text and a keyboard component, you can probably elicit the error yourself:

https://pavlovia.org/run/tvickery/testsaving/html/

When you press the space bar to end the program, an error is thrown to the user (" * TypeError: Cannot convert undefined or null to object"). The data file does not save and can’t be located.

Oddly, if you press escape, it exits and saves just fine…

FYI – 3.1.2 was fine. I resolved this for myself by rolling back.

@jon, I think this relates to https://github.com/psychopy/psychopy/pull/2496 - see commit msg.

Thanks for the heads-up. We’ll need to get that fixed ASAP!

For the rolling back solution, note that one thing you can do is fix the version in the experiment settings. If you set the experiment to “Use version” 3.1.2 you can use the existing installation but still have it compile the experiment for other versions (in both Py and JS outputs).

1 Like

@apitiot is this being caused by the change to ExperimentHandler.thisEntry ?

Hello @Timothy_Vickery and @jon,

I have just fixed the issue, which had to do with the previous incarnation of the unversioned library being still heavily in use and my not quite daring to change it before we have widely communicated the fact that people have to use versioned libraries for “production”.

Alain

1 Like