** Description changed:

  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:
+ However, following the instructions at
+ https://wiki.ubuntu.com/Apport/DeveloperHowTo 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'
+     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)
+     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
  CrashReports:
-  600:1000: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
-  600:1000: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
-  600:1000: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
-  600:1000: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
+  600:1000: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
+  600:1000: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
+  600:1000: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
+  600:1000: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
  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
  PackageArchitecture: all
  ProcEnviron:
-  LANG=de_CH.utf8
-  SHELL=/bin/bash
+  LANG=de_CH.utf8
+  SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.32-12.16-generic
  SourcePackage: apport
  Uname: Linux 2.6.32-12-generic x86_64

-- 
report['UnreportableReason'] set before calling report.add_hooks_info
https://bugs.launchpad.net/bugs/517272
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to