# Pavlovia randomly switching to gz files instead of csv

**URL:** <https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983>\
**Category:** Online experiments\
**Created:** [March 14, 2022, 6:41pm UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983 "2022-03-14T18:41:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevcaru](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/trevcaru/32/13762_2.png) [@trevcaru](https://discourse.psychopy.org/u/trevcaru)\
**Post date:** [March 14, 2022, 6:41pm UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983/1 "2022-03-14T18:41:57Z")

</div>

Description of the problem:

Hello, i ran some subjects this morning on Prolific. I downloaded the data from Pavlovia. Everything worked great. I added more subjects to the study (no changes to the experiment) and now there are only gz files for the new subjects. Please advise. Thank you.

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [March 14, 2022, 6:58pm UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983/2 "2022-03-14T18:58:55Z")

</div>

I believe you will find that you have switched to database from CSV.

---

<div class="post-metadata">

**Author:** ![trevcaru](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/trevcaru/32/13762_2.png) [@trevcaru](https://discourse.psychopy.org/u/trevcaru)\
**Post date:** [March 14, 2022, 7:03pm UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983/3 "2022-03-14T19:03:03Z")

</div>

I have not. I double checked this; refreshed page (to be sure), etc.

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [March 14, 2022, 7:26pm UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983/4 "2022-03-14T19:26:13Z")

</div>

Please check that csv file (trial by trial) is ticked in Experiment settings / Data.

What version of PsychoPy are you using?

---

<div class="post-metadata">

**Author:** ![trevcaru](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/trevcaru/32/13762_2.png) [@trevcaru](https://discourse.psychopy.org/u/trevcaru)\
**Post date:** [March 14, 2022, 8:07pm UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983/5 "2022-03-14T20:07:18Z")

</div>

I am using v2022.1.1 .  
Yes, ‘csv, trial by trial’ is ticked.

Strangely, all i did was add another 2 subjecst to the experiment, and the newer ones were .gz files.

I re-synced, clicked DATABASE and then back to CSV on the experiment page (Pavlovia), refreshed, double checked the links in Prolific and ran another subject. I will report back, once i get the results. Thanks.

---

<div class="post-metadata">

**Author:** ![trevcaru](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/trevcaru/32/13762_2.png) [@trevcaru](https://discourse.psychopy.org/u/trevcaru)\
**Post date:** [March 14, 2022, 8:20pm UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983/6 "2022-03-14T20:20:44Z")

</div>

Appears to be working. Thanks.

---

<div class="post-metadata">

**Author:** ![trevcaru](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/trevcaru/32/13762_2.png) [@trevcaru](https://discourse.psychopy.org/u/trevcaru)\
**Post date:** [March 14, 2022, 8:36pm UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983/7 "2022-03-14T20:36:16Z")

</div>

So, now that I have these gz files, is there a simple way of converting them to the same format as the other csv files? I looked around and information is sparse.

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [March 14, 2022, 9:03pm UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983/8 "2022-03-14T21:03:05Z")

</div>

There’s a Python file for extracting data from log files (which the gz files will become if your decompress them using something like WinZip). However, this isn’t something I’m experienced with.

---

<div class="post-metadata">

**Author:** ![trevcaru](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/trevcaru/32/13762_2.png) [@trevcaru](https://discourse.psychopy.org/u/trevcaru)\
**Post date:** [March 15, 2022, 10:20am UTC](https://discourse.psychopy.org/t/pavlovia-randomly-switching-to-gz-files-instead-of-csv/27983/9 "2022-03-15T10:20:13Z")

</div>

11 more data files had the same issue; this time it was all within the same study, while ~50 other subject data saved as the csv files.
