[Bug 2072634] Re: TypeError exception when importing Unity
Launchpad Bug Tracker
2072634 at bugs.launchpad.net
Wed Sep 4 01:24:26 UTC 2024
This bug was fixed in the package update-manager - 1:24.10.5
---------------
update-manager (1:24.10.5) oracular; urgency=medium
[ Nathan Pratta Teodosio ]
* Ignore TypeError exceptions to importing Unity (LP: #2072634).
Unity is imported just for integration, which is not essential to
Update Manager functionality, so if for whatever GI quirks it fails to
be imported, Update Manager ought not to crash.
-- Dan Bungert <daniel.bungert at canonical.com> Tue, 03 Sep 2024
14:32:14 -0600
** Changed in: update-manager (Ubuntu)
Status: Fix Committed => Fix Released
--
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/2072634
Title:
TypeError exception when importing Unity
Status in update-manager package in Ubuntu:
Fix Released
Status in update-manager source package in Jammy:
New
Status in update-manager source package in Noble:
New
Bug description:
The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager. This problem was most recently seen with package version 1:22.04.20, the problem page at https://errors.ubuntu.com/problem/af02cc88fe2c9ba4f19be66fd01813a196dfcfb5 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
Traceback (most recent call last):
File "/usr/bin/update-manager", line 40, in <module>
from UpdateManager.UpdateManager import UpdateManager
File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 52, in <module>
from .UnitySupport import UnitySupport
File "/usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py", line 32, in <module>
from gi.repository import Dbusmenu, Unity
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 672, in _load_unlocked
File "<frozen importlib._bootstrap>", line 632, in _load_backward_compatible
File "/usr/lib/python3/dist-packages/gi/importer.py", line 149, in load_module
importlib.import_module('gi.repository.' + dep.split("-")[0])
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 672, in _load_unlocked
File "<frozen importlib._bootstrap>", line 632, in _load_backward_compatible
File "/usr/lib/python3/dist-packages/gi/importer.py", line 150, in load_module
dynamic_module = load_overrides(introspection_module)
File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 118, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/lib/python3/dist-packages/gi/overrides/Dee.py", line 53, in <module>
class Model(Dee.Model):
File "/usr/lib/python3/dist-packages/gi/module.py", line 207, in __getattr__
wrapper = metaclass(name, bases, dict_)
File "/usr/lib/python3/dist-packages/gi/types.py", line 247, in __init__
register_interface_info(cls.__info__.get_g_type())
TypeError: must be an interface
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2072634/+subscriptions
More information about the foundations-bugs
mailing list