[Bug 1094777] Re: Can't use c-n-r-gtk to initiate Quantal -> Raring update

Brian Murray brian at ubuntu.com
Thu Mar 21 22:23:56 UTC 2013


Well, I'm not so sure now as inspecting the package from the archive and
in Launchpad it certainly should contain the fix.  I'm still trying to
sort this out.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1094777

Title:
  Can't use c-n-r-gtk to initiate Quantal -> Raring update

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Fix Released
Status in “ubuntu-release-upgrader” source package in Quantal:
  Fix Committed

Bug description:
  [Impact]
  After Ubuntu 13.04 is released, users on 12.10 will occasionally be prompted by update-notifier about the new release.  If they click on the "Upgrade Now" button in the dialog that appears, nothing will happen.

  They can still upgrade via update-manager, but still.  That's a pile
  of fail on something users will expect to work.

  This is a regression from 12.04.

  [Test Case]
  0) Be on Ubuntu 12.10
  1) Run /usr/lib/ubuntu-release-upgrader/check-new-release-gtk -d
  2) Click the "Upgrade Now" button

  Notice how nothing happens.

  [Regression Potential]
  Very low, since it doesn't work at all now.  The changes are small and isolated to this one binary.

  [Original Report]
  I have submitted an apport report for this already, but I think it is better to submit it manually too.
  I have tried to run
  /usr/lib/ubuntu-release-upgrader/check-new-release-gtk -d
  just to see what happens next. It has found the Raring release, I have pushed the "Yes, Upgrade Now!" button, and got this:

  $ /usr/lib/ubuntu-release-upgrader/check-new-release-gtk -d
  Traceback (most recent call last):
    File "/usr/lib/ubuntu-release-upgrader/check-new-release-gtk", line 132, in on_button_upgrade_now_clicked
      _("Downloading the release upgrade tool"))
    File "/usr/lib/python3/dist-packages/DistUpgrade/GtkProgress.py", line 35, in __init__
      self.widgets = SimpleGtkbuilderApp(uifile, "ubuntu-release-upgrader")
    File "/usr/lib/python3/dist-packages/DistUpgrade/SimpleGtk3builderApp.py", line 32, in __init__
      self.builder.add_from_file(path)
    File "/usr/lib/python3/dist-packages/gi/types.py", line 47, in function
      return info.invoke(*args, **kwargs)
  gi._glib.GError: Nem sikerült megnyitni a(z) „/usr/share/ubuntu-release-upgradergtkbuilder/AcquireProgress.ui” fájlt: Nincs ilyen fájl vagy könyvtár

  (gi._glib.GError: Can't open the ...ui file: No such file or
  directory)

  That would be easy to fix, I tried to do the following to DistUpgrade/GtkProgress.py :
  -        uifile = datadir + "gtkbuilder/AcquireProgress.ui"
  +        uifile = datadir + "/gtkbuilder/AcquireProgress.ui"

  But now a brand new crash happens, and I'm stuck:

  $ /usr/lib/ubuntu-release-upgrader/check-new-release-gtk -d
  Traceback (most recent call last):
    File "/usr/lib/ubuntu-release-upgrader/check-new-release-gtk", line 132, in on_button_upgrade_now_clicked
      _("Downloading the release upgrade tool"))
    File "/usr/lib/python3/dist-packages/DistUpgrade/GtkProgress.py", line 48, in __init__
      self.window_fetch.set_transient_for(parent)
    File "/usr/lib/python3/dist-packages/gi/types.py", line 47, in function
      return info.invoke(*args, **kwargs)
  TypeError: argument parent: Expected Gtk.Window, but got __main__.CheckNewReleaseGtk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1094777/+subscriptions




More information about the foundations-bugs mailing list