Bug 1226591 - [abrt] rpmconf: rpmconf.py:102:flush_input:termios.error: (25, 'Inappropriate ioctl for device')
Summary: [abrt] rpmconf: rpmconf.py:102:flush_input:termios.error: (25, 'Inappropriate...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmconf
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:845761677efa522d2fad1769b1c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-30 23:33 UTC by René Harder Olsen
Modified: 2015-06-01 09:13 UTC (History)
2 users (show)

Fixed In Version: rpmconf-1.0.8-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-01 09:13:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (863 bytes, text/plain)
2015-05-30 23:33 UTC, René Harder Olsen
no flags Details
File: environ (4.81 KB, text/plain)
2015-05-30 23:33 UTC, René Harder Olsen
no flags Details

Description René Harder Olsen 2015-05-30 23:33:32 UTC
Version-Release number of selected component:
rpmconf-1.0.7-1.fc22

Additional info:
reporter:       libreport-2.5.1
cmdline:        /usr/bin/python3 /usr/sbin/rpmconf -a
executable:     /usr/sbin/rpmconf
kernel:         4.0.4-301.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
rpmconf.py:102:flush_input:termios.error: (25, 'Inappropriate ioctl for device')

Traceback (most recent call last):
  File "/usr/sbin/rpmconf", line 63, in <module>
    main()
  File "/usr/sbin/rpmconf", line 60, in main
    rconf.run()
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 88, in run
    self._handle_package(pkg_hdr)
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 256, in _handle_package
    tmp.format(conf_file, "rpmsave"))
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 321, in _handle_rpmsave
    option = self.flush_input("Your choice: ").upper()
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 102, in flush_input
    tcflush(sys.stdin, TCIOFLUSH)
termios.error: (25, 'Inappropriate ioctl for device')

Local variables in innermost frame:
question: 'Your choice: '

Comment 1 René Harder Olsen 2015-05-30 23:33:35 UTC
Created attachment 1032706 [details]
File: backtrace

Comment 2 René Harder Olsen 2015-05-30 23:33:37 UTC
Created attachment 1032707 [details]
File: environ

Comment 3 Miroslav Suchý 2015-06-01 09:00:54 UTC
Fixed in commit:
* e3c0a01  1226591 - do not flush stdin, when it is not TTY


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