Sometimes, the Next button not active on the Terminal page.

Bug #1820424 reported by Cubic PPA
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cubic
Fix Released
Medium
Cubic PPA
Classic
Fix Released
Medium
Cubic PPA
Classic-development
Fix Released
Medium
Cubic PPA

Bug Description

The Next button on the Terminal (chroot) page is initially available. When this button is clicked, the spinner appears for a few seconds, as expected.

Sometimes, after the spinner stops, the Options page does not appear, and the Next button is grayed-out and can no longer be clicked. (The Back and Quit buttons are still active).

This was observed in Ubuntu 14.04, but further analysis indicates it may also occur in other releases as well.

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

The following error occurs, and may be the cause of the issue.

Traceback (most recent call last):
    File
    "/usr/share/cubic/transition.py",
    line 95, in run self.action()
    File
    "/usr/share/cubic/transition.py",
    line 400, in action self) File
    "/usr/share/cubic/transitions.py",
    line 2631, in transition__from__term
    inal_page__to__manage_options_page
    installed_packages_list = utilities.
    create_installed_packages_list(threa
    d) File
    "/usr/share/cubic/utilities.py",
    line 2424, in
    create_installed_packages_list
    installed_packages_list =
    result.splitlines() AttributeError:
    'NoneType' object has no attribute
    'splitlines'

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

WORK-AROUND:

A work around may be to...

1)
On the Terminal page, click the Back button.

2)
Then select the "Continue customizing the existing project" radio button.

3)
Then click Next, and the Options page is displayed.

Cubic PPA (cubic-wizard)
summary: - On Ubuntu 14.04, Next button not active on Terminal page.
+ Sometimes, the Next is button not active on Terminal page.
description: updated
Revision history for this message
Cubic PPA (cubic-wizard) wrote : Re: Sometimes, the Next is button not active on the Terminal page.

The function create_installed_packages_list() must be invoked before exit_chroot_environment() because exiting the chroot environment kills all processes using the custom squashfs directory. In some cases, the process for create_installed_packages_list() gets killed when it is invoked immediately after exit_chroot_environment().

This scenario only occurs when transitioning from the Terminal page to the Options page. This scenario does not apply when transitioning from the New Project page or the Existing Project page to the Options page.

summary: - Sometimes, the Next is button not active on Terminal page.
+ Sometimes, the Next is button not active on the Terminal page.
Changed in cubic:
importance: Undecided → Critical
status: New → Confirmed
assignee: nobody → Cubic PPA (cubic-wizard)
Cubic PPA (cubic-wizard)
summary: - Sometimes, the Next is button not active on the Terminal page.
+ Sometimes, the Next button not active on the Terminal page.
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Fixed in trunk revision 190.
Fixed in release revision 49.

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.