[apport] package_hook crashed with ValueError in _get_field()

Bug #97636 reported by Herman Weksler
10
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: apport

ubuntu 7.04 beta, downloaded by: "upgrade-manager -d"

ProblemType: Crash
Architecture: i386
CrashReports:
 600:0:0:7500:2007-03-28 20:11:25.000000000 -0300:2007-03-28 20:20:28.000000000 -0300:/var/crash/_usr_share_apport_package_hook.0.crash
 644:0:0:185:2007-03-28 20:14:26.000000000 -0300:2007-03-28 20:14:26.000000000 -0300:/var/crash/wacom-tools.0.crash
 644:0:0:189:2007-03-28 20:14:29.000000000 -0300:2007-03-28 20:14:29.000000000 -0300:/var/crash/xserver-xorg-input-all.0.crash
 644:0:0:198:2007-03-28 20:14:28.000000000 -0300:2007-03-28 20:14:28.000000000 -0300:/var/crash/xserver-xorg-input-wacom.0.crash
Date: Wed Mar 28 20:11:26 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/share/apport/package_hook
InterpreterPath: /usr/bin/python2.5
Package: apport 0.71
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/apport/package_hook -p setserial -l /var/log/dist-upgrader/
ProcCwd: /tmp/tmpgAv8R8
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=pt_BR.UTF-8
 LANGUAGE=pt_BR:pt:en
PythonArgs: ['/usr/share/apport/package_hook', '-p', 'setserial', '-l', '/var/log/dist-upgrader/']
SourcePackage: apport
Uname: Linux herman-desktop 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux

Revision history for this message
Herman Weksler (herman-weksler) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Heh, it probably tried to collect information about a package that couldn't be installed.

Changed in apport:
assignee: nobody → pitti
status: Unconfirmed → In Progress
Martin Pitt (pitti)
Changed in apport:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 apport (0.74) feisty; urgency=low
 .
   * debian/apport-{gtk,qt}.install: Do not install .desktop files for now,
     until we get a proper guided bug reporting.
   * problem_report.py, write_mime(): Do not re-compress keys which already end
     in .gz. Add test cases.
   * test-hooks: Add a (dodgy) test case for calling package_hook on an
     uninstalled package. After all, this is very likely to happen for
     installation errors. This reproduces #97636.
   * backends/packaging-dpkg.py, get_source(): Add a similarly dodgy fallback
     to apt if the queried package is not installed. This needs to be
     generalized and cleaned up later, but now is the time for unintrusive
     small patches. (LP: #97636)
   * test-apport: Do not fail on non-empty gdb stderr if it only consists of a
     single warning (as happens on powerpc).
   * apport/report.py, test_check_interpreted(): Run gedit test on an actually
     existing file, reproducing the interpreter confusion reported in #102056.
   * apport/report.py, _check_interpreted(): Add a whitelist of common
     interpreters and check ExecutablePath against it. (LP: #102056)
   * apport/ui.py: Ignore SystemError exceptions from apt, which happen on
     badly formatted source.list entries. (LP: #98901)
   * apport/ui.py: Fix crash on None candiateOrigin from the apt cache object.
     (LP: #98961)
   * gtk/apport-gtk.glade: Add window titles to progress and details dialogs.
     (LP: #97640)

Changed in apport:
status: Fix Committed → Fix Released
Revision history for this message
Herman Weksler (herman-weksler) wrote :

Meanwhile I left Ubuntu 7.04 (erased completly) and restarted Ubuntu 6.10 from zero.
Herman Weksler

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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