[Bug 2054197] Re: update-manager crashed with TypeError in _look_busy(): constructor returned NULL

Nathan Teodosio 2054197 at bugs.launchpad.net
Mon Apr 15 09:16:40 UTC 2024


1. Testing that the other way around (3->4), I get

--->
% ./update-manager --data-dir=$PWD/data
Traceback (most recent call last):
  File "/home/nteodosio/canonical/ubuntu-pro/update-manager/./update-manager", line 38, in <module>
    from UpdateManager.UpdateManager import UpdateManager
  File "/home/nteodosio/canonical/ubuntu-pro/update-manager/UpdateManager/UpdateManager.py", line 24, in <module>
    gi.require_version('Gdk', '4.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 113, in require_version
    raise ValueError('Namespace %s is already loaded with version %s' %
ValueError: Namespace Gdk is already loaded with version 3.0
<---

So I think this would just introduce such error in the other direction
(4->3).

2. Actually the new_from_name constructor has different signatures in
Gdk 3 and 4.

I also couldn't reproduce the issue in an unaltered Noble beta ISO.

As such, I suggest to let this sit unattended until confirmed.

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

Title:
  update-manager crashed with TypeError in _look_busy(): constructor
  returned NULL

Status in update-manager package in Ubuntu:
  New

Bug description:
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 357, in _look_busy
      self.get_window().set_cursor(Gdk.Cursor.new(Gdk.CursorType.WATCH))
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  TypeError: constructor returned NULL

  ProblemType: Crash
  DistroRelease: Ubuntu 24.04
  Package: update-manager 1:24.04.4
  ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3
  Uname: Linux 6.6.0-14-generic x86_64
  ApportVersion: 2.27.0-0ubuntu6
  Architecture: amd64
  CasperMD5CheckResult: pass
  CrashCounter: 1
  CurrentDesktop: GNOME
  Date: Sat Feb 17 09:26:44 2024
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'launch-count' b'178'
   b'com.ubuntu.update-manager' b'launch-time' b'int64 1708179933'
  InstallationDate: Installed on 2023-10-01 (139 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
  InterpreterPath: /usr/bin/python3.11
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/update-manager
  ProcEnviron:
   LANG=es_CO.UTF-8
   LANGUAGE=es_CO:es
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  Python3Details: /usr/bin/python3.11, Python 3.11.8, python3-minimal, 3.11.4-5ubuntu1
  PythonArgs: ['/usr/bin/update-manager']
  PythonDetails: N/A
  SourcePackage: update-manager
  Title: update-manager crashed with TypeError in _look_busy(): constructor returned NULL
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2054197/+subscriptions




More information about the foundations-bugs mailing list