Public bug reported:

Description:    Ubuntu 16.04 LTS
Release:        16.04

virt-manager:
  Installed: 1:1.3.2-3ubuntu1
  Candidate: 1:1.3.2-3ubuntu1
  Version table:
 *** 1:1.3.2-3ubuntu1 500
        500 http://be.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://be.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
        100 /var/lib/dpkg/status

Start a KVM VM in via virt-manager. In the VM window, click "Virtual
Machine", then "Take Screenshot" and "Save". It should save a
screenshot.

Instead of creating a screenshot, it creates an empty png file and virt-
manager throws this error:

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

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: virt-manager 1:1.3.2-3ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Apr 18 17:16:49 2016
InstallationDate: Installed on 2016-04-05 (13 days ago)
InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160405)
PackageArchitecture: all
SourcePackage: virt-manager
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: virt-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571702

Title:
  unable to take VM screenshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1571702/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to