TypeError: 'NoneType' object has no attribute '__getitem__'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
vmbuilder crashes in afterbuild cleanup when doing
vmbuilder vbox ubuntu --suite trusty --flavour virtual \
--arch i386 --mem 1024 --rootsize 8000 \
--dest /tmp/ubuntu-base --name ubuntu-base \
--addpkg acpid --addpkg linux-image-generic
last messages are (full output attached)
2015-06-23 12:19:40,022 INFO :
2015-06-23 12:19:40,194 INFO : Searching for GRUB installation directory ... found: /boot/grub
2015-06-23 12:19:40,245 INFO : Calling hook: install_kernel
2015-06-23 12:19:43,383 INFO : Calling hook: post_install
2015-06-23 12:19:43,385 INFO : Calling hook: unmount_partitions
2015-06-23 12:19:43,387 INFO : Unmounting target filesystem
2015-06-23 12:19:47,023 INFO : Calling hook: convert
2015-06-23 12:19:47,025 INFO : Converting /tmp/tmpR78GUJ to vdi, format /tmp/ubuntu-
2015-06-23 12:19:47,567 INFO : Converting from raw image file="/
2015-06-23 12:19:47,572 INFO : Creating dynamic image with size 9462349824 bytes (9024MB)...
2015-06-23 12:20:37,060 INFO : Calling hook: deploy
2015-06-23 12:20:37,249 INFO : Cleaning up
Traceback (most recent call last):
File "/usr/bin/
cli.main()
File "/usr/lib/
hypervisor.
File "/usr/lib/
self.
File "/usr/lib/
self.cleanup()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
parted_
TypeError: 'NoneType' object has no attribute '__getitem__'
regards
Hadmut
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-vm-builder 0.12.4+
ProcVersionSign
Uname: Linux 3.13.0-55-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Jun 23 12:22:13 2015
PackageArchitec
SourcePackage: vm-builder
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.