Hangs on copying ISO boot kernel

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

Bug Description

Working on a Intel NUC8i3BEK with a fresh install of Ubuntu 16.04.6 LTS.
I am trying to build a custom ISO starting from `ubuntu-16.04.6-desktop-amd64.iso`.
After making my changes the system hangs on the "repackage_iso_page" page after I click "generate".
The same thing happens even when I have made no changes to the original ISO. I notice also that there is no boot kernel listed in ISO boot kernel tab on the "options_page" page. See the full output log in the attached.

Oddly I succeeded in this only a week ago so perhaps there is an issue with a latest release? I will have to dig into which version I was using last week but for now I hope the info in the output log will be elucidating.

Thank you.

Revision history for this message
Tyler (tylertroy) wrote :
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 :

This bug may be the same as or related to Bug #1860682, "ISO Boot Kernel Empty after clicking generate Edit".

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

Ubuntu 16.04 uses Python 3.5.

Unfortunately, versions of python prior to 3.7 do not guarantee that the order of dictionary elements is preserved when extracting values from a dictionary.

As a result, Cubic is not always able to display kernel details on the Kernels tab.

This situation manifests itself as various different exceptions.

The exception recorded in this bug may also be a manifestation of this same issue. (See https://bugs.launchpad.net/cubic/+bug/1860618/+attachment/5322244/+files/cubic.log).

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

The resolution to Bug #1860682 was to explicitly extract each item, in the correct order, from the kernel details dictionaries when displaying columns on Cubic's Kernels tab.

This will avoid the issue in the values() method on dictionaries in Python 3.5.

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

Please install the latest version, and let me know if the fix for Bug #1860682 solves your problem?

    $ sudo apt update
    $ sudo apt install cubic

(Make sure the Cubic version is 2020.01-60).

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

CORRECTION: (Make sure the Cubic version is 2020.01-61).

Revision history for this message
Tyler (tylertroy) wrote :

Works beautifully! Indeed the python version explanation makes sense since the previous 16.04 system I installed from included python3.7 as the system default. Thank you for the prompt fix!

Cubic PPA (cubic-wizard)
Changed in cubic:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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