check-new-release-gtk exits with PyGIWarning:GTK

Bug #1848629 reported by Bill (franksmcb)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
Medium
Brian Murray

Bug Description

Ubuntu MATE 19.04.

Try to upgrade to release 19.10.

Expected Result:
run Alt+F2 then check-new-release-gtk
GUI option to upgrade should be presented

Actual Result:
Alt+F2 window closes and nothing occurs.

Run this command in the terminal and the following is generated:
/usr/lib/ubuntu-release-upgrader/check-new-release-gtk:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
WARNING:root:timeout reached, exiting

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: ubuntu-release-upgrader-core 1:19.04.16.6 [origin: unknown]
ProcVersionSignature: Ubuntu 5.0.0-31.33-generic 5.0.21
Uname: Linux 5.0.0-31-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: MATE
Date: Thu Oct 17 22:52:18 2019
InstallationDate: Installed on 2019-04-25 (175 days ago)
InstallationMedia: Ubuntu-MATE 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bill (franksmcb) (franksmcb) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
Bill (franksmcb) (franksmcb) wrote :

This is working using Ubuntu MATE 18.04 and upgrading to Ubuntu MATE 20.04

However I do get this error message in the terminal:

Checking for a new Ubuntu release
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk
/usr/lib/python3/dist-packages/DistUpgrade/ReleaseNotesViewerWebkit.py:33: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import WebKit2 as WebKit
Gtk-Message: 18:05:07.506: GtkDialog mapped without a transient parent. This is discouraged.
error: XDG_RUNTIME_DIR not set in the environment.
authenticate 'eoan.tar.gz' against 'eoan.tar.gz.gpg'
extracting 'eoan.tar.gz'

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1848629

tags: added: iso-testing
Revision history for this message
Brian Murray (brian-murray) wrote :

check-new-release-gtk didn't exit because of the PyGIWarning rather it was because of a failure to get the meta-release information from changelogs.ubuntu.com. However, because this warning message is confusing I'll go ahead and fix this and use this bug for that issue.

Changed in ubuntu-release-upgrader (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:20.04.17

---------------
ubuntu-release-upgrader (1:20.04.17) focal; urgency=medium

  * DistUpgrade/DistUpgradeFetcher.py,
    DistUpgrade/ReleaseNotesViewerWebkit.py: use gi.require_version so that
    the right version gets loaded and warning messages are not displayed.
    (LP: #1848629)

 -- Brian Murray <email address hidden> Fri, 03 Apr 2020 07:33:01 -0700

Changed in ubuntu-release-upgrader (Ubuntu):
status: In Progress → Fix Released
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.