Public bug reported:

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@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)

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1312126

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to