[Bug 1571702] Re: unable to take VM screenshot
Launchpad has imported 8 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=1297988. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2016-01-13T00:12:54+00:00 Adam wrote: Trying to take a screenshot of the guest in virt-manager in current Rawhide - virt-manager-1.3.2-1.fc24.noarch - fails, with this error: Error taking screenshot: 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: must be convertible to a buffer, not _ResultTuple Reply at: https://bugs.launchpad.net/ubuntu/+source/virt- manager/+bug/1571702/comments/0 On 2016-01-15T20:10:11+00:00 Cole wrote: Thanks for the report, fixed upstream now: commit f454798b337aedb881671f62fe3b25fad703b768 Author: Cole Robinson Date: Fri Jan 15 15:07:58 2016 -0500 details: Fix screenshot on F24 rawhide (bz 1297988) Reply at: https://bugs.launchpad.net/ubuntu/+source/virt- manager/+bug/1571702/comments/1 On 2016-03-17T15:04:03+00:00 Fedora wrote: virt-manager-1.3.2-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fe3db5ef67 Reply at: https://bugs.launchpad.net/ubuntu/+source/virt- manager/+bug/1571702/comments/2 On 2016-03-17T15:05:10+00:00 Fedora wrote: virt-manager-1.3.2-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-edb0c8d5df Reply at: https://bugs.launchpad.net/ubuntu/+source/virt- manager/+bug/1571702/comments/3 On 2016-03-18T14:56:47+00:00 Fedora wrote: virt-manager-1.3.2-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fe3db5ef67 Reply at: https://bugs.launchpad.net/ubuntu/+source/virt- manager/+bug/1571702/comments/4 On 2016-03-19T01:25:22+00:00 Fedora wrote: virt-manager-1.3.2-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-edb0c8d5df Reply at: https://bugs.launchpad.net/ubuntu/+source/virt- manager/+bug/1571702/comments/5 On 2016-03-25T01:23:50+00:00 Fedora wrote: virt-manager-1.3.2-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. Reply at: https://bugs.launchpad.net/ubuntu/+source/virt- manager/+bug/1571702/comments/6 On 2016-03-26T18:02:15+00:00 Fedora wrote: virt-manager-1.3.2-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. Reply at: https://bugs.launchpad.net/ubuntu/+source/virt- manager/+bug/1571702/comments/7 ** Changed in: virt-manager (Fedora) Status: Unknown => Fix Released ** Changed in: virt-manager (Fedora) Importance: Unknown => Medium -- 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
[Bug 1571702] Re: unable to take VM screenshot
** Changed in: virt-manager (Debian) Status: Unknown => Fix Released -- 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
[Bug 1571702] Re: unable to take VM screenshot
** Bug watch added: Red Hat Bugzilla #1297988 https://bugzilla.redhat.com/show_bug.cgi?id=1297988 ** Also affects: virt-manager (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=1297988 Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #827919 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827919 ** Also affects: virt-manager (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827919 Importance: Unknown Status: Unknown -- 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
[Bug 1571702] Re: unable to take VM screenshot
This bug was fixed in the package virt-manager - 1:1.3.2-3ubuntu1.16.04.1 --- virt-manager (1:1.3.2-3ubuntu1.16.04.1) xenial; urgency=medium * debian/patches/0001-details-Fix-screenshot-on-F24-rawhide-bz-1297988.patch: Cherry-pick from upstream. Fix screenshot capture with newer gdk-pixbuf/pygobject. (LP: #1571702) -- Iain Lane Wed, 18 May 2016 11:08:46 +0100 ** Changed in: virt-manager (Ubuntu Xenial) Status: Fix Committed => Fix Released -- 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
[Bug 1571702] Re: unable to take VM screenshot
yeah, I'm enjoying my screenshots since I updated! ** Tags removed: verification-needed ** Tags added: verification-done -- 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
[Bug 1571702] Re: unable to take VM screenshot
This bug was fixed in the package virt-manager - 1:1.3.2-3ubuntu2 --- virt-manager (1:1.3.2-3ubuntu2) yakkety; urgency=medium * debian/patches/0001-details-Fix-screenshot-on-F24-rawhide-bz-1297988.patch: Cherry-pick from upstream. Fix screenshot capture with newer gdk-pixbuf/pygobject. (LP: #1571702) -- Iain Lane Wed, 18 May 2016 11:08:46 +0100 ** Changed in: virt-manager (Ubuntu) Status: Fix Committed => Fix Released -- 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
[Bug 1571702] Re: unable to take VM screenshot
Hello Stijn, or anyone else affected, Accepted virt-manager into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/virt- manager/1:1.3.2-3ubuntu1.16.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: virt-manager (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed -- 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
[Bug 1571702] Re: unable to take VM screenshot
Thanks for the bug, fix is uploaded to yakkety (16.10) and 16.04 ** Changed in: virt-manager (Ubuntu) Status: New => Fix Committed ** Changed in: virt-manager (Ubuntu Xenial) Status: New => In Progress -- 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
[Bug 1571702] Re: unable to take VM screenshot
** Description changed: 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 + [ 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) + 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) -- 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
[Bug 1571702] Re: unable to take VM screenshot
** Also affects: virt-manager (Ubuntu Xenial) Importance: Undecided Status: New -- 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