[Bug 1312126] Re: crash because of a missing file in the package to be reported

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 13:11:43 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

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

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

Title:
  crash because of a missing file in the package to be reported

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  I wanted to report a bug in package psensor.
  To fix the problem with psensor I renamed /etc/xdg/autostart/psensor.desktop  to /etc/xdg/autostart/psensor.desktop_NOO.

  When I gave ubuntu-bug psensor
  ubuntu-bug crashed with the following trackeback

  igor at MobilIgor5a:~/hack/psensor$ ubuntu-bug psensor
  Traceback (most recent call last):
    File "/usr/share/apport/apport-kde", line 533, in <module>
      sys.exit(UserInterface.run_argv())
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 672, in run_argv
      return self.run_report_bug()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 510, in run_report_bug
      response = self.ui_present_report_details(allowed_to_report)
    File "/usr/share/apport/apport-kde", line 353, in ui_present_report_details
      desktop_info = self.get_desktop_entry()
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 1324, in get_desktop_entry
      desktop_file = apport.fileutils.find_package_desktopfile(self.cur_package)
    File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 59, in find_package_desktopfile
      with open(line, 'rb') as f:
  FileNotFoundError: [Errno 2] No such file or directory: '/etc/xdg/autostart/psensor.desktop'

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: apport 2.14.1-0ubuntu3
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportLog:
   
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Thu Apr 24 13:27:31 2014
  InstallationDate: Installed on 2012-02-18 (795 days ago)
  InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: Upgraded to trusty on 2014-04-20 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1312126/+subscriptions



More information about the foundations-bugs mailing list