psychopy.org | Reference | Downloads | Github

No .csv and .psydat-files saved in 6 out of 42 runs → reasons for storing problems?

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 3.2.4
Standard Standalone?: Standalone

What are you trying to achieve?:
stable saving of .psydat and .csv-files

Problem:
I ran an experiment on 6 Windows-Laptops with 42 participants. Everything went fine, no crashes, all sessions ended normally. Yesterday I went to the laboratory to pick up the data and I found, that in 6 out of 42 runs, no .psydat-file and no overall .csv-file (with timing data etc) was created.
Some separated .csv-files for all different blocks of trials were created and one big excel file that contains all data sorted by blocks, but some really important data is not stored there.
On the same computer with the same program, same files etc only different participant-index, in most of the runs everything is fine but sometimes it does not work (and I see no reason for this, this did not occur during testing and development, even if I just have a few trials and then end the program with esc, .scv-files and psydat.files are saved).

Question:
What can I do to solve the issue? I will have further runs and I want to be sure that everything is stored correctly. Are there known instabilities due to some properties of the experiment (I used Builder and started from builder, in the experiment there are many different loops) or the modus of running/quitting?

The user (i.e. experimenter) must not end the experiment by pushing the big red “stop” button. This will force the experiment to end immediately and ungracefully, including aborting any data saving that would occur if the experiment is allowed to terminate naturally. This is usually the source of this problem.

If the experiment is actually terminating abnormally due to a bug (rather than the user forcing it to end), you should see a message informing you about it.