[Bug 1995100] Re: /usr/share/apport/whoopsie-upload-all:ValueError:/usr/share/apport/whoopsie-upload-all at 249:main:collect_info:process_report:load

Benjamin Drung 1995100 at bugs.launchpad.net
Fri Oct 28 13:00:33 UTC 2022


An example .crash files that triggers this bug would be useful.

** Description changed:

+ ```
+ Traceback (most recent call last):
+   File "/usr/share/apport/whoopsie-upload-all", line 249, in <module>
+     main()
+   File "/usr/share/apport/whoopsie-upload-all", line 231, in main
+     stamps = collect_info()
+   File "/usr/share/apport/whoopsie-upload-all", line 162, in collect_info
+     res = process_report(r)
+   File "/usr/share/apport/whoopsie-upload-all", line 76, in process_report
+     r.load(f, binary="compressed")
+   File "/usr/lib/python3/dist-packages/problem_report.py", line 166, in load
+     (key, value) = line.split(b":", 1)
+ ValueError: not enough values to unpack (expected 2, got 1)
+ ```
+ 
  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.23.1-0ubuntu3, the problem page at https://errors.ubuntu.com/problem/134ffbe13e7dd9a7f79ad6a455c6e560669a9928 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/.

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

Title:
  /usr/share/apport/whoopsie-upload-
  all:ValueError:/usr/share/apport/whoopsie-upload-
  all at 249:main:collect_info:process_report:load

Status in apport package in Ubuntu:
  New

Bug description:
  ```
  Traceback (most recent call last):
    File "/usr/share/apport/whoopsie-upload-all", line 249, in <module>
      main()
    File "/usr/share/apport/whoopsie-upload-all", line 231, in main
      stamps = collect_info()
    File "/usr/share/apport/whoopsie-upload-all", line 162, in collect_info
      res = process_report(r)
    File "/usr/share/apport/whoopsie-upload-all", line 76, in process_report
      r.load(f, binary="compressed")
    File "/usr/lib/python3/dist-packages/problem_report.py", line 166, in load
      (key, value) = line.split(b":", 1)
  ValueError: not enough values to unpack (expected 2, got 1)
  ```

  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.23.1-0ubuntu3, the problem page at https://errors.ubuntu.com/problem/134ffbe13e7dd9a7f79ad6a455c6e560669a9928 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/1995100/+subscriptions




More information about the foundations-bugs mailing list