07th-mod / 07th-mod/python-patcher
Installer does not report out-of-disk-space error if disk space runs out
- Vorherrschende Sprache
- JavaScript
- Sterne
- 214
- Forks
- 12
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
If disk space runs out during the download phase, the installer will report a generic error about the download stage failing, rather than explicitly telling you that disk space ran out (this might also happen during extraction with 7zip). This is mainly because we don't properly parse the output of aria2c to determine the error (even just copying the first line of the error message from aria2c may be better).
The installer should parse the aria2c output to see if disk space ran out, then immediately exit and report out-of-disk space.
TODO:
1. Report less generic error if disk space runs out
2. Stop download/extract immediately if disk space runs out (currently will retry 3 times!)
3. Log disk space on both drives (the target drive and the 'current' drive used for temp files) to installer log (currently neither is logged!)
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Untersuchen Sie die Download-Logik des Installers, wahrscheinlich in einer Datei, die die aria2c-Integration behandelt. Analysieren Sie die stderr-Ausgabe von aria2c auf Festplattenspeicherfehler. Aktualisieren Sie die Fehlerberichterstattung, um eine spezifische Meldung anzuzeigen und Wiederholungsversuche zu stoppen. Fügen Sie außerdem die Protokollierung des freien Speicherplatzes für das Ziel- und das temporäre Laufwerk zum Installer-Protokoll hinzu. Testen Sie durch Simulation von geringem Festplattenspeicher.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, python
- Bereich
- cli, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 55/100