sudo vmbuilder xen ubuntu --part ./part 2010-06-09 13:27:42,334 INFO : Calling hook: preflight_check 2010-06-09 13:27:42,383 INFO : Calling hook: set_defaults 2010-06-09 13:27:42,383 INFO : Calling hook: bootstrap 2010-06-09 13:51:10,410 INFO : Calling hook: configure_os 2010-06-09 13:53:01,427 INFO : 2010-06-09 13:53:01,427 INFO : Current default time zone: 'Etc/UTC' 2010-06-09 13:53:01,429 INFO : Local time is now: Wed Jun 9 11:53:01 UTC 2010. 2010-06-09 13:53:01,429 INFO : Universal Time is now: Wed Jun 9 11:53:01 UTC 2010. 2010-06-09 13:53:01,429 INFO : 2010-06-09 13:56:51,887 INFO : 2010-06-09 13:56:51,888 INFO : Current default time zone: 'Etc/UTC' 2010-06-09 13:56:51,890 INFO : Local time is now: Wed Jun 9 11:56:51 UTC 2010. 2010-06-09 13:56:51,890 INFO : Universal Time is now: Wed Jun 9 11:56:51 UTC 2010. 2010-06-09 13:56:51,890 INFO : Run 'dpkg-reconfigure tzdata' if you wish to change it. 2010-06-09 13:56:51,890 INFO : 2010-06-09 13:57:17,639 INFO : Calling hook: post_install 2010-06-09 13:57:17,680 INFO : Calling hook: preflight_check 2010-06-09 13:57:17,681 INFO : Calling hook: configure_networking 2010-06-09 13:57:17,735 INFO : Calling hook: configure_mounting 2010-06-09 13:57:17,743 INFO : Calling hook: mount_partitions 2010-06-09 13:57:17,743 INFO : Mounting target filesystems 2010-06-09 13:57:17,744 INFO : Creating filesystem: /, size: 400, dummy: False 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 116, in main hypervisor.install_os() File "/usr/lib/python2.6/dist-packages/VMBuilder/hypervisor.py", line 64, in install_os self.call_hooks('mount_partitions', self.chroot_dir) 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/hypervisor.py", line 82, in mount_partitions fs.create() File "/usr/lib/python2.6/dist-packages/VMBuilder/disk.py", line 332, in create if not os.path.exists(self.filename): File "/usr/lib/python2.6/genericpath.py", line 18, in exists st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found Here goes my partition file: root 400 /mnt/ephemeral 0 /dev/sda1 swap 1 /dev/sda2 I am really new with vmbuilder and can not work out what is the problem here... -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs