[Bug 1997753] Re: FileNotFoundError in find_package_desktopfile

Benjamin Drung 1997753 at bugs.launchpad.net
Thu Nov 24 12:42:19 UTC 2022


Proposed fix: https://github.com/canonical/apport/pull/27

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

Title:
  FileNotFoundError in find_package_desktopfile

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

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




More information about the foundations-bugs mailing list