I am the author of twander (https://www.tundraware.com/Software/twander). This code has run flawlessly for years on FreeBSD, Linux, MacOS and Windows. Some months ago, I put it on a couple of VPS servers (FreeBSD and Linux) and BOOM, it doesn't run. I asked around here and got some suggestions and then did some homework.
I see the error being thrown by using the trace module, but it's not terribly meaningful to me. Any ideas of what this means - again, I emphasize this is only happening on VPS hosts: --- modulename: Tkinter, funcname: _cnfmerge Tkinter.py(76): if type(cnfs) is DictionaryType: Tkinter.py(77): return cnfs Tkinter.py(1046): res = () Tkinter.py(1047): for k, v in cnf.items(): Tkinter.py(1048): if v is not None: Tkinter.py(1049): if k[-1] == '_': k = k[:-1] Tkinter.py(1050): if callable(v): Tkinter.py(1052): elif isinstance(v, (tuple, list)): Tkinter.py(1064): res = res + ('-'+k, v) Tkinter.py(1047): for k, v in cnf.items(): Tkinter.py(1048): if v is not None: Tkinter.py(1049): if k[-1] == '_': k = k[:-1] Tkinter.py(1050): if callable(v): Tkinter.py(1052): elif isinstance(v, (tuple, list)): Tkinter.py(1064): res = res + ('-'+k, v) Tkinter.py(1047): for k, v in cnf.items(): Tkinter.py(1048): if v is not None: Tkinter.py(1049): if k[-1] == '_': k = k[:-1] Tkinter.py(1050): if callable(v): Tkinter.py(1052): elif isinstance(v, (tuple, list)): Tkinter.py(1064): res = res + ('-'+k, v) Tkinter.py(1047): for k, v in cnf.items(): Tkinter.py(1065): return res Traceback (most recent call last): File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code exec code in run_globals File "/usr/lib64/python2.6/trace.py", line 823, in <module> main() File "/usr/lib64/python2.6/trace.py", line 811, in main t.runctx(code, globs, globs) File "/usr/lib64/python2.6/trace.py", line 512, in runctx exec cmd in globals, locals File "/local/TundraWare/bin/twander.py", line 5464, in <module> UI = twanderUI(UIroot) File "/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 -- https://mail.python.org/mailman/listinfo/python-list