[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

Benjamin Drung 2031919 at bugs.launchpad.net
Fri Aug 18 15:01:51 UTC 2023


** Changed in: apport (Ubuntu)
   Importance: Undecided => Medium

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

** Changed in: apport (Ubuntu)
     Assignee: (unassigned) => Simon Chopin (schopin)

-- 
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:
  Triaged

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