07th-mod / 07th-mod/python-patcher
Installer does not report out-of-disk-space error if disk space runs out
- Linguagem predominante
- JavaScript
- Estrelas
- 214
- Forks
- 12
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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!)
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Examine a lógica de download do instalador, provavelmente em um arquivo que lida com a integração do aria2c. Analise a saída stderr do aria2c em busca de erros de espaço em disco. Atualize o relatório de erros para exibir uma mensagem específica e interromper as tentativas de repetição. Além disso, adicione o registro do espaço livre para a unidade de destino e a unidade temporária ao log do instalador. Teste simulando espaço em disco baixo.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript, python
- Domínio
- cli, tooling
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 55/100