# Pavlovia- error while logging data

**URL:** <https://discourse.psychopy.org/t/pavlovia-error-while-logging-data/43974>\
**Category:** Online experiments\
**Created:** [February 20, 2025, 8:04am UTC](https://discourse.psychopy.org/t/pavlovia-error-while-logging-data/43974 "2025-02-20T08:04:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tahiti](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/tahiti/32/44327_2.png) [@Tahiti](https://discourse.psychopy.org/u/Tahiti)\
**Post date:** [February 20, 2025, 8:04am UTC](https://discourse.psychopy.org/t/pavlovia-error-while-logging-data/43974/1 "2025-02-20T08:04:56Z")

</div>

one of my participants sent me an image of an error message he encountered AFTER completing the experiment. But for the same experiment another partcipant performed there was no such error.The data was correctly logged in a csv file for the partcipant who got the error message. However, usually a log file also gets saved (for the previous participant both the files got saved). The data was fine But I am not sure why this error message was displayed

 ![Pavlovia error](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/5/1/510ce9444647b0eaece1f478631f71dddf93ef44.jpeg)

---

<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:** [February 20, 2025, 8:56am UTC](https://discourse.psychopy.org/t/pavlovia-error-while-logging-data/43974/2 "2025-02-20T08:56:23Z")

</div>

Do you have any code in End Experiment?

Does your experiment end on an embedded survey or redirect to another survey or experiment?

It’s possible it was a server or connectivity glitch.

---

<div class="post-metadata">

**Author:** ![Tahiti](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/tahiti/32/44327_2.png) [@Tahiti](https://discourse.psychopy.org/u/Tahiti)\
**Post date:** [February 20, 2025, 9:13am UTC](https://discourse.psychopy.org/t/pavlovia-error-while-logging-data/43974/3 "2025-02-20T09:13:42Z")

</div>

Not really, the end experiment has one print command which I was using for debugging, but I didn’t think there was any need to remove it. Only one print command, that’s it. And my experiment does not redirect to another survey

---

<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:** [February 20, 2025, 9:24am UTC](https://discourse.psychopy.org/t/pavlovia-error-while-logging-data/43974/4 "2025-02-20T09:24:01Z")

</div>

In that case a network glitch seems most likely, especially if the log files are very large. Please post on this thread if it happens again.

---

<div class="post-metadata">

**Author:** ![Tahiti](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/tahiti/32/44327_2.png) [@Tahiti](https://discourse.psychopy.org/u/Tahiti)\
**Post date:** [February 20, 2025, 4:32pm UTC](https://discourse.psychopy.org/t/pavlovia-error-while-logging-data/43974/5 "2025-02-20T16:32:04Z")

</div>

This error happened again for another participant. The csv file got saved, not the log file. This experiment has been performed by another participant as well, there was no error in that case. I asked Cha GPT just in case: \* PsychoPy only generates log files when the logging level is set to **“EXP” (Experiment)** or **“DEBUG”**. If set to **“WARNING”** or **“ERROR”** , logs might not be created.- Could this be the issue I am not sure
