[Bug 2072634] Re: /usr/bin/update-manager:TypeError:/usr/bin/update-manager at 40:/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py at 52:/usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py at 32:_find_and_load:_find_and_load_unlocked:_load_unlocked:_load_backward_compatible:load_module:import_module:_gcd_import:_find_and_load:_find_and_load_unlocked:_load_unlocked:_load_backward_compatible:load_module:load_overrides:import_module:/usr/lib/python3/dist-packages/gi/overrides/Dee.py at 53:__getattr__:__init__

Nathan Teodosio 2072634 at bugs.launchpad.net
Wed Jul 10 12:46:11 UTC 2024


** Merge proposal linked:
   https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/469108

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2072634

Title:
  /usr/bin/update-manager:TypeError:/usr/bin/update-
  manager at 40:/usr/lib/python3/dist-
  packages/UpdateManager/UpdateManager.py at 52:/usr/lib/python3/dist-
  packages/UpdateManager/UnitySupport.py at 32:_find_and_load:_find_and_load_unlocked:_load_unlocked:_load_backward_compatible:load_module:import_module:_gcd_import:_find_and_load:_find_and_load_unlocked:_load_unlocked:_load_backward_compatible:load_module:load_overrides:import_module:/usr/lib/python3/dist-
  packages/gi/overrides/Dee.py at 53:__getattr__:__init__

Status in update-manager package in Ubuntu:
  Triaged
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 Ubuntu-sponsors mailing list