# Need urgent help with recovering data from log files

**URL:** <https://discourse.psychopy.org/t/need-urgent-help-with-recovering-data-from-log-files/33509>\
**Category:** Coding\
**Created:** [February 24, 2023, 11:20am UTC](https://discourse.psychopy.org/t/need-urgent-help-with-recovering-data-from-log-files/33509 "2023-02-24T11:20:04Z")\
**Posts on this page:** 5\
**Page:** 1

<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 24, 2023, 11:20am UTC](https://discourse.psychopy.org/t/need-urgent-help-with-recovering-data-from-log-files/33509/1 "2023-02-24T11:20:04Z")

</div>

I have a student whose dissertation data I need to process. Unfortunately I didn’t check that all the data was being saved, and I’m missing reaction times for both an emotional stroop task and a lexical decision task (and scores for the LDT).

I know I should be able to retrieve the data from the logs files (e.g. using methods described here [Part of reaction time data missing for some participants](https://discourse.psychopy.org/t/part-of-reaction-time-data-missing-for-some-participants/23799)) but it will take me a while. If you think you can do it faster, please get in touch and I’d be more than happy to exchange your services for some online debugging or experiment modification.

The experiment is here: [estroop-ldt [PsychoPy]](https://run.pavlovia.org/Wake/estroop-ldt/)

If you can help me I’ll add you to the repository so you can access the code and log files.

---

<div class="post-metadata">

**Author:** ![Yiannis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yiannis/32/35056_2.png) [@Yiannis](https://discourse.psychopy.org/u/Yiannis)\
**Post date:** [February 24, 2023, 6:53pm UTC](https://discourse.psychopy.org/t/need-urgent-help-with-recovering-data-from-log-files/33509/2 "2023-02-24T18:53:18Z")

</div>

Hi @wakecarter , can you share a sample file with me?

Yiannis

---

<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 24, 2023, 7:32pm UTC](https://discourse.psychopy.org/t/need-urgent-help-with-recovering-data-from-log-files/33509/3 "2023-02-24T19:32:19Z")

</div>

Thanks Yiannis,

I’ve added you (Yiannis\_A) to the repository. I’ll send you a PM.

Cheers,

Wake

---

<div class="post-metadata">

**Author:** ![ali\_alsheikh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/ali_alsheikh/32/37578_2.png) [@ali\_alsheikh](https://discourse.psychopy.org/u/ali_alsheikh)\
**Post date:** [February 27, 2025, 10:14am UTC](https://discourse.psychopy.org/t/need-urgent-help-with-recovering-data-from-log-files/33509/4 "2025-02-27T10:14:09Z")

</div>

hi @wakecarter @Yiannis  
i I’m having a similar issue, but my problem is that **no CSV files were saved** , and I only have **.log files**. Do you think it’s possible to extract the information from the log files or transform the log files into CSV format?

I’m conducting my experiment using **PsychoPy Builder (offline mode)**, and due to a human error of pressing the **ESC** key, I only have **.log files** for some participants, with no CSV files generated. I’ve seen older Python script-based methods, but I’m unsure if they still work with **PsychoPy 2024.1.5**. Any advice on how to proceed would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Yiannis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yiannis/32/35056_2.png) [@Yiannis](https://discourse.psychopy.org/u/Yiannis)\
**Post date:** [February 28, 2025, 10:08am UTC](https://discourse.psychopy.org/t/need-urgent-help-with-recovering-data-from-log-files/33509/5 "2025-02-28T10:08:09Z")

</div>

Perhaps you can modify the script found at [No csv file saved - scrape log file](https://discourse.psychopy.org/t/no-csv-file-saved-scrape-log-file/1973) to suit your needs?
