This seems to have been broken for quite some time. Simplist fix is to just remove 'revno' from the output message:
=== modified file 'VMBuilder/contrib/cli.py' --- VMBuilder/contrib/cli.py 2011-10-27 20:01:00 +0000 +++ VMBuilder/contrib/cli.py 2012-05-24 13:13:29 +0000 @@ -277,7 +277,7 @@ optparser.add_option_group(optgroup) def versioninfo(self, option, opt, value, parser): - print ('%(major)d.%(minor)d.%(micro)s.r%(revno)d' % + print ('%(major)d.%(minor)d.%(micro)s' % VMBuilder.get_version_info()) sys.exit(0) ** Changed in: vm-builder (Ubuntu) Importance: Undecided => Medium ** Changed in: vm-builder (Ubuntu) Status: New => Confirmed ** Also affects: vmbuilder Importance: Undecided Status: New ** Changed in: vmbuilder Status: New => Confirmed ** Changed in: vmbuilder Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/1003230 Title: --version causes type error To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1003230/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs