[527] in RedHat Linux List

home help back first fref pref prev next nref lref last post

glint and incorrect display

daemon@ATHENA.MIT.EDU (Antonio Rosella)
Wed Oct 23 03:04:09 1996

Date: Wed, 23 Oct 1996 08:58:02 +0200
From: Antonio Rosella <Antonio.Rosella@rupia.agip.it>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hello to everyone.

I've just found a "bug" concerning glint. Running Colgate on a Sparc LX
(jessica), I connected to this computer with a normal telnet from my
machine (logan) from an xterm. Then, I setted manually a wrong DISPLAY
with an

export DISPLAY=logan:0.0         ( bash )

and the DISPLAY of the machine runninx X was logan:1.0

Then, I run glint and it exited with a 

# Tk_Init error: couldn't connect to display "logan:0"
Traceback (innermost last):
  File "./glint.py", line 23, in ?
    from rhtkinter import *
  File "/usr/lib/rhs/python/rhtkinter.py", line 52, in ?
    e = Entry()
  File "/usr/lib/python/tkinter/Tkinter.py", line 1093, in __init__
    Widget.__init__(self, master, 'entry', cnf, kw)
  File "/usr/lib/python/tkinter/Tkinter.py", line 829, in __init__
    Widget._setup(self, master, cnf)
  File "/usr/lib/python/tkinter/Tkinter.py", line 805, in _setup
    _default_root = Tk()
  File "/usr/lib/python/tkinter/Tkinter.py", line 590, in __init__
    self.tk = tkinter.create(screenName, baseName, className)
TclError: Tcl_AppInit failed

[1]+  Exit 1                  glint

Well, this is not exacly a bug, glint ended correctly, but cout be nice
a correct error message like

glint: cannot open display $DISPLAY

by

Antonio
-- 
       _/_/      _/_/_/  _/_/_/  _/_/_/    Antonio Rosella
    _/    _/  _/          _/    _/    _/   via Emilia 1
   _/_/_/_/  _/  _/_/    _/    _/_/_/      20097 San Donato (MI)
  _/    _/  _/    _/    _/    _/           Italy
 _/    _/    _/_/_/  _/_/_/  _/   mailto:Antonio.Rosella@agip.it


--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post