Comment 0 for bug 1094777

Revision history for this message
Gabor Kelemen (kelemeng) wrote : Can't use c-n-r-gtk to initate Quantal -> Raring update

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