Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98663

More tkinter Madness

From Tim Daneliuk <tundraBOGUS@tundraware.com>
Newsgroups comp.lang.python
Subject More tkinter Madness
Date 2015-11-11 19:52 -0600
Organization A noiseless patient Spider
Message-ID <708dhc-3pf1.ln1@oceanview.tundraware.com> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar


Thread

More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-11 19:52 -0600
  Re: More tkinter Madness Paul Rubin <no.email@nospam.invalid> - 2015-11-11 18:12 -0800
    Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-12 18:26 -0600
  Re: More tkinter Madness Chris Angelico <rosuav@gmail.com> - 2015-11-12 13:25 +1100
    Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-12 18:25 -0600
      Re: More tkinter Madness Michael Torrie <torriem@gmail.com> - 2015-11-12 21:46 -0700
        Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-12 23:42 -0600
          Re: More tkinter Madness Christian Gollwitzer <auriocus@gmx.de> - 2015-11-13 07:32 +0100
            Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-13 13:14 -0600
              Re: More tkinter Madness Laura Creighton <lac@openend.se> - 2015-11-13 20:56 +0100
                Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-13 16:10 -0600
              Re: More tkinter Madness Michael Torrie <torriem@gmail.com> - 2015-11-13 12:58 -0700
                Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-13 16:09 -0600
              Re: More tkinter Madness Christian Gollwitzer <auriocus@gmx.de> - 2015-11-13 22:30 +0100
                Re: More tkinter Madness Tim Daneliuk <tundraBOGUS@tundraware.com> - 2015-11-13 16:10 -0600
                Re: More tkinter Madness Christian Gollwitzer <auriocus@gmx.de> - 2015-11-14 09:14 +0100

csiph-web