Hi Sami, On Mon, Jan 20, 2014 at 12:30:27AM +0200, Sami Liedes wrote: > Package: virtinst > Version: 0.600.4-2 > Severity: normal > > Installing Debian from an URL like that suggested by the man page (but > with .us. replaced with .fi.) fails with the error mentioned in the > subject. > > I also tried with virtinst from experimental (however this run is from > the unstable version).
This seems to be caused by a change in the python bindings. The attached patch fixes this but afterwards sending data over the stream fails for me. I'll need to check this in more detail. Cheers, -- Guido
>From 4a9bdf51a99807949a52773a2c0c034187fc9955 Mon Sep 17 00:00:00 2001 Message-Id: <4a9bdf51a99807949a52773a2c0c034187fc9955.1390204086.git....@sigxcpu.org> From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org> Date: Mon, 20 Jan 2014 08:25:27 +0100 Subject: [virt-manager PATCH] Use vol.upload(stream, ...) instead of stream.upload(vol, ...) Libvirt-python's commit 9bc81a156d281294b79192d04a5db10997566299 removed the incorrectly generated methods. --- virtinst/distroinstaller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtinst/distroinstaller.py b/virtinst/distroinstaller.py index 1641f15..13ceb6b 100644 --- a/virtinst/distroinstaller.py +++ b/virtinst/distroinstaller.py @@ -130,7 +130,7 @@ def _upload_file(conn, meter, destpool, src): offset = 0 length = size flags = 0 - stream.upload(vol, offset, length, flags) + vol.upload(stream, offset, length, flags) # Open source file fileobj = file(src, "r") -- 1.8.5.2