vmbuilder crashed with AttributeError in set_defaults()

Bug #528027 reported by Marc Deslauriers on 2010-02-25
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Undecided
Unassigned

Bug Description

Running the latest vmbuilder, I get this:

VMBuilder.plugins.ubuntu.distro.
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 103, in main
    distro.build_chroot()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 81, in build_chroot
    self.call_hooks('set_defaults')
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 66, in call_hooks
    call_hooks(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 165, in call_hooks
    getattr(context, func, log_no_such_method)(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 100, in set_defaults
    self.set_setting_default('components', components.split(','))
AttributeError: 'list' object has no attribute 'split'

ProblemType: Crash
Architecture: amd64
Date: Thu Feb 25 16:15:49 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/vmbuilder
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: python-vm-builder 0.12.1-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/vmbuilder kvm ubuntu --suite=lucid --dest=/home/username/machines/test-lucid-i386 --hostname=test-lucid-i386 --mirror=http://archive.ubuntu.com/ubuntu --rootsize=4096 --swapsize=1024 --kernel-flavour=generic --components=main,restricted,universe,multiverse --libvirt=qemu:///system --arch=i386 --exec=/tmp/vm-new-setup-3PrEGu --ssh-key=/home/username/.ssh/id_rsa.pub --user=username --mem=384 --addpkg=lsb-release --security-mirror=http://security.ubuntu.com/ubuntu --debug
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_CA.utf8
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
PythonArgs: ['/usr/bin/vmbuilder', 'kvm', 'ubuntu', '--suite=lucid', '--dest=/home/username/machines/test-lucid-i386', '--hostname=test-lucid-i386', '--mirror=http://archive.ubuntu.com/ubuntu', '--rootsize=4096', '--swapsize=1024', '--kernel-flavour=generic', '--components=main,restricted,universe,multiverse', '--libvirt=qemu:///system', '--arch=i386', '--exec=/tmp/vm-new-setup-3PrEGu', '--ssh-key=/home/username/.ssh/id_rsa.pub', '--user=username', '--mem=384', '--addpkg=lsb-release', '--security-mirror=http://security.ubuntu.com/ubuntu', '--debug']
SourcePackage: vm-builder
Title: vmbuilder crashed with AttributeError in set_defaults()
Uname: Linux 2.6.32-14-generic x86_64
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare sbuild

Marc Deslauriers (mdeslaur) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Soren Hansen (soren) on 2010-02-25
Changed in vm-builder (Ubuntu):
status: New → Fix Committed
Marc Deslauriers (mdeslaur) wrote :

Sorry, I still have the same problem with python-vm-builder 0.12.1-0ubuntu1:

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 103, in main
    distro.build_chroot()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 81, in build_chroot
    self.call_hooks('set_defaults')
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 66, in call_hooks
    call_hooks(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 165, in call_hooks
    getattr(context, func, log_no_such_method)(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 100, in set_defaults
    self.set_setting_default('components', components.split(','))
AttributeError: 'list' object has no attribute 'split'

Changed in vm-builder (Ubuntu):
status: Fix Committed → Triaged
Soren Hansen (soren) wrote :

Fix /committed/. It's in bzr. I'll roll a release later today. Patience, grasshopper. Patience :)

Changed in vm-builder (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

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

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

  * New upstream, bugfix-only release. (LP: #528027, #260682)
 -- Soren Hansen <email address hidden> Fri, 26 Feb 2010 22:20:39 +0100

Changed in vm-builder (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers