[Bug 989443] Re: apport-collect crashes when no matching packages found
[Expired for apport (Ubuntu) because there has been no activity for 60 days.] ** Changed in: apport (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 989443] Re: apport-collect crashes when no matching packages found
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: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 989443] Re: apport-collect crashes when no matching packages found
Just ran into this with Ubuntu 13.10 when viewing the report, i386, apport 2.12.5-0ubuntu2: root@zbox:~# apport-collect 1248053 ... The collected information can be sent to the developers to improve the application. This might take a few minutes. ..dpkg-query: no packages found matching linux ... *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (972.0 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): v Traceback (most recent call last): File "/usr/bin/apport-cli", line 367, in if not app.run_argv(): File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 656, in run_argv return self.run_update_report() File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 572, in run_update_report response = self.ui_present_report_details(allowed_to_report) File "/usr/bin/apport-cli", line 206, in ui_present_report_details self.collect_info() File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 969, in collect_info if self.report['ProblemType'] == 'Crash': File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'ProblemType' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 989443] Re: apport-collect crashes when no matching packages found
This bug can be found partly in Ubuntu 13.04. When you run apport- collect with no matching packages, apport-collect succeeded to finish, but there is a python script that crashes. I can't remember exactly what the name was (maybe something related to cloud), and when I tried to reproduce it with example run in this bug's description, it accidentally flooded wrong bug with lots of attachments. I can try to reproduce the bug and find the name of the crashing python script, if someone can tell how not to flood other bugs :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 989443] Re: apport-collect crashes when no matching packages found
Same bug for me! Error log: $ apport-collect -p linux 1023141 Nessun pacchetto corrispondente a linux. ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport/report.py", line 718, in add_hooks_info symb['add_info'](self, ui) File "/usr/share/apport/general-hooks/ubuntu.py", line 45, in add_info match_error_messages(report) File "/usr/share/apport/general-hooks/ubuntu.py", line 129, in match_error_messages if report['ProblemType'] == 'Package': File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'ProblemType' Traceback (most recent call last): File "/usr/share/apport/apport-gtk", line 499, in GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view)) File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 867, in collect_info icthread.exc_raise() File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run self._retval = self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 111, in thread_collect_info if report['ProblemType'] == 'Crash' and \ File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'ProblemType' OS: $ lsb_release -dr Description:Ubuntu 12.04 LTS Release:12.04 $ uname -a Linux eliah-precise 3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686 athlon i386 GNU/Linux Apport version: $ apt-cache policy apport apport: Installato: 2.0.1-0ubuntu8 Candidato: 2.0.1-0ubuntu8 Tabella versione: *** 2.0.1-0ubuntu8 0 500 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages 100 /var/lib/dpkg/status 2.0.1-0ubuntu5 0 500 http://it.archive.ubuntu.com/ubuntu/ precise/main i386 Packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 989443] Re: apport-collect crashes when no matching packages found
** Tags added: amd64 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 989443] Re: apport-collect crashes when no matching packages found
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apport (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 989443] Re: apport-collect crashes when no matching packages found
I am having the same problem. apt-cache policy apport apport: Installed: 2.0.1-0ubuntu7 Candidate: 2.0.1-0ubuntu7 Version table: *** 2.0.1-0ubuntu7 0 500 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 100 /var/lib/dpkg/status 2.0.1-0ubuntu5 0 500 http://ca.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages The error output is: $ apport-collect 997132 No packages found matching linux. ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport/report.py", line 718, in add_hooks_info symb['add_info'](self, ui) File "/usr/share/apport/general-hooks/ubuntu.py", line 45, in add_info match_error_messages(report) File "/usr/share/apport/general-hooks/ubuntu.py", line 129, in match_error_messages if report['ProblemType'] == 'Package': File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'ProblemType' Traceback (most recent call last): File "/usr/share/apport/apport-gtk", line 499, in GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view)) File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 867, in collect_info icthread.exc_raise() File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run self._retval = self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 111, in thread_collect_info if report['ProblemType'] == 'Crash' and \ File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'ProblemType' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 989443] Re: apport-collect crashes when no matching packages found
** Changed in: apport (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 989443] Re: apport-collect crashes when no matching packages found
** Description changed: 1) lsb_release -rd Description: Ubuntu 12.04 LTS Release: 12.04 2) apt-cache policy apport apport: Installed: 2.0.1-0ubuntu6 Candidate: 2.0.1-0ubuntu6 Version table: *** 2.0.1-0ubuntu6 0 500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu/ precise-proposed/main amd64 Packages 100 /var/lib/dpkg/status 2.0.1-0ubuntu5 0 500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages - 3) I expect apport to collect information for bug report. + 3) I expect apport to collect information for bug report, or to inform + that no matching packages found and then closing. 4) apport-collect crashes with following information (example run): ## EXAMPLE RUN STARTED apport-collect 989226 No packages found matching linux. ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport/report.py", line 718, in add_hooks_info symb['add_info'](self, ui) File "/usr/share/apport/general-hooks/ubuntu.py", line 45, in add_info match_error_messages(report) File "/usr/share/apport/general-hooks/ubuntu.py", line 129, in match_error_messages if report['ProblemType'] == 'Package': File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'ProblemType' Traceback (most recent call last): File "/usr/share/apport/apport-gtk", line 499, in GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view)) File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 861, in collect_info icthread.exc_raise() File "/usr/lib/python2.7/dist-packages/apport/REThread.py", line 34, in run self._retval = self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 111, in thread_collect_info if report['ProblemType'] == 'Crash' and \ File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'ProblemType' ## EXAMPLE RUN STOPPED --- ApportVersion: 2.0.1-0ubuntu6 Architecture: amd64 CrashReports: 664:1000:1000:0:2012-04-26 22:35:07.560130943 +0300:2012-04-26 22:35:07.560130943 +0300:/var/crash/_usr_bin_compiz.1000.upload 640:103:107:598138:2012-04-26 22:33:38.552153000 +0300:2012-04-26 22:33:39.552153000 +0300:/var/crash/_usr_lib_x86_64-linux-gnu_colord_colord.103.crash 640:1000:1000:470313:2012-04-26 22:34:09.26479 +0300:2012-04-26 22:34:10.26479 +0300:/var/crash/_usr_bin_compiz.1000.crash 640:1000:1000:6367607:2012-04-26 19:22:25.169509000 +0300:2012-04-26 19:22:29.897509468 +0300:/var/crash/_usr_lib_docky_Docky.exe.1000.crash 644:0:0:0:2012-04-26 22:35:01.063380677 +0300:2012-04-26 22:35:01.063380677 +0300:/var/crash/_usr_lib_x86_64-linux-gnu_colord_colord.103.upload DistroRelease: Ubuntu 12.04 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120118) Package: apport 2.0.1-0ubuntu6 PackageArchitecture: all ProcEnviron: LANGUAGE=en_US:en TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Tags: precise Uname: Linux 3.2.0-24-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989443 Title: apport-collect crashes when no matching packages found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/989443/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs