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 >>> <tundrabo...@tundraware.com> 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.. -- https://mail.python.org/mailman/listinfo/python-list