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

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

Đang mở
#159 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
214
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Xem xét logic tải xuống của trình cài đặt, có thể nằm trong một tệp xử lý tích hợp aria2c. Phân tích đầu ra stderr của aria2c để tìm lỗi về dung lượng đĩa. Cập nhật báo cáo lỗi để hiển thị một thông báo cụ thể và dừng các lần thử lại. Đồng thời, thêm việc ghi log dung lượng trống của ổ đĩa đích và ổ đĩa tạm thời vào nhật ký trình cài đặt. Kiểm tra bằng cách mô phỏng dung lượng đĩa thấp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, python
Lĩnh vực
cli, tooling
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.