07th-mod / 07th-mod/python-patcher

Installer does not report out-of-disk-space error if disk space runs out

Abierto
#159 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
214
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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!)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Examine la lógica de descarga del instalador, probablemente en un archivo que maneja la integración de aria2c. Analice la salida stderr de aria2c en busca de errores de espacio en disco. Actualice la notificación de errores para mostrar un mensaje específico y detener los reintentos. Además, agregue el registro del espacio libre en las unidades de destino y temporales al registro del instalador. Pruebe simulando espacio bajo en disco.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript, python
Área
cli, tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
55/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.