AttributeError: 'SettingGroup' object has no attribute 'add_option'

Bug #550666 reported by Paul Sladen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

$ sudo ./build.sh
Traceback (most recent call last):
  File "/usr/bin/vmbuilder", line 24, in <module>
    cli.main()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 59, in main
    hypervisor, distro = self.handle_args(optparser, sys.argv[1:])
  File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 160, in handle_args
    hypervisor = VMBuilder.get_hypervisor(args[0])(distro)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/hypervisor.py", line 32, in __init__
    super(Hypervisor, self).__init__()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 30, in __init__
    super(Context, self).__init__(self)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/__init__.py", line 46, in __init__
    self.register_options()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/xen/vm.py", line 34, in register_options
    group.add_option('--xen-kernel', metavar='PATH', help='Path to the kernel to use (e.g.: /boot/vmlinux-2.6.27-7-server). Default depends on distribution and suite')
AttributeError: 'SettingGroup' object has no attribute 'add_option'

...as the Python API changed?

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

Which version is this with?

Changed in vm-builder (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vm-builder - 0.12.3-0ubuntu1

---------------
vm-builder (0.12.3-0ubuntu1) lucid; urgency=low

  * New upstream bugfix release. (LP: #530331, #531409, #460398, #538674,
    #550666, possibly others)
 -- Soren Hansen <email address hidden> Mon, 29 Mar 2010 22:22:49 -0500

Changed in vm-builder (Ubuntu):
status: Incomplete → 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.