apport-hook in GPM no longer attaches gnome-power-bugreport.sh

Bug #397993 reported by Scott Howard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gnome-power-manager

Release of Ubuntu: 9.10
Package Version: 2.27.2-0ubuntu1
Expected Results: when using apport-collect or reporting a bug, the output of /usr/share/gnome-power-manager/gnome-power-bugreport should be added to the report. This worked in 9.04
Actual Results: see the attachments from bug #383637

Changed in gnome-power-manager (Ubuntu):
importance: Undecided → Low
Changed in gnome-power-manager (Ubuntu):
assignee: nobody → Scott Howard (showard314)
status: New → Triaged
Revision history for this message
Scott Howard (showard314) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Alpha amd64 (20090610.1)
Package: gnome-power-manager 2.27.2-0ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.30-8.9-generic
Uname: Linux 2.6.30-8-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Scott Howard (showard314) wrote :
Revision history for this message
Scott Howard (showard314) wrote :
Revision history for this message
Scott Howard (showard314) wrote :
Revision history for this message
Scott Howard (showard314) wrote :

the above is from 2.27.2-0ubuntu1's apport script, the following is from my patched script

Revision history for this message
Scott Howard (showard314) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Alpha amd64 (20090610.1)
Package: gnome-power-manager 2.27.2-0ubuntu1 [modified: usr/share/apport/package-hooks/source_gnome-power-manager.py]
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.30-8.9-generic
Uname: Linux 2.6.30-8-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Scott Howard (showard314) wrote :
Revision history for this message
Scott Howard (showard314) wrote :
Revision history for this message
Scott Howard (showard314) wrote :
Revision history for this message
Scott Howard (showard314) wrote :
Revision history for this message
Scott Howard (showard314) wrote :

This debdiff adds gnome-power-bugreport.sh output to apport's gnome-power-manager script.

I believe it was removed since it uses HAL and replaced with "devkit-power -d"

However, gnome-power-bugreport.sh is the upstream's tool for adding information to bug reports, and they request that it is attach to their bug reports. Including this will reduce bug email ping pong. When upstream changes gnome-power-bugreport.sh to use devicekit instead of HAL, we will still be getting the output of the script.

Changed in gnome-power-manager (Ubuntu):
assignee: Scott Howard (showard314) → nobody
Revision history for this message
Scott Howard (showard314) wrote :

I also added the above debdiff as a branch: lp:~showard314/gnome-power/apport-gnome-power-bugreport

which method do you prefer for future patches to the GPM packaging?

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks, Scott! Merging bzr branches is very convenient, but applying a debdiff is trivial, too, so I don't really mind too much. I'd say, for one casual patch a debdiff is easier for you, but if you want to work with g-p-m more closely, then bzr is definitively better (bzr-builddeb, merging with trunk, etc.).

Revision history for this message
Martin Pitt (pitti) wrote :

Merged, thanks!

Changed in gnome-power-manager (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-power-manager - 2.27.2-0ubuntu2

---------------
gnome-power-manager (2.27.2-0ubuntu2) karmic; urgency=low

  [ Martin Pitt ]
  * Add crash-when-battery-charge-full.patch: Fix crash when battery gets
    fully charged. Thanks to Arnaud Faucher! (LP: #397248)

  [ Scott Howard ]
  * debian/local/source_gnome-power-manager.py: Add gnome-power-bugreport.sh
    output. Upstream uses this script for triaging. (LP: #397993)

 -- Martin Pitt <email address hidden> Mon, 13 Jul 2009 10:10:56 +0200

Changed in gnome-power-manager (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Scott Howard (showard314) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
Uname: Linux 2.6.31-2-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

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.