data_logger stops with a traceback if its CSV is open in Excel
Los mantenedores suelen responder en 4 días
@jmacd867 ya está trabajando en esto.
Desde el 30/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 4
- Forks
- 9
- Merge medio
- 5 d 13 h
- PR fusionados (30 d)
- 13
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de oss-slu/PilotDataSynchronization
-
area:docs area:xplane-plugin documentation needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
oss-slu/PilotDataSynchronization#259 ·
Los mantenedores suelen responder en 4 días
-
Connect TCP with an invalid address is silent in the event logPosiblemente ocupada @PRINCEKK122 la tomó hace 16 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
oss-slu/PilotDataSynchronization#241 ·
Los mantenedores suelen responder en 4 días
-
cluster_pilots.py shows a traceback for a bad --k and leaves outputs when --truth is invalidAbiertoarea:ml bug python
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
oss-slu/PilotDataSynchronization#232 ·
Los mantenedores suelen responder en 4 días
-
area:docs area:ml area:relay documentation needs-triage
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
oss-slu/PilotDataSynchronization#264 ·
Los mantenedores suelen responder en 4 días
-
area:xplane-plugin enhancement needs-triage rust
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
oss-slu/PilotDataSynchronization#262 ·
Los mantenedores suelen responder en 4 días
Todos los issues de oss-slu/PilotDataSynchronization
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
could docs good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
README em inglêsAbiertogood first issue help wanted priority:p2 type:docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
lucacasanova/homedeck#122 ·
-
needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
bherbruck/solvecraft#11729 · 1 comentario · 1 reacción ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día