wxBanker has no apport support

Bug #617651 reported by Luke Jennings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wxBanker
Fix Released
Medium
Unassigned

Bug Description

I noticed that Wxbanker ahs no support for apport so I wrote the apport stuff for you. This is an example of a bug from apport. I have attached two files.
/usr/share/apport/package-hooks/ is where source_wxbanker.py goes.
/etc/apport/crashdb.conf.d is where wxbanker-crashdb.conf goes.

You can put them in those locations and run ubuntu-bug wxbanker in the terminal or by pressing alt+f2 and test it. Feel free to use them in wxbanker.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: wxbanker 0.8.0~ppa1~10.04
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CrashDB: wxbanker
Date: Sat Aug 14 00:16:07 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: wxbanker
ThirdParty: True

Revision history for this message
Luke Jennings (ubuntujenkins) wrote :
Revision history for this message
Luke Jennings (ubuntujenkins) wrote :
Revision history for this message
Michael Rooney (mrooney) wrote :

Wow, that's really awesome, thanks! I will attempt to package and incorporate this for 0.8.1. If you happen to know of a packaging example to look at that ships these files, let me know, but if I recall it is fairly straightforward.

Hopefully it will help with getting better bug reports and feedback. Would you happen to know if it will still allow bugs to be reported from PPA installations, and if I can grab other information as well, ideally all of env which is what allowed me to figure out the global menu bar bug.

Changed in wxbanker:
importance: Undecided → Medium
milestone: none → 0.8.1
status: New → Triaged
Revision history for this message
Luke Jennings (ubuntujenkins) wrote :

No problem it works for ppa's as thats what filed this bug with, I will be working out how to package these myself so if i get it done I will post the debian rules file for you to look at. As for "env" I am unsure what you mean it is possible to attach most things to a bug report with apport. Although I am rather new to it myself.

Michael Rooney (mrooney)
summary: - Wxbanker has no apport support
+ wxBanker has no apport support
Revision history for this message
Michael Rooney (mrooney) wrote :

It works, thanks! I put the two hook files in a "hooks" directory in my source root, and then in the packaging I added a "debian/wxbanker.install" (the name should correspond to your package name in debian/control), and added these two lines:

hooks/source_wxbanker.py /usr/share/apport/package-hooks/
hooks/wxbanker-crashdb.conf /etc/apport/crashdb.conf.d/

so it is just a simple file where you specify the source and destination. Very cool stuff, this will make wxBanker much more useful, thanks again!

Changed in wxbanker:
status: Triaged → Fix Committed
Michael Rooney (mrooney)
Changed in wxbanker:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.