Unable to proceed because the Next button is inactive on the New Project Page (Bionic, 32 bit)

Bug #1754301 reported by Khurshid Alam
10
This bug affects 2 people
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
High
Cubic PPA

Bug Description

After loading mini.iso next button is inactive and can't proceed. All the fields are in-active as well.

Running from command line gives (gksudo:14302): dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user': Permission denied. dconf will not work properly.

Screenshot: https://i.imgur.com/OAxYhOo.png

Revision history for this message
joe (j-j-v) wrote :

i confirm next is greyed out & can't fill out all fields on 2nd form of the wizard, March 9th, in Artful.

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

What is the download link for the "mini.iso" ?

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

The download link is this: http://archive.ubuntu.com/ubuntu/dists/artful/main/installer-i386/current/images/netboot/mini.iso

And it's not just mini iso but any 32 bit iso (cubic running on 32 bit machine as well).

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

Another screenshot showing
  Volume ID = "CDROM"
  Release name = "unknown release name"
  Disk name = "unknown disk name"

Next button is grayed out, as reported in the bug.

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

While reading the file "README.diskdefines" Cubic gets non-zero exit status 1 error.

Investigating the *.iso file, noticed that the expected README.diskdefines is not included in the ISO.

Cubic relies heavily on this particular file, and creates an updated version in the customized iso.

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

@Khurshid Alam, the link you provided is for the net boot version.

The netboot version does not contain squashfs-root (which is the Linux environment Cubic would allow you to modify).

Do you have a link for the version you tried to customize in the screen-shot you attached above? (I'd like the exact link you used, so I can reproduce your issue).

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

Ah right, I realized that. But As I said before it is same with regular iso images. For example: http://cdimage.ubuntu.com/ubuntu-budgie/releases/17.10.1/release/ubuntu-budgie-17.10.1-desktop-i386.iso

With the same image, I can get through 2nd stage in Zesty and 16.04, but I couldn't on Ubuntu Bionic (18.04).

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

OK, thanks. I'll look at this.

Revision history for this message
joe (j-j-v) wrote :

confirm that this affects any .iso i try, while using Cubic in Artful.

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

@joe,would you please list the download URLs of the ISOs you are trying?

Is your host machine 32 bit or 64 bit?

I presume all of the ISOs are 32 bit; is this correct?

Revision history for this message
joe (j-j-v) wrote :

host & isos are 64-bit.

http://cdimage.ubuntu.com/kubuntu/releases/17.10.1/release/kubuntu-17.10.1-desktop-amd64.iso

http://releases.ubuntu.com/17.10/ubuntu-17.10.1-desktop-amd64.iso.torrent

those are for sure the ones i used.

Host machine is 64-bit.

Thanks for making this, it's really cool!

joe

Revision history for this message
joe (j-j-v) wrote :

oops - said that about the machine twice, & ended up with weird typography =) apologies.

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

Khurshid, Joe, in the "Custom" section, if the "Filename" field is blank, what happens if you enter a value like "test.iso"? Are you able to proceed to the next step?

This is what I found so far...

[a] TEST: Customize Kubuntu

    HOST: Ubuntu 17.10 x64

    1) Kubuntu 17.10 x32 (kubuntu-17.10.1-desktop-i386.iso)
    2) Kubuntu 17.10 x64 (kubuntu-17.10.1-desktop-amd64.iso)
    3) Kubuntu 16.04 x32 (kubuntu-16.04.4-desktop-i386.iso)
    4) Kubuntu 16.04 x64 (kubuntu-16.04.4-desktop-amd64.iso)
    5) Kubuntu Beta 18.04 x32 (kubuntu-18.04-beta1-desktop-amd64.iso)
    6) Kubuntu Beta 18.04 x64 (kubuntu-18.04-beta1-desktop-amd64.iso)

        SOURCE: http://cdimage.ubuntu.com/kubuntu/releases/

    RESULT(S)...

        Everything is OK.
        New Project page shows all fields; Next button is enabled.
        Custom ISO Filename = "kubuntu-17.10.1-2018.03.18-desktop-i386.iso"
        Extract squashfs page shows.
        Chroot page shows.

[b] TEST: Customize Lununtu
    HOST: Ubuntu 17.10 x64

    1) Lubuntu Beta 18.04 x32 (bionic-desktop-i386.iso)
        SOURCE: http://cdimage.ubuntu.com/lubuntu/daily-live/current/

    2) Lubuntu Beta 18.04 x64 (bionic-desktop-amd64.iso)
        SOURCE: http://cdimage.ubuntu.com/lubuntu/daily-live/current/

    RESULT(S)...

        Custom ISO Filename = <BLANK>
        Encountered exception while creating custom iso image filename
        'NoneType' object has no attribute 'group'

    RESOLUTION...

        You need to manually enter a value for "Custom ISO Filename".
        Then the Next button becomes active.

[c] TEST: Customize Lununtu
    HOST: Lubuntu 16.04 x32

    1) Lubuntu Beta 18.04 x32 (bionic-desktop-i386.iso)
        SOURCE: http://cdimage.ubuntu.com/lubuntu/daily-live/current/

    RESULT(S)...

        Custom ISO Filename = <BLANK>
        Encountered exception while creating custom iso image filename
        'NoneType' object has no attribute 'group'

    RESOLUTION...

        You need to manually enter a value for "Custom ISO Filename".
        Then the Next button becomes active.

Revision history for this message
joe (j-j-v) wrote :

hey, just double checked, & even checked after purging Cubic:

