data_logger stops with a traceback if its CSV is open in Excel
Maintainers usually reply within 3 days
@jmacd867 is already working on this.
Since Oct 30, 2026.
Assessment
This issue has not been assessed yet.
Description
Describe the bug
data_logger reopens its CSV for every row (append_row, inference/pilot_inference/capture/data_logger.py:126). Excel locks a CSV it has open against other writers, so if someone opens the session file in Excel during a flight to check that rows are arriving, the next open() raises PermissionError. serve only catches ConnectionError (data_logger.py:177), so the logger stops with a traceback and every later sample is lost.
Found while advising how to watch the CSV during the lab setup session on 2026-10-29; it was not actually triggered. Opening the file in Excel is the first thing most people will try.
Expected behavior
A locked file does not end the recording. Either keep the rows in memory and retry each write, printing once that the file is locked and must be closed, or at the least stop with a one-line message naming the file instead of a traceback.
Additional context
inference/README.md could also say how to watch rows arrive without locking the file: Get-Content <csv> -Wait -Tail 5 in PowerShell.
- Dominant language
- Python
- Stars
- 4
- Forks
- 9
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oss-slu/PilotDataSynchronization
-
area:docs area:xplane-plugin documentation needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oss-slu/PilotDataSynchronization#259 ·
Maintainers usually reply within 3 days
-
Connect TCP with an invalid address is silent in the event logPossibly taken @PRINCEKK122 claimed this 22 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
oss-slu/PilotDataSynchronization#241 ·
Maintainers usually reply within 3 days
-
cluster_pilots.py shows a traceback for a bad --k and leaves outputs when --truth is invalidPossibly taken A pull request linked to this issue is open or already merged. Openarea:ml bug python
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
oss-slu/PilotDataSynchronization#232 ·
Maintainers usually reply within 3 days
-
Document running the Python listener on a second PCPossibly taken @Omanhene20 claimed this 3 days ago. Openarea:docs area:ml area:relay documentation needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 70/100
oss-slu/PilotDataSynchronization#264 · 1 assignee ·
Maintainers usually reply within 3 days
-
baton_debug.log logs every sample, even with nothing connected, and grows without limitPossibly taken @Omanhene20 claimed this 3 days ago. Openarea:xplane-plugin enhancement needs-triage rust
Difficulty 4/5 3-5 days Newbie friendliness 56/100
oss-slu/PilotDataSynchronization#262 · 1 assignee ·
Maintainers usually reply within 3 days
All issues in oss-slu/PilotDataSynchronization
Similar issues
-
`destroy` sans terminal répond « Aborted. » au lieu de réclamer `--yes` comme `clean` et `reset`Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
stephrobert/dsoxlab#354 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
jasonacox/pypowerwall#472 ·
Maintainers usually reply within 1 day
-
[Bug]: DoubleMLRDDData accepts a score_col that is no data column (as in its docstring example); the running variable then becomes a covariate and RDFlex failsPossibly taken @vrjdev claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DoubleML/doubleml-for-py#455 ·
Maintainers usually reply within 1 day
-
[Bug]: Python mod.Box[T] annotation gets a false generic_arg edge that replaces the parameter_type one ('is' on tree-sitter nodes)Possibly taken @rohit-jsfreaky claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Graphify-Labs/graphify#5110 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
assafelovic/gpt-researcher#2277 ·
Maintainers usually reply within 10 days