[Bug 2031919] Re: /usr/share/apport/whoopsie-upload-all:TypeError:/usr/share/apport/whoopsie-upload-all at 247:main:collect_info:process_report:add_gdb_info

Launchpad Bug Tracker 2031919 at bugs.launchpad.net
Fri Sep 29 05:43:42 UTC 2023


This bug was fixed in the package apport - 2.27.0-0ubuntu3

---------------
apport (2.27.0-0ubuntu3) mantic; urgency=medium

  * fix: raise "gdb not found" as soon as detected (LP: #2031919)
  * bash-completion: Do not use ls in completion (LP: #1850804)

 -- Benjamin Drung <bdrung at ubuntu.com>  Fri, 29 Sep 2023 01:03:44 +0200

** Changed in: apport (Ubuntu)
       Status: Triaged => Fix Released

-- 
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/2031919

Title:
  /usr/share/apport/whoopsie-upload-
  all:TypeError:/usr/share/apport/whoopsie-upload-
  all at 247:main:collect_info:process_report:add_gdb_info

Status in apport package in Ubuntu:
  Fix Released

Bug description:
  ```
  Traceback (most recent call last):
    File "/usr/share/apport/whoopsie-upload-all", line 247, in <module>
      main()
    File "/usr/share/apport/whoopsie-upload-all", line 229, in main
      stamps = collect_info()
               ^^^^^^^^^^^^^^
    File "/usr/share/apport/whoopsie-upload-all", line 160, in collect_info
      res = process_report(r)
            ^^^^^^^^^^^^^^^^^
    File "/usr/share/apport/whoopsie-upload-all", line 108, in process_report
      r.add_gdb_info()
    File "/usr/lib/python3/dist-packages/apport/report.py", line 930, in add_gdb_info
      environ["HOME"] = "/nonexistent"
      ~~~~~~~^^^^^^^^
  TypeError: 'str' object does not support item assignment
  ```

  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.26.1-0ubuntu2, the problem page at https://errors.ubuntu.com/problem/86a1629347349acf400d91c9774296b42c1ab1f3 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/ubuntu/+source/apport/+bug/2031919/+subscriptions




More information about the foundations-bugs mailing list