I can't reproduce this exact error, but I do get an error if the Gdk imported is version 4:
>>> from gi.repository import Gdk <stdin>:1: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '4.0') before import to ensure that the right version gets loaded. >>> Gdk.Cursor.new(Gdk.CursorType.WATCH) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: type object 'Cursor' has no attribute 'new'. Did you mean: 'newv'? After all the new constructor only exists in Gdk 3. I see two possible solutions: 1. Do as suggested and require the specific Gdk version with gi.require_version('Gdk', '3.0') 2. Use a constructor that exists in both Gdk versions: Gdk.Cursor.new_from_name("wait", None) ** Description changed: - Nothing + 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' + 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> + 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2054197 Title: update-manager crashed with TypeError in _look_busy(): constructor returned NULL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2054197/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs