Bug 1107868

Summary: [abrt] python-tools: Tkinter.py:1745:__init__:TclError: no display name and no $DISPLAY environment variable
Product: [Fedora] Fedora Reporter: thraex
Component: pythonAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: bkabrda, dmalcolm, ivazqueznet, jonathansteffan, mstuchli, tomspur, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/013aacab75e6273970dde16213123f02bd8325b6
Whiteboard: abrt_hash:677c22cfdc4fea7b911b4abee51fe1f217b769fc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 04:15:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: dso_list
none
File: environ none

Description thraex 2014-06-10 20:43:09 UTC
Description of problem:
I typed "idle" from the console (Control-Alt-F2) and got this crash.

Version-Release number of selected component:
python-tools-2.7.5-9.fc19

Additional info:
reporter:       libreport-2.2.1
cmdline:        /usr/bin/python2.7 /bin/idle
executable:     /bin/idle
kernel:         3.14.4-100.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
Tkinter.py:1745:__init__:TclError: no display name and no $DISPLAY environment variable

Traceback (most recent call last):
  File "/bin/idle", line 5, in <module>
    main()
  File "/usr/lib64/python2.7/idlelib/PyShell.py", line 1507, in main
    root = Tk(className="Idle")
  File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1745, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable

Local variables in innermost frame:
className: 'Idle'
use: None
baseName: 'idle'
useTk: 1
sync: 0
sys: <module 'sys' (built-in)>
ext: ''
screenName: None
os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>
self: None
interactive: 0

Comment 1 thraex 2014-06-10 20:43:13 UTC
Created attachment 907418 [details]
File: backtrace

Comment 2 thraex 2014-06-10 20:43:15 UTC
Created attachment 907419 [details]
File: dso_list

Comment 3 thraex 2014-06-10 20:43:17 UTC
Created attachment 907420 [details]
File: environ

Comment 4 Ignacio Vazquez-Abrams 2014-06-13 04:15:07 UTC
IDLE requires Tkinter, which in turn requires a graphical display. There is no CLI/TUI version of IDLE planned; use a CLI/TUI text editor, the Python REPL, and/or a shell to run the code or script(s) instead.