Public bug reported: [Summary]
During the installation process, the file /etc/apt/sources.list is generated from a template. If an HTTPError occurs, then instead of logging a message, an AttributeError is raised. [Test Case] Steps to reproduce ------------------ 1. Start the installer. 2. When the automirror module is executed, provoke an HTTPError from urllib.request.urlopen Expected behaviour ------------------ The error is logged and the installer continues. Current behaviour ----------------- An AttributeError is raised. [Regression Potential] There shouldn't be any regression potential. [Other Info] This error seems to occur only under special conditions, because it was not noticed so far. Existing forum post => https://discourse.lubuntu.me/t/installation- failed-class-attribute-error/1019 ** Affects: calamares-settings-ubuntu (Ubuntu) Importance: Undecided Status: New ** Description changed: [Summary] During the installation process, the file /etc/apt/sources.list is generated from a template. If an HTTPError occurs, then instead of logging a message, an AttributeError is raised. - [Test Case] Steps to reproduce ------------------ 1. Start the installer. 2. When the automirror module is executed, provoke an HTTPError from urllib.request.urlopen Expected behaviour ------------------ The error is logged and the installer continues. Current behaviour ----------------- An AttributeError is raised. - [Regression Potential] There shouldn't be any regression potential. - [Other Info] This error seems to occur only under special conditions, because it was not noticed so far. + + Existing forum post => https://discourse.lubuntu.me/t/installation- + failed-class-attribute-error/1019 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875476 Title: Calamares aborts because of an AttributeError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/1875476/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
