Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!tundraware.eternal-september.org!.POSTED!not-for-mail From: Tim Daneliuk Newsgroups: comp.lang.python Subject: More tkinter Madness Date: Wed, 11 Nov 2015 19:52:38 -0600 Organization: A noiseless patient Spider Lines: 54 Message-ID: <708dhc-3pf1.ln1@oceanview.tundraware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: tundraware.eternal-september.org; posting-host="5a15fedc1d2651a6099f1673ffb218fd"; logging-data="4342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fWsAC++tA/GLGDkQJYwNHnIOk9fh17Ls=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 X-Mozilla-News-Host: news://news.tundraware.com:119 Cancel-Lock: sha1:HFj3FYQoiDoLos6Bry0Egqgfe0U= X-Enigmail-Draft-Status: N1110 Xref: csiph.com comp.lang.python:98663 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 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 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