i can't change them, as it won't allow me to edit them. after choosing a directory on the first dialog of app, it lets me "Select..." an original ISO. choosing that same Kubuntu 17.10.1 64bit iso (from the website) fills in the first two fields ("Filename" & "Directory") in the Original ISO section; but no toher field can be edited & "Change..." & "Next" are greyed out. Also, all left-hand field names are red & italicized, except "Directory" in Original ISO's section & "Version" & "Release name," in Custom ISO.

Thanks.

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

Are you working in a remote file system or mounted file system?...
Where is your Cubic project folder located?
Is /home/sunny/Downloads/Ubuntu-Unity-iso (from your screenshot) a mounted or a local folder?

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

No, it's a local folder. /home/sunny/Downloads/ is simply a symlink of /mnt/Hitachi/Data/Downloads. /dev/sda3 is mounted as /mnt/Hitachi/Data/. /dev/sda3 is nothing but an ext4 partition on my hard-disk.

But I don't think it's related to location as others experienced the same and I tried with different folder in /home/<user> (which is not a symlink or anything). But the result is the same. I can't edit any field at all.

Also regarding your previous comments/tests (a, b, c) please try with Ubuntu-18.04-beta1 iso (as a host machine) on laptops.

Revision history for this message
joe (j-j-v) wrote :

i'm working in the same folder it was on the previous version of Ubuntu, when it worked great; hope this helps. hoping to figure out something soon as i'm waiting on this for my main computer. thanks for all the work on this.

joe

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

Khurshid,
    I'll try Ubuntu-18.04-beta1.

Joe,
    Are you working in a remote file system or mounted file system?
    Do you have any symlinks, like Khurshid?

Khurshid, Joe,
    On your host machine, what is the output of the following?
        echo $XDG_SESSION_TYPE

Revision history for this message
joe (j-j-v) wrote :

a bound, mounted one, not remote. but it worked like this before. no symlinks.

$ echo $XDG_SESSION_TYPE
x11

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

I have not been able to recreate this issue at all...

I downloaded
    bionic-desktop-amd64.iso
from
    http://cdimage.ubuntu.com/ubuntu/daily-live/current/

I installed Ubuntu 18.04 beta in in VirtualBox using bionic-desktop-amd64.iso.

I logged in and added the Cubic PPA and installed Cubic inside the virtual machine.

I copied bionic-desktop-amd64.iso to the ~/Downloads folder inside the Ubuntu virtual machine.

The only issue I ran into was that the "Filename:" text box was not pre-populated. I entered "test.iso" into this field. All other fields were pre-populated, and I am able to click the Next button to get to the chroot terminal.

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

Looking at the original bug report, I see a permission issues with /run/user/1000/dconf/user.

Here are the permissions and ownerships on my "clean" install in VirtualBox...

    drwxr-xr-x root:root /run
    drwxr-xr-x root:root /run/user
    drwx------ <you>:<you> /run/user/1000
    drwx------ <you>:<you> /run/user/1000/dconf
    -rw------- <you>:<you> /run/user/1000/dconf/user

    ("<you>" should be your user id)

Remember:

1. The mini.iso can not be customized in Cubic, because it is not a desktop environment. I am assuming this bug report is not specifically for the mini iso.

2. You can not use a Wayland session to run Cubic, because Wayalnd does not allow users to run graphical applications (like Cubic) with sudo privileges. (I don't think you are doing this, because your $XDG_SESSION_TYPE shows "X11", but I thought I'd just mention it, since the original bug report mentions a permissions issue).

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

Since I have not been able to recreate this issue, I can't determine what is going wrong.

In order to help debug further, you can run cubic from the command line.

Simply open a terminal and type "cubic", and press enter.
(Do not use sudo to run cubic. You will be prompted for your sudo password).

Once you encounter the error, copy the output from the terminal, and attach it to this bug. There may be some output there that helps pinpoint the cause of the issue.

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

$ echo $XDG_SESSION_TYPE
x11

/run/user/1000/dconf/user has same permissions as yours.

But I think something machine specific setting could be reason. For example I am using a laptop. I tried cubic before on desktop (Ubuntu 16.04) and it worked.

And here is the log: https://pastebin.ubuntu.com/p/M6Th8YcX8W/

Can't really find anything from the log.

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

Log of Cubic from Khurshid Alam attached to this bug report.

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

Thanks for the output. This is very helpful!

I think see what is going on; I'll try a few more experiments and post back.

Revision history for this message
joe (j-j-v) wrote :

just to stress, Cubic worked fine for me in Kubuntu 17.04, but not 17.10. Thanks again...

Cubic PPA (cubic-wizard)
summary: - After loading mini.iso next button is inactive and can't proceed
- (Bionic, 32 bit)
+ Unable to proceed because the Next button is inactive on the New
+ Project Page (Bionic, 32 bit)
Changed in cubic:
importance: Undecided → High
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Joe, Khurshid,

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
Cubic PPA (cubic-wizard) wrote :

Fix released to "trunk" revision 112.
Fix released to "release" revision 24.

Revision history for this message
joe (j-j-v) wrote :

same deal...

i even tried redownloading the kubuntu-17.10.1-desktop-amd64.iso to make sure it wasn't that.

did the instructions you provided & got same result =/

any ideas for workaround for temporary for me? i'll still follow up with this bug . . .

Joe =)

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

Joe,

Do the paths you are using have spaces?

If so, I think you may be affected by bug #1761320 Cubic does not mount original ISO when the path has spaces.

I just posted a fix in the *Development* branch. See if that helps?

    # 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
Khurshid Alam (khurshid-alam) wrote :

For me installing cubic from development repo fixed the issue.

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

Excellent!

Joe, are you still having the issue?

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

Now it hangs during compression. I filed a new bug here: https://bugs.launchpad.net/cubic/+bug/1764772

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.