[MacOS] Recovery fails with IO error: File exists (os error 17) and cannot be retried
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- macos, rust
- Ambito
- desktop, operating-systems
Direzione di ricerca
Start with the attached debug log and trace the desktop recovery flow after fragmented segments are found, focusing on the finalization step that reports OS error 17. Reproduce the failure on macOS, identify the conflicting file-handling condition, and verify that recovery succeeds or reports a meaningful error without deleting the original recording.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
After a recording unexpectedly enters the recovery state, attempting to recover it consistently fails with:
IO error: File exists (os error 17)
The error is reproducible on every recovery attempt. Restarting the recovery process does not help, and the recording remains unrecoverable through the UI.
The debug log shows that the recording pipeline finishes successfully, but finalization fails afterward:
Found 1 fragmented segments in "...cap" with estimated duration 0ns
Failed to finalize fragmented recording: Failed to finalize recording: IO error: File exists (os error 17)
This appears to be an internal file-handling or finalization issue. The recovery process may be attempting to create a file that already exists, but the exact conflicting path is unclear.
Expected behavior:
- Recovery should successfully finalize the recording, or provide a meaningful error identifying the underlying problem.
- Repeated recovery attempts should not get permanently stuck on the same error.
- The original recording data should be preserved when recovery fails.
Actual behavior:
- Recovery repeatedly fails with the same File exists error.
- The only apparent alternative is Discard, which permanently deletes the recording.
Reproduction
- Record the screen for an extended period (approximately 30 minutes in my case).
- Let the recording finish.
- When Cap enters the recovery state, attempt to recover the recording.
- Recovery fails with IO error: File exists (os error 17).
- Retry recovery — the same error occurs again.
- The recording cannot be recovered through the UI.
Additional Context
Cap version: 0.6.0
Operating system, version: macOS 26.2 (25C56)
Device: MacBook Pro M1 Pro, 16 GB RAM
The recording was approximately 30 minutes long.
- Lingua principale
- Rust
- Stelle
- 23k
- Fork
- 2k
- Merge medio
- 10h 41m
- PR unite (30g)
- 89
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CapSoftware/Cap
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CapSoftware/Cap#2384 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Dashboard pagination causes full page reloads on self-hosted CapForse già presa @Dewin l’ha presa 16 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
CapSoftware/Cap#2305 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CapSoftware/Cap#1714 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
CapSoftware/Cap#2409 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 64/100
CapSoftware/Cap#2408 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di CapSoftware/Cap
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
maplibre/maplibre-tile-spec#1844 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno
-
Outdated docs on front pageAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
rust-windowing/winit#4731 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:cli bug priority:high
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
rtk-ai/rtk#4439 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno