Bug 1327456

Summary: During installation, screenshot can not be taken with Shift + Printscreen key combination in RHEL7.2
Product: Red Hat Enterprise Linux 7 Reporter: Keigo Noha <knoha>
Component: anacondaAssignee: Martin Kolman <mkolman>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: awilliam, barencor, haruo.tomita, jstodola, mkolman, mkovarik, myamazak, pkotvan, ssahoo
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-21.48.22.83-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 23:24:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Keigo Noha 2016-04-15 07:47:17 UTC
Description of problem:
During installation, screenshot can not be taken with Shift + Printscreen key combination in RHEL7.2

Version-Release number of selected component (if applicable):
anaconda-19.31.123-1.el7

How reproducible:
Always

Steps to Reproduce:
1. Press 'Shift + Printscreen' at Hub menu.
2. Attached error occurs and screenshot is not taken.
3.

Actual results:
Screenshot can not be taken.

Expected results:
Screenshot can be taken.

Additional info:
Once you move to a spoke, the issue does not occur.
RHEL7.1 anaconda does not occur this issue. This issue is regression.

Comment 2 Jan Stodola 2016-04-27 11:01:14 UTC
This is the traceback I got with RHEL-7.2:

anaconda 21.48.22.56-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 211, in take_screenshot
    root_window.get_width(),
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/__init__.py", line 187, in _handlePrntScreen
    self.take_screenshot()
AttributeError: 'NoneType' object has no attribute 'get_width'

Comment 9 Michal Kovarik 2016-08-03 12:30:02 UTC
Tested on anaconda-21.48.22.81-1. No traceback appeared but all screenshots in /tmp/anaconda-screenshots/ are same (as first screenshot).

Comment 10 Martin Kolman 2016-08-10 12:55:54 UTC
PH posted for review:
https://github.com/rhinstaller/anaconda/pull/728

Comment 12 Peter Kotvan 2016-09-06 08:14:27 UTC
Reproduced on RHEL-7.2 GA with anaconda-21.48.22.56-1.el7, verified on RHEL-7.3-20160901.1 with anaconda-21.48.22.86-1.el7.

Comment 13 Renco Bar 2016-09-27 00:09:46 UTC
Hello all,

I'm new to Fedora / Red Hat and I had the error on the screen as well. 

I took a picture in case that would give additional information to the developers, but is it possible to upload pictures?

The version I used is Fedora 24 Live Workstation (Fedora-Workstation-Live-i386-24-1.2.iso)

I'm not using VMware or Virtual Box. I was installing on a separate partition on my notebook. If information regarding the specific hardware is needed, let me know.

When the message appears the windows containing the message freezes. When clicking the link "more info" or the button "cancel" in the window, nothing happens. The window stays there. The installation process that was started seems to continue behind the window.

I hope this information in useful for those zooming into the topic.

Let me know if there's a way to upload a picture and I'll upload it.

Cheers, Renco.

Comment 14 Adam Williamson 2016-09-27 00:54:01 UTC
renco: your problem is not the same as this bug. This bug's cause is specific to RHEL 7 and is known, it is not what you're experiencing.

If you take a screenshot during install and want to get it out, the easiest way is probably to plug in a USB stick and mount it manually. Use 'dmesg' or 'journalctl' to see what device the stick ends up as after you plug it in (probably sdb or sdc or something) then do:

mkdir -p /mnt/temp
mount /dev/sd(whatever) /mnt/temp
cp /tmp/anaconda-screenshots/(filename) /mnt/temp
umount /mnt/temp

then you will have the screenshot on your USB stick.

Comment 16 errata-xmlrpc 2016-11-03 23:24:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2158.html