psychopy.org | Reference | Downloads | Github

jsPysch: unable to save data for an experiment that is not RUNNING while piloting

URL of experiment: https://gitlab.pavlovia.org/yarennkoca/nssdemo (not public)

Description of the problem:
I tried to pilot my experiment on Pavlovia however I’m encountering this error at the end of the experiment:

[jspsych-pavlovia plugin 3.0.0] Error

  • when uploading participant’ results for experiment: yarennkoca/nssdemo
  • when saving data from a previously opened session on the server
  • unable to save data for an experiment that is not RUNNING

Is it unable to save data while piloting? Even if so, after completing several sessions, the completed piloting sessions on my dashboard remains 0. It makes me suspect that the experiment is not being completed at all.

However, I would like to note that it runs and ends as I would like to when running it on local, in addition to saving data locally.

If it helps, here is the errors I’m getting on the console;

https://pastebin.com/XF7B6Lmx

Please let me know if you need any additional information. Thank you in advance!

Hello,

As of November, Pavlovia does not save jsPsych data to the server in pilot mode: Pavlovia piloting jsPsych plugin error - how to test that saving is working as expected?

But you could add the code for local saving of a csv to the end of your jsPsych code, as here: https://www.jspsych.org/core_library/jspsych-data/#localsave.

I think this should work for piloting purposes, but obviously you would want actual data collection (in Run mode) to use the CSV or Database feature on Pavlovia.

Hope this helps!

2 Likes

How can I implement local saving for psychojs instead of jspsych?