Cubic hangs on the Prepare page if the original ISO is not available.

Bug #1922147 reported by Cubic PPA
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cubic
Fix Released
High
Cubic PPA

Bug Description

When customizing an existing project, the original ISO may not be available.

Cubic presents the user with the following message on the Project page:

    "Warning. The original disk image is not available."

Then, on the Prepare page, during the "Identify disk boot kernels" step, the following message may be displayed:

    "Error. No valid disk boot kernels were found."

The warning and error are normal.

However, Cubic hangs, and the user is unable to click the "Back" button to correct this issue.

Here is the log output:

Navigate from prepare page to prepare page on error action

  • Unmount the ISO and delete the mount
    point.................................. /mnt/ram/Ubuntu/source-disk
  • Unmount iso............................ /mnt/ram/Ubuntu/source-disk
  • Execute synchronously.................. unmount-iso "/mnt/ram/Ubuntu/source-
                                            disk"
  • The process id is...................... 28835
  • The result is.......................... umount: /mnt/ram/Ubuntu/source-disk:
                                            not mounted.
  • The exit status, signal status is...... 32, None
  • Delete the mount point................. /mnt/ram/Ubuntu/source-disk
  • Delete directory....................... /mnt/ram/Ubuntu/source-disk
  • The result is.......................... Successfully deleted
                                            /mnt/ram/Ubuntu/source-disk
  • The exit status, signal status is...... 0, None
  • Deleted the mount point................ /mnt/ram/Ubuntu/source-disk
  • Current page........................... prepare page
  • Action................................. unknown
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/cubic/cubic/navigator.py", line 458, in navigate
    navigate(result, page, new_page, effect)
  File "/usr/share/cubic/cubic/navigator.py", line 415, in navigate
    new_page, effect = get_new_page(result, page)
  File "/usr/share/cubic/cubic/navigator.py", line 709, in get_new_page
    raise InvalidActionException(action, page)
cubic.navigator.InvalidActionException: Action "unknown" is invalid for prepare page.

Cubic PPA (cubic-wizard)
Changed in cubic:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Cubic PPA (cubic-wizard)
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

The expected behavior is that when the original ISO is missing *and* no valid kernels are found on the Prepare page, the following message should be displayed:

Error. No valid disk boot kernels were found.
To correct this issue, click the Back button and install missing Linux kernel packages on the Terminal page, or select the original disk image on the Project page.

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Fix released in version 2021.03-48.

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

CORRECTION: Fix released in version 2021.04-48.

Cubic PPA (cubic-wizard)
Changed in cubic:
status: Confirmed → Fix Committed
Cubic PPA (cubic-wizard)
Changed in cubic:
status: Fix Committed → 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.