This bug was fixed in the package apport - 2.24.0-0ubuntu1

---------------
apport (2.24.0-0ubuntu1) lunar; urgency=medium

  * New upstream bug-fix release.
    - Catch malformed problem reports (LP: #1996040)
    - Catch ValueError: not enough values to unpack (LP: #1995100)
    - Catch FileNotFoundError for missing desktop files (LP: #1997753)
    - Catch binascii.Error: Incorrect padding (LP: #1997912)
    - Catch AttributeError: NoneType object has no attribute origins
      (LP: #1997973)
  * Drop cherry-picked upstream patches
  * oem-getlogs: Use colon instead of a dot for chown command
  * Remove redundant section from apport-noui
  * Clarify that apport-noui is empty
  * Run black, isort, pydocstyle, pylint during package build

 -- Benjamin Drung <bdr...@ubuntu.com>  Thu, 08 Dec 2022 01:37:20 +0100

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1997753

Title:
  FileNotFoundError in find_package_desktopfile

Status in Apport:
  Fix Released
Status in apport package in Ubuntu:
  Fix Released

Bug description:
  Traceback (most recent call last):
    File "/usr/share/apport/apport-gtk", line 704, in <module>
      app.run_argv()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 922, in run_argv
      return self.run_crashes()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 322, in run_crashes
      self.run_crash(f)
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 379, in run_crash
      response = self.ui_present_report_details(allowed_to_report)
    File "/usr/share/apport/apport-gtk", line 302, in ui_present_report_details
      self.desktop_info = self.get_desktop_entry()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 1921, in 
get_desktop_entry
      desktop_file = apport.fileutils.find_package_desktopfile(
    File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 113, in 
find_package_desktopfile
      with open(line, "rb") as f:
  FileNotFoundError: [Errno 2] No such file or directory: 
'/etc/xdg/autostart/blueman.desktop'

  
  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/be4a07b49d3ee04d85bd885e95388a78d6f699f0 
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/1997753/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to