Installer crashed during partitioning (gtk.main_quit)

Bug #54163 reported by Vassilis Pandis
426
This bug affects 16 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

After having created three partitions (/ /home/ and swap), I tried to install Ubuntu. I had forgotten to format the swap partition (i.e. all I had was unallocated space there). The installer warvned my about that so I went back to fix it. I chose to format it as linux-swap and then clicked next. The partitioner started and the partition was formatted properly (or so I suppose at least). The installer crashed on the next screen ("Prepare mount points").

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 696, in on_next_clicked
    gtk.main_quit()
RuntimeError: called outside of a mainloop

This is with the 6.06 release.

Revision history for this message
Vassilis Pandis (pandisv) wrote :
Revision history for this message
Vassilis Pandis (pandisv) wrote :
Revision history for this message
Vassilis Pandis (pandisv) wrote :
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Just want to add that the swap filesystem was not formatted correctly after all. I just tried to reinstall and it shows up with an exclamation mark and clicking on it tells me that it's damaged/unknown to libparted/unformatted. Thanks for getting into the trouble of writing ubiquity - please ask for any information needed to fix the problem. Thanks again!

Revision history for this message
Colin Watson (cjwatson) wrote :

There's a whole class of bugs like this, which I've been beginning to tag as "gtk-mainloop-crash"; and I don't really know what's causing them. At the moment, I'm thinking that the best strategy might well be to switch from my home-grown notebook-based structure to the new gtk.Assistant.

Changed in ubiquity:
importance: Untriaged → High
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

ubiquity (1.1.29) edgy; urgency=low

  * Move drop_privileges helper function into ubiquity.misc.
  * KDE frontend: Use kdesu --nonewdcop to ensure that we can talk to the
    user's DCOP server.
  * KDE frontend: Reboot the machine properly using ksmserver (closes:
    Malone #41784).
  * KDE frontend: Unload the kded medianotifier while committing
    partitioning changes (closes: Malone #48051).
  * KDE frontend: Convert to allow_change_step/allow_go_forward system from
    GTK frontend so that the back and next buttons are more consistently
    enabled/disabled. Hide the back button on the first page.
  * Forbid going back or forward when the UI is already processing a
    previous back or forward action (closes: Malone #54163 and lots of
    duplicates).
  * GTK frontend: Disable back and forward buttons while gparted is starting
    up. Requires gparted (>= 0.2.5-1.1ubuntu11).
  * GTK frontend: Avoid calling gtk.main_quit if a main loop isn't running,
    as further insurance against Malone #54163.
  * Fix various bugs when mounting source filesystems natively rather than
    relying on casper to have mounted them already (closes: Malone #64348).
  * Automatic update of included source packages: debian-installer-utils
    1.36ubuntu2.

 -- Colin Watson <email address hidden> Fri, 6 Oct 2006 21:32:43 +0100

Changed in ubiquity:
status: Confirmed → Fix Released
assignee: nobody → kamion
Revision history for this message
William Blake (wblake0000) wrote : Re: [Bug 54163] Re: Installer crashed during partitioning (gtk.main_quit)

I don't think I'm probably the one you mean to be sending this too. I
submitted a bug report a few months ago, but I'm not really a programmer.

~wb

On 10/6/06, Colin Watson <email address hidden> wrote:
>
> ubiquity (1.1.29) edgy; urgency=low
>
> * Move drop_privileges helper function into ubiquity.misc.
> * KDE frontend: Use kdesu --nonewdcop to ensure that we can talk to the
> user's DCOP server.
> * KDE frontend: Reboot the machine properly using ksmserver (closes:
> Malone #41784).
> * KDE frontend: Unload the kded medianotifier while committing
> partitioning changes (closes: Malone #48051).
> * KDE frontend: Convert to allow_change_step/allow_go_forward system
> from
> GTK frontend so that the back and next buttons are more consistently
> enabled/disabled. Hide the back button on the first page.
> * Forbid going back or forward when the UI is already processing a
> previous back or forward action (closes: Malone #54163 and lots of
> duplicates).
> * GTK frontend: Disable back and forward buttons while gparted is
> starting
> up. Requires gparted (>= 0.2.5-1.1ubuntu11).
> * GTK frontend: Avoid calling gtk.main_quit if a main loop isn't
> running,
> as further insurance against Malone #54163.
> * Fix various bugs when mounting source filesystems natively rather than
> relying on casper to have mounted them already (closes: Malone
> #64348).
> * Automatic update of included source packages: debian-installer-utils
> 1.36ubuntu2.
>
> -- Colin Watson <email address hidden> Fri, 6 Oct 2006 21:32:43 +0100
>
> ** Changed in: ubiquity (Ubuntu)
> Status: Confirmed => Fix Released
>
> ** Changed in: ubiquity (Ubuntu)
> Assignee: (unassigned) => Colin Watson
>
> --
> Installer crashed during partitioning (gtk.main_quit)
> https://launchpad.net/bugs/54163
>

Revision history for this message
ramuk (kumar-yesitsme) wrote :

Installer crashed when selected Forward button to change the Partition table. it never shows the partitions present on the drive but insted stays blank (only installer window). Every thing happened when trying to Install UBUNTU 8.10 From the Live UBUNTU running from a DVD.

To post a comment you must log in.