-
-
Notifications
You must be signed in to change notification settings - Fork 117
Install Script - Uncaught Python exception if internet connectivity is lost during download #409
Description
Description
While running the Asahi Linux installer via curl https://alx.sh | sh, I lost internet connectivity partway through downloading required components. Instead of a clean, user-facing error message, the installer printed a raw Python traceback to the terminal and exited.
This appears to be an uncaught exception triggered by a network failure during the download phase.
Expected Behaviour
If network connectivity is lost during installation midway through downloading Asahi components, the installer should ideally:
- Catch the exception and present a clear, user-facing error indicating that the download failed due to loss of connectivity
- Clean up any partially downloaded or potentially corrupted files
- Provide brief guidance on how users should safely recover or retry the installation
At the moment, the installer simply prints a Python traceback to the terminal with no clear explanation of how to recover.
Steps to Reproduce
- Start the Asahi Linux installer using the standard method
curl https://alx.sh | sh - Allow downloads to begin
- Interrupt network connectivity during the download phase
Environment
- Hardware: 2020 M1 MacBook Pro (13-inch)
- macOS version: 26.2 (25C56)
Installer Log
installer.log
Additional Notes
Improved handling here would make the installer more robust on unstable connections. Even a short, explicit message indicating that the failure was due to network loss, along with retry guidance, would significantly improve the user experience.
Thank you for your time.