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

Salvatore Bonaccorso carnil at debian.org
Wed Jun 22 17:23:09 UTC 2016


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

Regards,
Salvatore



More information about the Pkg-libvirt-maintainers mailing list