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: Re: More tkinter Madness Date: Thu, 12 Nov 2015 23:42:38 -0600 Organization: A noiseless patient Spider Lines: 39 Message-ID: References: <708dhc-3pf1.ln1@oceanview.tundraware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Info: tundraware.eternal-september.org; posting-host="5a15fedc1d2651a6099f1673ffb218fd"; logging-data="11150"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/a5xvRN8oIZJI0rTQb1s8VLj/Uwq3aFEE=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: Cancel-Lock: sha1:0q0khKXQQTJPBnY85tV1EcSPit0= Xref: csiph.com comp.lang.python:98729 On 11/12/2015 10:46 PM, Michael Torrie wrote: > On 11/12/2015 05:25 PM, Tim Daneliuk wrote: >> On 11/11/2015 08:25 PM, Chris Angelico wrote: >>> On Thu, Nov 12, 2015 at 12:52 PM, Tim Daneliuk >>> wrote: >>>> 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. >>>> >>>> Traceback (most recent call last): >>>> File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main >>> >>> It's running here under Python 2.6. Sorry if this is a question you've >>> already been asked, but were you successfully running under 2.6 >>> elsewhere? Might be a versioning issue. >>> >>> ChrisA >>> >> >> It always ran OK on every previous version of Python from about 2.4 forward >> on VMs, physicals, *nix, OSX, Windows, etc. > > And other X11 apps are working fine on the test VPS where your app > crashes? Other Tk apps? Other Python Tk apps? > > Your app runs fine on my VPS (Linode), running CentOS 7, Python 2.7. > Also runs fine on my CentOS 6 VM (also Linode), Python 2.6.6. > > I also verified that if X11 forwarding is not working, Python reports an > exception "_tkinter.TclError: no display name and no $DISPLAY > environment variable" immediately, so that's definitely not your problem. > > > Curioser and curioser. Yes, xterm works fine. Dunno about any other tk apps. Hmmmm..