Activity log for bug #1571702

Date Who What changed Old value New value Message
2016-04-18 15:22:15 Stijn Tintel bug added bug
2016-05-18 09:59:38 Iain Lane nominated for series Ubuntu Xenial
2016-05-18 09:59:38 Iain Lane bug task added virt-manager (Ubuntu Xenial)
2016-05-18 10:08:31 Iain Lane description 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) Description: Ubuntu 16.04 LTS Release: 16.04 [ Description, reproducer ] 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 [ Fix ] Looks like "ret" is now a named tuple. Upstream have a fix to check for this and take 'buffer' if so. We cherry-pick this commit. [ Development fix ] The same. [ Regression potential ] I'm not sure which part of the stack changed, I can imagine that if you run on an older version there might have been problems if you got the non-named tuple. But upstream cared for this by making the new codepath conditional, so I can't think of any other possibilities. 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 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)
2016-05-18 10:19:13 Iain Lane virt-manager (Ubuntu): status New Fix Committed
2016-05-18 10:19:15 Iain Lane virt-manager (Ubuntu Xenial): status New In Progress
2016-05-19 07:58:32 Martin Pitt virt-manager (Ubuntu Xenial): status In Progress Fix Committed
2016-05-19 07:58:33 Martin Pitt bug added subscriber Ubuntu Stable Release Updates Team
2016-05-19 07:58:35 Martin Pitt bug added subscriber SRU Verification
2016-05-19 07:58:38 Martin Pitt tags amd64 apport-bug xenial amd64 apport-bug verification-needed xenial
2016-05-19 21:27:49 Launchpad Janitor virt-manager (Ubuntu): status Fix Committed Fix Released
2016-05-26 09:10:04 Sebastien Bacher tags amd64 apport-bug verification-needed xenial amd64 apport-bug verification-done xenial
2016-05-26 22:00:55 Launchpad Janitor virt-manager (Ubuntu Xenial): status Fix Committed Fix Released
2016-05-26 22:00:59 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2016-06-22 18:21:23 Salvatore Bonaccorso bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=1297988
2016-06-22 18:21:23 Salvatore Bonaccorso bug task added virt-manager (Fedora)
2016-06-22 18:21:43 Salvatore Bonaccorso bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827919
2016-06-22 18:21:43 Salvatore Bonaccorso bug task added virt-manager (Debian)
2016-06-23 00:11:17 Bug Watch Updater virt-manager (Debian): status Unknown Fix Released
2017-10-27 17:26:50 Bug Watch Updater virt-manager (Fedora): status Unknown Fix Released
2017-10-27 17:26:50 Bug Watch Updater virt-manager (Fedora): importance Unknown Medium