[Bug 677378] Re: TypeError: deploy() takes exactly 1 argument (2 given)

2011-05-11 Thread tanktarta
Sorry, that last patch was bad. Here it is again.

** Attachment added: Corrected virtualbox patch
   
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/677378/+attachment/2125103/+files/vbox-vm-patch.txt

-- 
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/677378

Title:
  TypeError: deploy() takes exactly 1 argument (2 given)

-- 
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


[Bug 677378] Re: TypeError: deploy() takes exactly 1 argument (2 given)

2011-05-10 Thread tanktarta
This patch fixes the bug for me.  It also adds some missing arguments, I
need to be able to set memory amount (-m), and that was lost too.

** Patch added: Patch for vmbuilder virtualbox plugin
   
https://bugs.launchpad.net/vmbuilder/+bug/677378/+attachment/2122983/+files/vboxvmb.patch

-- 
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/677378

Title:
  TypeError: deploy() takes exactly 1 argument (2 given)

-- 
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


[Bug 677378] Re: TypeError: deploy() takes exactly 1 argument (2 given)

2011-05-10 Thread Brian Murray
** Tags added: patch

-- 
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/677378

Title:
  TypeError: deploy() takes exactly 1 argument (2 given)

-- 
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


[Bug 677378] Re: TypeError: deploy() takes exactly 1 argument (2 given)

2011-05-05 Thread Juan Moyano
I'm getting the same error here, (running Ubuntu Natty)

$ sudo ubuntu-vm-builder vbox lucid --addpkg vim
[  ]
2011-05-05 14:18:18,838 INFO: Calling hook: unmount_partitions
2011-05-05 14:18:18,839 INFO: Unmounting target filesystem
2011-05-05 14:18:22,792 INFO: Calling hook: convert
2011-05-05 14:18:22,793 INFO: Calling hook: deploy
2011-05-05 14:18:22,795 INFO: Cleaning up
Traceback (most recent call last):
  File /usr/bin/ubuntu-vm-builder, line 24, in module
uvb.main()  
  File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 227, 
in main
hypervisor.finalise(destdir)
  File /usr/lib/python2.7/dist-packages/VMBuilder/hypervisor.py, line 78, in 
finalise
self.call_hooks('deploy', destdir)
  File /usr/lib/python2.7/dist-packages/VMBuilder/distro.py, line 67, in 
call_hooks
call_hooks(self, *args, **kwargs)
  File /usr/lib/python2.7/dist-packages/VMBuilder/util.py, line 165, in 
call_hooks
getattr(context, func, log_no_such_method)(*args, **kwargs)
TypeError: deploy() takes exactly 1 argument (2 given)

-- 
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/677378

Title:
  TypeError: deploy() takes exactly 1 argument (2 given)

-- 
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


[Bug 677378] Re: TypeError: deploy() takes exactly 1 argument (2 given)

2011-01-07 Thread Antti Kaihola
Like James Page, I applied the fix in bug 580237 and run

$ sudo vmbuilder vbox ubuntu --suite lucid

on my Maverick box and got the traceback mentioned above.

-- 
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/677378

Title:
  TypeError: deploy() takes exactly 1 argument (2 given)

-- 
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


[Bug 677378] Re: TypeError: deploy() takes exactly 1 argument (2 given)

2010-11-25 Thread James Page
After applying the fix in bug 580237 to resolve another vbox bug I can
confirm that I see the same issue on maverick.

The signature of the deploy function in /usr/lib/python2.6/dist-
packages/VMBuilder/plugins/virtualbox/vm.py is

def deploy(self):

I think that vm-builder is expecting:

def deploy(self, destdir):

(taken from kvm plugin code).



** Changed in: vm-builder (Ubuntu)
   Importance: Undecided = Low

** Changed in: vm-builder (Ubuntu)
   Status: New = Confirmed

-- 
TypeError: deploy() takes exactly 1 argument (2 given)
https://bugs.launchpad.net/bugs/677378
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
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


[Bug 677378] Re: TypeError: deploy() takes exactly 1 argument (2 given)

2010-11-19 Thread Dario Bertini

** Also affects: vmbuilder
   Importance: Undecided
   Status: New

-- 
TypeError: deploy() takes exactly 1 argument (2 given)
https://bugs.launchpad.net/bugs/677378
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
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