This is the mail archive of the
mailing list for the Cygwin project.
RE: Problems with tkinter after python upgrade on cygwin
- From: Adam Dinwoodie <Adam dot Dinwoodie at metaswitch dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 15 Feb 2012 12:27:46 +0000
- Subject: RE: Problems with tkinter after python upgrade on cygwin
- Deferred-delivery: Wed, 15 Feb 2012 12:27:00 +0000
- References: <908B205B0EBCC1449FC2AA01C62F101C0150DA20@filexch.lodam.local> <20120215022520.GC2076@tishler.net>
On 15 February 2012 at 02:25, Jason Tishler wrote:
> On Mon, Feb 13, 2012 at 05:23:37PM +0100, Hans Peter Jepsen wrote:
> > I googled for an answer, but did not find any.
> What about the following Google search on "TclError: no display name
> and no $DISPLAY environment variable"?
> The first item from the above search yields:
Having had the same trouble myself with gitk, I don't think the help on those links is particularly useful. The two pieces of advice there (and on most similar posts Google threw at me) are to set $DISPLAY to ':0' or similar (which doesn't help at all without an X server), or saying that one needs to use X.
Having never required X previously, and having assumed the Cygwin installer would have told me if packages I was using required X11, I assumed that was a different problem; one specific to full Linux systems. I "knew" gitk on Cygwin could just work and create windows without needing X11, because that's how it had always worked since I started using it.
Eventually I found http://cygwin.com/ml/cygwin/2012-02/msg00115.html, and realized I did now need to use X11. However, I suspect most people aren't going to subscribe to the Cygwin mailing lists, and are going to hit exactly the same problems. Where they, as I did, will spend quite a bit of time trying to work out why things that always used to work are suddenly pumping out errors about this "X11" thing they've never used previously and have no desire to use.
Software Engineer, Carrier Systems Division
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple