ubi-partman crashed when choosing guided encrypted LVM installation

Bug #1921567 reported by Rick Scholten
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Critical
Jean-Baptiste Lallement
Hirsute
Fix Released
Critical
Jean-Baptiste Lallement

Bug Description

In the Kubuntu installer I choose guided encrypted LVM install and after clicking "Install Now" ubi-partman crashes with exit code 141.

Choosing "Guided - use entire disk" does work without a problem.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: ubiquity 21.04.12
ProcVersionSignature: Ubuntu 5.11.0-11.12-generic 5.11.0
Uname: Linux 5.11.0-11-generic x86_64
ApportVersion: 2.20.11-0ubuntu61
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.461
CurrentDesktop: KDE
Date: Sat Mar 27 06:00:59 2021
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/kubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Kubuntu 21.04 "Hirsute Hippo" - Alpha amd64 (20210326)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Rick Scholten (alduroque) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Rik Mills (rikmills) wrote :

Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/frontend/kde_components/nmwidgets.py", line 452, in _on_current_changed
    passphrase = self.view.get_cached_passphrase()
  File "/usr/lib/ubiquity/ubiquity/frontend/kde_components/nmwidgets.py", line 289, in get_cached_passphrase
    return self.wifi_model.passphrases_cache.get(ssid, '')
TypeError: unhashable type: 'QVariant'

Changed in ubiquity (Ubuntu):
importance: Undecided → High
Rik Mills (rikmills)
Changed in ubiquity (Ubuntu):
milestone: none → ubuntu-21.04
Revision history for this message
Rik Mills (rikmills) wrote :

Also:

Exception caught in process_line:
Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 143, in process_line
    return self.dbfilter.process_line()
  File "/usr/lib/ubiquity/ubiquity/debconffilter.py", line 285, in process_line
    if not input_widgets[0].run(priority, question):
  File "/usr/lib/ubiquity/plugins/ubi-partman.py", line 3328, in run
    self.preseed('ubiquity/recovery_key', self.ui.get_recovery_keys())
  File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 346, in preseed
    value = misc.debconf_escape(value)
  File "/usr/lib/ubiquity/ubiquity/misc.py", line 643, in debconf_escape
    escaped = text.replace('\\', '\\\\').replace('\n', '\\n')
AttributeError: 'NoneType' object has no attribute 'replace'

Rik Mills (rikmills)
Changed in ubiquity (Ubuntu):
importance: High → Critical
Revision history for this message
Rik Mills (rikmills) wrote :

This appears to be the result of the recent Ubiquity FFe adding "Master recovery key"

See: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1921358

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1921567

tags: added: iso-testing
Changed in ubiquity (Ubuntu):
assignee: nobody → Jean-Baptiste Lallement (jibel)
status: Confirmed → Triaged
summary: - ubi-partman crashed when choosing guided encrypted llvm installation
+ ubi-partman crashed when choosing guided encrypted LVM installation
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 21.04.13

---------------
ubiquity (21.04.13) hirsute; urgency=medium

  * misc: Fixed crash when trying to escape a non string (LP: #1921567)

 -- Jean-Baptiste Lallement <email address hidden> Wed, 31 Mar 2021 10:39:43 +0200

Changed in ubiquity (Ubuntu Hirsute):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.