Bug 15628 - virt-manager fails to take screenshots (AttributeError: 'Pixbuf' object has no attribute 'save_to_bufferv')
Summary: virt-manager fails to take screenshots (AttributeError: 'Pixbuf' object has n...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-04-05 13:42 CEST by Thierry Vignaud
Modified: 2015-04-07 06:37 CEST (History)
1 user (show)

See Also:
Source RPM: virt-manager-1.1.0-7.mga5, gdk-pixbuf2.0-2.31.2-1.mga5
CVE:
Status comment:


Attachments

Description Thierry Vignaud 2015-04-05 13:42:58 CEST
Error while taking screenshot : 'Pixbuf' object has no attribute 'save_to_bufferv'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 1540, in control_vm_screenshot
    return self._take_screenshot()
  File "/usr/share/virt-manager/virtManager/details.py", line 1568, in _take_screenshot
    ret = image.save_to_bufferv('png', metadata.keys(), metadata.values())
AttributeError: 'Pixbuf' object has no attribute 'save_to_bufferv'

Reproducible: 

Steps to Reproduce:
Comment 1 Thierry Vignaud 2015-04-05 14:10:22 CEST
Looks like a gdk-pixbuf2 regression
See https://github.com/mypaint/mypaint/issues/236

CC: (none) => olav
Source RPM: virt-manager-1.1.0-7.mga5 => virt-manager-1.1.0-7.mga5, gdk-pixbuf2

Comment 2 Thierry Vignaud 2015-04-05 14:12:09 CEST
Indeed it's fixed in 2.31.3:
https://git.gnome.org/browse/gdk-pixbuf/commit/?id=b57109ef2da418d53d0b9e21d625f05ed046068b

The fix is https://git.gnome.org/browse/gdk-pixbuf/commit/?id=8b65e80f2eaa063f746a73afbaad961c06919e70

Keywords: (none) => PATCH
Source RPM: virt-manager-1.1.0-7.mga5, gdk-pixbuf2 => virt-manager-1.1.0-7.mga5, gdk-pixbuf2.0-2.31.2-1.mga5

Comment 3 Thierry Vignaud 2015-04-07 06:37:46 CEST
Fixed

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.