[Bug 1980561] [NEW] apport-gtk: ImportError: cannot import name '_gi' from partially initialized module 'gi'

errors.ubuntu.com bug bridge 1980561 at bugs.launchpad.net
Sat Jul 2 10:11:16 UTC 2022


Public bug reported:

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 16, in <module>
    import gi
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
    from . import _gi
ImportError: cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/__init__.py)

The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/f5c8cca5c7852cd7b758bc7cb0add4221c47ebf5 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/.

** Affects: apport
     Importance: Undecided
         Status: New

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: focal groovy hirsute impish jammy

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

Title:
  apport-gtk: ImportError: cannot import name '_gi' from partially
  initialized module 'gi'

Status in Apport:
  New
Status in apport package in Ubuntu:
  New

Bug description:
  Traceback (most recent call last):
    File "/usr/share/apport/apport-gtk", line 16, in <module>
      import gi
    File "/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
      from . import _gi
  ImportError: cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/__init__.py)

  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/f5c8cca5c7852cd7b758bc7cb0add4221c47ebf5 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/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1980561/+subscriptions




More information about the foundations-bugs mailing list