[Pkg-libvirt-maintainers] Bug#827919: Bug#827919: virt-manager: Cannot take screenshot: Error taking screenshot: argument 1 must be convertible to a buffer, not _ResultTuple

Guido Günther agx at sigxcpu.org
Thu Jun 23 06:29:37 UTC 2016


Hi Salvatore,
On Wed, Jun 22, 2016 at 07:23:09PM +0200, Salvatore Bonaccorso wrote:
> Package: virt-manager
> Version: 1:1.3.2-4
> Severity: normal
> Tags: patch upstream fixed-upstream
> Control: fixed -1 1:1.4.0-1
> 
> Hi
> 
> While trying to take a screenshot from virt-manager, it fails with
> 
> [Wed, 22 Jun 2016 19:11:24 virt-manager 16632] DEBUG (error:99) error dialog message:
> summary=Error taking screenshot: argument 1 must be convertible to a buffer, not _ResultTuple
> details=Error taking screenshot: argument 1 must be convertible to a buffer, not _ResultTuple
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/details.py", line 1455, in control_vm_screenshot
>     return self._take_screenshot()
>   File "/usr/share/virt-manager/virtManager/details.py", line 1507, in _take_screenshot
>     file(filename, "wb").write(ret)
> TypeError: argument 1 must be convertible to a buffer, not _ResultTuple
> 
> This was as well reported in
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1297988
> 
> and in Ubuntu with
> 
> https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1571702
> 
> and fixed with
> 
> https://github.com/virt-manager/virt-manager/commit/f454798b337aedb881671f62fe3b25fad703b768
> 
> (The commit is in 1.4.0, so the bug is fixed already in experimental).

For the record: I'm planning to upload 1.4.0 to sid in a couple of days
after looking into an apparmor issue but if you need it at an urge feel
free to NMU.
Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list