Bug 1465169 - [abrt] fpaste: fpaste:75:confirm:UnboundLocalError: local variable 'mytty' referenced before assignment
Summary: [abrt] fpaste: fpaste:75:confirm:UnboundLocalError: local variable 'mytty' re...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: fpaste
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9dcfc3a4a4b7df61ca1b5bff6bb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-26 21:22 UTC by bitchecker
Modified: 2017-12-12 10:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:31:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (913 bytes, text/plain)
2017-06-26 21:22 UTC, bitchecker
no flags Details
File: environ (3.17 KB, text/plain)
2017-06-26 21:22 UTC, bitchecker
no flags Details

Description bitchecker 2017-06-26 21:22:39 UTC
Version-Release number of selected component:
fpaste-0.3.8.3-1.fc25

Additional info:
reporter:       libreport-2.8.0
cmdline:        python3 /usr/bin/fpaste --private=yes --confirm -x 1800
executable:     /usr/bin/fpaste
kernel:         4.10.15-200.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
fpaste:75:confirm:UnboundLocalError: local variable 'mytty' referenced before assignment

Traceback (most recent call last):
  File "/usr/bin/fpaste", line 65, in confirm
    ans = input(prompt)
EOFError: EOF when reading a line

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/fpaste", line 69, in confirm
    mytty = os.ttyname(sys.stdout.fileno())
OSError: [Errno 25] Inappropriate ioctl for device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/fpaste", line 907, in <module>
    main()
  File "/usr/bin/fpaste", line 851, in main
    if not confirm("OK to send?"):
  File "/usr/bin/fpaste", line 75, in confirm
    mytty,
UnboundLocalError: local variable 'mytty' referenced before assignment

Local variables in innermost frame:
prompt: 'OK to send? [y/N]: '

Comment 1 bitchecker 2017-06-26 21:22:45 UTC
Created attachment 1292064 [details]
File: backtrace

Comment 2 bitchecker 2017-06-26 21:22:47 UTC
Created attachment 1292065 [details]
File: environ

Comment 3 Fedora End Of Life 2017-11-16 14:23:19 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2017-12-12 10:31:58 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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