Stuck at 50%

Bug #1702697 reported by bereta.x
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cubic
Fix Released
Undecided
Cubic PPA

Bug Description

when I try to create the iso cubic get stuck on 50% on "Copy the live iso files to the new disk"

I'm customizing lubuntu 16.10

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

Does this happen every time?
If so, please run Cubic from the command line by typing "cubic".
Then, after Cubic gets stuck, cut and paste the output from the terminal here.

(I suspect this has something to do with the way lubuntu is packaged on the disk, which may be different from the way Ubuntu and Ubuntu-Gnome are packaged.)

Also, are you running Cubic in Lubuntu or Ubuntu, and which version?

Revision history for this message
RB (rburkett) wrote :
Download full text (6.8 KiB)

I'm getting the same problem (stuck at 50%) with creating a custom Ubuntu 16.04 i386 iso. Here is some of the output including what looks like an error:

Preforming the requested transition action
    Transition from........................ manage_linux_kernels_page
    Transition to.......................... create_manifest_page
  Creating the filesystem manifest
    Execute asynchronously................. chroot /home/robin/Desktop/squashfs-
                                            root dpkg-query -W
    Set the new process for thread with
    id 140353348822784..................... The new process id is 20455
    The process id is...................... 20455
    Execute asynchronously................. wc -l /home/robin/Desktop/custom-
                                            live-iso/casper/filesystem.manifest
    Set the new process for thread with
    id 140353348822784..................... The new process id is 20456
    The process id is...................... 20456
    Number of installed packages........... 1942
  Creating the list of installed packages
  Creating the package details list
    Hiding old page........................ manage_linux_kernels_page

    Showing new page....................... create_manifest_page
    The current page name is............... create_manifest_page
    Finished running thread with id........ 140353348822784
    Button clicked......................... Next

Created a new thread
    Current page........................... create_manifest_page
    New page............................... repackage_iso_page
    Running thread with id................. 140353348822784

Interrupt previous thread
    Interrupting previous thread with id... No previous thread to interrupt

Preforming the requested transition action
    Transition from........................ create_manifest_page
    Transition to.......................... repackage_iso_page
  Creating the removable packages list
    Hiding old page........................ create_manifest_page

    Showing new page....................... repackage_iso_page
    The current page name is............... repackage_iso_page
  Copying boot files
    The vmlinuz source file is............. /home/robin/Desktop/original-iso-
                                            mount/casper/vmlinuz
    The vmlinuz target file is............. /home/robin/Desktop/custom-live-
                                            iso/casper/vmlinuz.efi
    Copying file number.................... 1 of 2
    The source file is............

Read more...

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

Thanks for the output!

Changed in cubic:
assignee: nobody → Cubic PPA (cubic-wizard)
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

I couldn't replicate this issue using lubuntu-17.04-desktop-amd64.iso when running cubic in Ubuntu 17.04 x64.

However, the issues has something to do with Cubic selecting the correct initrd file.

I need to do a few more tests to see what is going on here.
This issue may be related to efi vs legacy (non-efi) vmlinuz images.
Or it could be related to lubuntu-17.04-desktop-i386.iso, which I will also check.

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

Recreated issue using lubuntu-17.04-desktop-i386.iso.

Changed in cubic:
status: New → Confirmed
Revision history for this message
eldon (dr-e-tyrell) wrote :

confirmed with xubuntu-17.04-desktop-i386.iso

same error, output attached

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

Is i386 support still required? I know Ubuntu is moving away from i386 releases.

Revision history for this message
eldon (dr-e-tyrell) wrote :

i can describe why i needed a cubic like tool and let you decide.

i wanted to boot a recent linux (live) on an old Poweredge 2600 (2002?) which runs 32bit xeon cpus.
That hardware only has a cdrom device (yes not dvdrom) and will not boot from usb (no bios support).
So after spending a good hour looking for a "full featured distro" (3rd party apps install would be required) that would provide a below 700MB 32Bit Live ISO ("server isos" don't run live), i realized would not find any and would have to strip one down to get it to fit on a cdrom or go back to 2010 or earlier releases and be stuck with those versions of the required 3rd party applications.

Granted ubuntu is not a preferred choice for that task but i believed i could do it with xubuntu.

I ended up installing a pxe server on an old laptop and got the pe2600 to boot from there.

Side note: i did not extensively read cubic's documentation so forgive me if i missed that, but i think it would be a nice feature if you could have the final iso size before actually creating it.

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

OK. I'll see what I can do about the 32 bit support, but it will take more time.

By the way, have you looked at the Ubuntu Minimal CD image as a starting point?... https://help.ubuntu.com/community/Installation/MinimalCD

(Regarding the "guessing" the final ISO size, that is a feature I would have liked to have; it's hard to predict how the files will compress without actually compressing them. I'll think about this as well.)

Revision history for this message
John Milton (ijmilton) wrote :
Download full text (3.3 KiB)

Hello. Thanks for the great tool. I have used it for years and love it :)

Same issue here. However, I am working on a 64-bit Ubuntu 16.04.3 PC, and customizing a 64-bit Linux Mint 18.2 iso. Here is the last part of the terminal output:

The progress is........................ 0% of 100%
    Exception encountered in thread........ 139644051027712
    The exception is....................... join() argument must be str or
                                            bytes, not 'NoneType'
    The tracekback is...................... Traceback (most recent call last):
                                            File
                                            "/usr/share/cubic/transition.py",
                                            line 91, in run self.action()
                                            File
                                            "/usr/share/cubic/transition.py",
                                            line 382, in action transitions.
                                            transition__from__create_manifest_pa
                                            ge__to__repackage_iso_page(self)
                                            File
                                            "/usr/share/cubic/transitions.py",
                                            line 1726, in transition__from__crea
                                            te_manifest_page__to__repackage_iso_
                                            page
                                            utilities.copy_boot_files(thread)
                                            File
                                            "/usr/share/cubic/utilities.py",
                                            line 1304, in copy_boot_files
                                            source_path =
                                            os.path.join(directory, filename)
                                            File
                                            "/usr/lib/python3.5/posixpath.py",
                                            line 89, in join
                                            genericpath._check_arg_types('join',
                                            a, *p) File
                                            "/usr/lib/python3.5/genericpath.py",
                                            line 143, in _check_arg_types
                                            (funcname, s.__class__.__name__))
                                            from None TypeError: join() argument
                                            must be str or bytes, not 'NoneType'
    Finished running thread with id........ 139644051027712

It should be noted that if I install linux-image-generic in the chroot environment and choose the new kernel for booting the new iso it gets past the...

Read more...

Revision history for this message
Laércio de Sousa (lbssousa) wrote :
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

The fix is included in release 2017.12-22.
Thanks Laércio de Sousa (@lbssousa) for the fix!

@eldon see if this works for you.

Changed in cubic:
status: Confirmed → Fix Released
Revision history for this message
John Milton (ijmilton) wrote :

This fix worked for me. Thank you for your continued support :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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