Lubuntu Noble Apha - Calamares installer crash (exception in Networkcfg/Main.py)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kubuntu-meta (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
lubuntu-meta (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When attempting to install Lubuntu 24.04 Alpha (Noble Numbat) on a Dell Wyse 3040 from a Live USB Session, the Calamares installer crashes near the end of the installer sequence with a "Bad main script file" error.
Occurs just after Configuring locales
Unfortunately the installer log disappears from screen at the time of exception and there is no installer log to be found after the install failure.
The error details are:-
Main Script file/usr/
Unfortunately, no line number is given for the exception and I cant find any related errors in other logs in /var/log. The var/log/installer directory is empty.
Have tried install in 3 use cases
1. Ethernet connection enabled with onboard Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
2. Wireless connection enabled with external Realtek RTL8188EUS 802.11n USB
3. No internet connection
All 3 result is same crash.
Please advise any workarounds
Possibly related - the Dell Wyse 3040 is notoriously difficult to install linux distros due to limited space but mostly due to distros using the Ubiquity installer that has an unresolved error in the installer scripts causing multiple crashes during installation when the installer attempts to handle the specific model name of the H8G4a eMMC onboard storage on the 3040
that contains non-UTF-8 characters in its name. Distros that use Calamares or the new Subiquity installer do not usually appear to suffer this problem.
Ubuntu Release:
Description: Ubuntu Noble Numbat (development branch)
Release: 24.04
Calamares version:
calamares:
Installed: 3.3.2-0ubuntu1
Candidate: 3.3.2-0ubuntu1
Version table:
*** 3.3.2-0ubuntu1 500
500 http://
100 /var/lib/
summary: |
- Lubintu Noble Apha - Calamares installer crash (exception in - Netwrokcfg/Main.py) + Lubuntu Noble Apha - Calamares installer crash (exception in + Networkcfg/Main.py) |
tags: | added: calamares lubuntu networkcfg noble numbat |
Running Ubuntu-bug calamares reveals thh following relevant error in the apport log (see attached):-
2024-02-26 - 13:16:51 [1]: ERROR: Error while running: TypeError: chmod: path should be string, bytes, os.PathLike or integer, not TextIOWrapper
At: lib/x86_ 64-linux- gnu/calamares/ modules/ networkcfg/ main.py( 158): run
/usr/