Cubic does not mount original ISO when the path has spaces

Bug #1761320 reported by Cubic PPA
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cubic
Fix Released
High
Cubic PPA
Classic-development
Fix Released
High
Cubic PPA
Release-2018-07-34
Fix Released
Undecided
Cubic PPA

Bug Description

I have been having an issue with Cubic when attempting to edit an existing project or create new projects. When launching from terminal I see the following issue:

    Is new project page, original
    section, valid?........................ False
    Is new project page, custom section,
    valid?................................. False
    Propagate assigned values to
    calculate dependant values?............ True
    Finished running thread with id........ 139639740098304

If I edit an existing project, both project page validations are deemed invalid, same thing if I create a new project and select a fresh Ubuntu ISO, however with the new ISO the metadata fields are not populated either. I have run the program from the application launcher as well as from terminal with the same results.

I have removed and reinstalled cubic three times in an attempt to identify the root cause but am experiencing the same issues and can no longer create custom ISOs.

Any suggestions?

Thanks

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

Here is the relevant section from user's console output...

  Mount ISO image
    ISO image.............................. /home/dsoc-ca/Documents/ISO and
                                            Programs/ISO/ubuntu-16.04.3-desktop-
                                            amd64.iso
    Mount point............................ /home/dsoc-ca/Documents/Deployable
                                            Laptop Images/host/original-iso-
                                            mount
    Create the mount point if it does
    not exist.............................. /home/dsoc-ca/Documents/Deployable
                                            Laptop Images/host/original-iso-
                                            mount
    Execute synchronously.................. mkdir /home/dsoc-
                                            ca/Documents/Deployable Laptop
                                            Images/host/original-iso-mount
    Set a new process for thread id........ 140358650423040
    The new process id is.................. 1952
    Mount.................................. /home/dsoc-ca/Documents/ISO and
                                            Programs/ISO/ubuntu-16.04.3-desktop-
                                            amd64.iso
    Execute synchronously.................. mount -o loop /home/dsoc-
                                            ca/Documents/ISO and
                                            Programs/ISO/ubuntu-16.04.3-desktop-
                                            amd64.iso /home/dsoc-
                                            ca/Documents/Deployable Laptop
                                            Images/host/original-iso-mount
    Set a new process for thread id........ 140358650423040
    The new process id is.................. 1953
    Is mounted?............................ False
    ISO image.............................. /home/dsoc-ca/Documents/ISO and
                                            Programs/ISO/ubuntu-16.04.3-desktop-
                                            amd64.iso
    Mount point............................ /home/dsoc-ca/Documents/Deployable
                                            Laptop Images/host/original-iso-
                                            mount
    Is mounted?............................ False
    ISO image.............................. /home/dsoc-ca/Documents/ISO and
                                            Programs/ISO/ubuntu-16.04.3-desktop-
                                            amd64.iso
    Mount point............................ /home/dsoc-ca/Documents/Deployable
                                            Laptop Images/host/original-iso-
                                            mount
    Is new project page, original
    section, valid?........................ False
    Is new project page, custom section,
    valid?................................. False
    Propagate assigned values to
    calculate dependant values?............ True
    Finished running thread with id........ 140358650423040
    Button clicked......................... Back

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

Would you please test the fix for this bug in the *Development* branch, and let me know if it resolves the problem?

    # Remove Cubic
    $ sudo apt autoremove --purge cubic

    # Remove the *Release* repository
    $ sudo apt-add-repository --remove ppa:cubic-wizard/release

    # Add the *Development* repository
    $ sudo add-apt-repository ppa:cubic-wizard/development

    # Install the *Development* version of Cubic
    $ sudo apt update
    $ sudo apt install cubic

Revision history for this message
bladeofholyangel (shoferek) wrote :

hello, i will gladly help with testing of Cubic and I wish to use it to create a new version of my project, Greenie (distrowatch.com/greenie)

about stable version: it didnt mount an original iso, when it was on a different hdd (i have 2 of them). when i moved it to my /home/username, it works. working on 18.04 beta

Revision history for this message
John Walker (vampirz79) wrote :

Hi, will test it tomorrow when I get back on the system and let you know.

Thanks for all your hard work. Love this project.

Revision history for this message
bladeofholyangel (shoferek) wrote :

just a question... is it possible to:

- add an iso file size at the last window?

- add an alias for this command in the chroot?

dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n

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

@shoferek,

Your project Greenie looks cool!

Regarding mounting the ISO form a second HDD:

(1)
Are you testing with ppa:cubic-wizard/development ?
How is your 2nd hard disk mounted?
If the problem occurs only with mounted file systems, and is not related to file paths with spaces, it may be useful to open a separate bug, so we can track and resolve the specific issue.

Regarding your questions:

(2)
I like your idea of putting the ISO size on the "Finish Page." Please open a separate bug for this.

(3)
As much as possible, I do not want to modify the chroot environment on ~behalf~ of the user, because I believe this environment belongs to the user and he/she should have full authority to customize their version of Linux in there. The user can always create their own favorite aliases in that environment.

However, there may be an opportunity to show the package sizes on the "Create Manifest Page", next to each package in the list. What do you think about that?

Revision history for this message
bladeofholyangel (shoferek) wrote :

(1) - same bug with spaces, now working okay.

(2) - sorry, it is allready working, i was blind

(3) - well, i was thinking more about adding an icon to show a simple document with tips. something like:

- command ABC allows you to XYZ
- command DEF allows you to this and this

Revision history for this message
John Walker (vampirz79) wrote :

Just tested on my usual system, appears to be working fine, all metadata was retrieved and is currently unpacking. Thanks heaps for the update.

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

Other bug subscribers

Related questions

Remote bug watches

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