I'm currently updating the Apport hook of the Launchpad-hosted project LottaNZB as APPORT_REPORT_THIRD_PARTY isn't supported anymore.
However, following the instructions at http://equima.pfpfree.net/?p=144 didn't work as intended. I added a proper lottanzb-crashdb.conf file to /etc/apport/crashdb.conf.d and the following lines of code to the hook:
if not apport.packaging.is_distro_package(report['Package'].split()[0]):
report['ThirdParty'] = 'True'
report['CrashDB'] = 'lottanzb'
This doesn't work because the hook hasn't been called yet when evaluating
'CrashDB' not in report
in ui.py.
What I suggest is to execute
if report.add_hooks_info(ui):
sys.exit(0)
earlier so that 'CrashDB' can be set by the hook in time.
Or is there another way to set 'CrashDB' to 'lottanzb' earlier?
Binary package hint: apport
I'm currently updating the Apport hook of the Launchpad-hosted project LottaNZB as APPORT_ REPORT_ THIRD_PARTY isn't supported anymore.
However, following the instructions at http:// equima. pfpfree. net/?p= 144 didn't work as intended. I added a proper lottanzb- crashdb. conf file to /etc/apport/ crashdb. conf.d and the following lines of code to the hook:
if not apport. packaging. is_distro_ package( report[ 'Package' ].split( )[0]): 'ThirdParty' ] = 'True' 'CrashDB' ] = 'lottanzb'
report[
report[
This doesn't work because the hook hasn't been called yet when evaluating
'CrashDB' not in report
in ui.py.
What I suggest is to execute
if report. add_hooks_ info(ui) :
sys.exit(0)
earlier so that 'CrashDB' can be set by the hook in time.
Or is there another way to set 'CrashDB' to 'lottanzb' earlier?
ProblemType: Bug
ApportLog:
Architecture: amd64 1000:52464: 2010-02- 04 21:17:36.237123000 +0100:2010-02-04 21:45:02.145867658 +0100:/ var/crash/ _usr_bin_ lottanzb. 1000.crash 1000:5145710: 2010-01- 31 01:31:09.883974000 +0100:2010-02-04 20:40:42.595882810 +0100:/ var/crash/ _usr_lib_ nspluginwrapper _i386_linux_ npviewer. bin.1000. crash 1000:1919345: 2010-02- 04 14:11:38.423985000 +0100:2010-02-04 14:11:42.542734077 +0100:/ var/crash/ _usr_bin_ evince. 1000.crash 1000:2440384: 2010-01- 29 15:23:52.733977000 +0100:2010-02-04 20:40:42.585886637 +0100:/ var/crash/ _usr_bin_ texmaker. 1000.crash ture: all ature: Ubuntu 2.6.32- 12.16-generic
CrashReports:
600:1000:
600:1000:
600:1000:
600:1000:
Date: Thu Feb 4 21:58:15 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100113)
Package: apport 1.12-0ubuntu3
PackageArchitec
ProcEnviron:
LANG=de_CH.utf8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.32-12-generic x86_64