Are There Known Problems With tkinter And VPS Servers?
Laura Creighton
lac at openend.se
Mon Sep 28 04:01:09 EDT 2015
In a message of Sun, 27 Sep 2015 16:31:59 -0500, Tim Daneliuk writes:
>Traceback (most recent call last):
> File "/usr/local/TundraWare/bin/twander.py", line 5464, in <module>
> UI = twanderUI(UIroot)
> File "/usr/local/TundraWare/bin/twander.py", line 2152, in __init__
> self.CmdBtn = Menubutton(self.mBar, text=COMMANDMENU, underline=0, state=DISABLED)
> File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 2710, in __init__
> Widget.__init__(self, master, 'menubutton', cnf, kw)
> File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1932, in __init__
> (widgetName, self._w) + extra + self._options(cnf))
>_tkinter.TclError
You are getting a naked _tkinter.TclError?
When the problem is 'couldn't get to the X server' I am used to
getting
_tkinter.TclError: no display name and no $DISPLAY environment variable
and usually _tkinter is pretty good at giving you more information than
TclError.
The first thing I would do is to run:
python -m test -ugui test_tk test_ttk_guionly test_idle
which runs the tests for idle, and see if it finds anything suspicious.
Laura
More information about the Python-list
mailing list