[Bug 1936698] Re: check-new-release-gtk crashed with ValueError in require_version(): Namespace Gtk is already loaded with version 4.0

Brian Murray 1936698 at bugs.launchpad.net
Fri Jul 16 22:31:24 UTC 2021


This will also produce a Traceback on Ubuntu 21.04 if gir1.2-gtk-4.0 is
installed. In addition to the Traceback in comment #1 it can also
produce the following one:

"Traceback (most recent call last):\n  File \"/usr/lib/ubuntu-release-
upgrader/check-new-release-gtk\", line 30, in <module>\n    from
gi.repository import Gtk\n  File \"<frozen importlib._bootstrap>\", line
1007, in _find_and_load\n  File \"<frozen importlib._bootstrap>\", line
986, in _find_and_load_unlocked\n  File \"<frozen
importlib._bootstrap>\", line 664, in _load_unlocked\n  File \"<frozen
importlib._bootstrap>\", line 627, in _load_backward_compatible\n  File
\"/usr/lib/python3/dist-packages/gi/importer.py\", line 145, in
load_module\n    dynamic_module = load_overrides(introspection_module)\n
File \"/usr/lib/python3/dist-packages/gi/overrides/__init__.py\", line
118, in load_overrides\n    override_mod =
importlib.import_module(override_package_name)\n  File
\"/usr/lib/python3.9/importlib/__init__.py\", line 127, in
import_module\n    return _bootstrap._gcd_import(name[level:], package,
level)\n  File \"/usr/lib/python3/dist-packages/gi/overrides/Gtk.py\",
line 168, in <module>\n    class Container(Gtk.Container, Widget):\n
File \"/usr/lib/python3/dist-packages/gi/module.py\", line 123, in
__getattr__\n    raise AttributeError(\"%r object has no attribute %r\"
% (\nAttributeError: ''gi.repository.Gtk'' object has no attribute
''Container''\n"

** Also affects: ubuntu-release-upgrader (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu)
     Assignee: (unassigned) => Brian Murray (brian-murray)

-- 
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/1936698

Title:
  check-new-release-gtk crashed with ValueError in require_version():
  Namespace Gtk is already loaded with version 4.0

Status in ubuntu-release-upgrader package in Ubuntu:
  In Progress
Status in ubuntu-release-upgrader source package in Hirsute:
  New

Bug description:
  I think you know what's going on here.

  ProblemType: Crash
  DistroRelease: Ubuntu 21.10
  Package: ubuntu-release-upgrader-gtk 1:21.10.4
  ProcVersionSignature: Ubuntu 5.11.0-22.23-generic 5.11.21
  Uname: Linux 5.11.0-22-generic x86_64
  ApportVersion: 2.20.11-0ubuntu67
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashCounter: 1
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Jul 16 14:19:22 2021
  ExecutablePath: /usr/lib/ubuntu-release-upgrader/check-new-release-gtk
  InstallationDate: Installed on 2016-01-22 (2002 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160117)
  InterpreterPath: /usr/bin/python3.9
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release-gtk
  Python3Details: /usr/bin/python3.9, Python 3.9.6, python3-minimal, 3.9.4-1
  PythonArgs: ['/usr/lib/ubuntu-release-upgrader/check-new-release-gtk']
  PythonDetails: N/A
  SourcePackage: ubuntu-release-upgrader
  Title: check-new-release-gtk crashed with ValueError in require_version(): Namespace Gtk is already loaded with version 4.0
  UpgradeStatus: Upgraded to impish on 2021-07-16 (0 days ago)
  UserGroups: adm cdrom dip libvirt libvirtd lpadmin lxd plugdev sambashare sudo
  VarLogDistupgradeTermlog:

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




More information about the foundations-bugs mailing list