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

Bug #520775 reported by Mathias Gug
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Fix Released
Medium
Dustin Kirkland 
Lucid
Fix Released
Medium
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//source_eucalyptus.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 639, in add_hooks_info
    symb['add_info'](self)
  File "/usr/share/apport/package-hooks//source_eucalyptus.py", line 24, in add_info
    installed_packages(report)
  File "/usr/share/apport/package-hooks//source_eucalyptus.py", 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
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-13.18-server
SourcePackage: eucalyptus
Tags: lucid
Uname: Linux 2.6.32-13-server x86_64

Related branches

Revision history for this message
Mathias Gug (mathiaz) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Fix is in my bzr branch.

Changed in eucalyptus (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
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)
Changed in eucalyptus (Ubuntu Lucid):
milestone: none → ubuntu-10.04-beta-2
Revision history for this message
Scott Moser (smoser) wrote :
Changed in eucalyptus (Ubuntu Lucid):
assignee: nobody → Dustin Kirkland (kirkland)
status: Confirmed → Fix Committed
Revision history for this message
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/source_eucalyptus.py: 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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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