Eucalyptus apport fails: AttributeError: __AptDpkgPackageInfo instance has no attribute 'get_versions'

Bug #520775 reported by Mathias Gug on 2010-02-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Dustin Kirkland 
Dustin Kirkland 

Bug Description

While trying to report an bug with apport against the eucalyptus package the eucalyptus apport hook is throwing an exception:

ubuntu@cempedak:~$ ubuntu-bug -f --package eucalyptus-cloud --save=apport_hook_fail.apport

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
hook /usr/share/apport/package-hooks// crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport/", line 639, in add_hooks_info
  File "/usr/share/apport/package-hooks//", line 24, in add_info
  File "/usr/share/apport/package-hooks//", line 13, in installed_packages
    vesion = packaging.get_versions(package)
AttributeError: __AptDpkgPackageInfo instance has no attribute 'get_versions'

ProblemType: Bug
Architecture: amd64
Date: Thu Feb 11 21:16:57 2010
DistroRelease: Ubuntu 10.04
Package: eucalyptus-cloud 1.6.2~bzr1189-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-13.18-server
SourcePackage: eucalyptus
Tags: lucid
Uname: Linux 2.6.32-13-server x86_64

Related branches

Mathias Gug (mathiaz) wrote :
Chuck Short (zulcss) wrote :

Fix is in my bzr branch.

Changed in eucalyptus (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Scott Moser (smoser) wrote :

We really need to have this fixed, if we want people to report bugs using it.
I'm pretty sure that the suggested branch is non-working.

Thierry Carrez (ttx) on 2010-03-19
Changed in eucalyptus (Ubuntu Lucid):
milestone: none → ubuntu-10.04-beta-2
Changed in eucalyptus (Ubuntu Lucid):
assignee: nobody → Dustin Kirkland (kirkland)
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6.2-0ubuntu20

eucalyptus (1.6.2-0ubuntu20) lucid; urgency=low

  [ Dustin Kirkland ]
  * Continue fixing karmic -> lucid upgrades, LP: #519513
  * debian/eucalyptus-java-common.postinst: ensure that the db dir exists
    before running euca_upgrade
  * debian/eucalyptus-common.preinst: ensure that the local conf exists
  * tools/euca_upgrade:
    - on upgrade, migrate eucalyptus.conf settings to eucalyptus.local.conf
    - on upgrade, migrated $NODES to nodes.list
  * clc/modules/msgs/conf/scripts/startup.groovy: change m1.small to 192M
    such that we can actually boot the lucid uec image, LP: #544292

  [ Scott Moser ]
  * debian/ fix AttributeError, LP: #520775
 -- Dustin Kirkland <email address hidden> Mon, 22 Mar 2010 17:22:48 -0700

Changed in eucalyptus (Ubuntu Lucid):
status: Fix Committed → Fix Released
Scott Moser (smoser) wrote :

Verified that ubuntu-bug works in
$ dpkg-query --show eucalyptus-common
eucalyptus-common 1.6.2-0ubuntu20

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

Other bug subscribers