Are There Known Problems With tkinter And VPS Servers?

Tim Daneliuk tundra at bogus-city.tundraware.com
Mon Sep 28 04:33:08 CEST 2015


On 09/27/2015 06:32 PM, Terry Reedy wrote:
> On 9/27/2015 5:31 PM, Tim Daneliuk wrote:
> 
>>> Of late, I am seeing core dumps of this program (which has been stable/mature for some
>>> years) but only on VPS servers, both FreeBSD 10 and CentOS 6/7.
> 
>> Correction:  It dumps core on FreeBSD 10.2
> 
> Dumping core when there is no terminal server, instead of exiting gracefully, might be considered a bug.
> 
>> but on CentOS 6 I get:
>>
>> 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
> 
> Beside Paul's comment, I suggest running with 2.7.latest and tk 8.6.latest if at all possible to get tkinter and tk bug fixed.
> 
> Also, Menubutton is considered obsolete for Window level menus, so it may not be maintained as well.  Just use Menu if at all possible.
> 

Unfortunately, CentOS tracks the corresponding RHEL component versions pretty much exactly (that's sort of the
point).  Moreover, this exact OS release level works flawlessly in other kinds of VMs and physical instances.




More information about the Python-list mailing list