[Bug 551451] Re: TypeError: coercing to Unicode: need string or buffer, NoneType found
Paul Sladen
ubuntu at paul.sladen.org
Tue Mar 30 07:38:43 BST 2010
Altering whether 'partitions.txt' has a newline at the end gives a
different traceback:
ubuntu at ubuntu:~/build$ cat partitions.txt
root 20000
ubuntu at ubuntu:~/build$
If the newline is added, then the result is:
2010-03-30 07:32:57,831 INFO : Calling hook: post_install
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 115, in main
self.set_disk_layout(hypervisor)
File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 228, in set_disk_layout
hypervisor.add_filesystem(elements[1], type=default_filesystem, mntpnt=elements[0])
IndexError: list index out of range
ubuntu at ubuntu:~/build$ cat partitions.txt
root 20000
--
TypeError: coercing to Unicode: need string or buffer, NoneType found
https://bugs.launchpad.net/bugs/551451
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
More information about the Ubuntu-server-bugs
mailing list