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


Groups > comp.lang.python > #66075

Re: Wait... WHAT?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'messages.': 0.05; 'exists.': 0.07; 'failing': 0.07; 'tkinter': 0.07; 'preferable': 0.09; 'bug': 0.12; 'random': 0.14; 'exist.': 0.16; 'file-like': 0.16; 'mode,': 0.16; 'none.': 0.16; 'stderr': 0.16; 'stuff.': 0.16; 'sys.stderr': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'trying': 0.19; 'feb': 0.22; 'appears': 0.22; 'header:In-Reply-To:1': 0.27; 'hosting': 0.29; 'mode': 0.30; 'message-id:@mail.gmail.com': 0.30; 'along': 0.30; 'code': 0.31; 'info.': 0.31; 'probably': 0.32; 'run': 0.32; 'running': 0.33; 'received:google.com': 0.35; 'doing': 0.36; "i'll": 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'so,': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'does': 0.39; '12,': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; "you're": 0.61; 'first': 0.61; "you'll": 0.62; 'yourself': 0.78; '(probably': 0.84; 'capture': 0.91; 'url:image': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=cuVEeq75KhiBZIXUP5425yW+0s2Dp2ILEp+Aff8hQdA=; b=aGgLbN1bUxfPeO3TXx3CrdxG1lFS+yCzOdTj6XcJ0Gz1EFm9+TypFuaV/ZEY4c+Lio TQaiMsQnxfNnhduG4M683XjfIVQ2DaRWbR2s2pUswIeTIVlQk5cIiqgIGOTADHpID8qk gi7+h4ShOtByQSwBKwcYDvZIk5+XHhglKvl1A6whWhSbt+Nd6PYqRCTzwGhurwrYEWht NEsTKvCrxUoUF+ROIaIXVrGpVeIcNDxIZpzKxJ0Hdrp+qL8hpMml9ojgCz2Xy4+WCnwh 4Me3HJNvxFhwXUZtGwjLBBxD4xzZ0ZUPOl07bAJu0zUx5ESTgzsiINnCa9hodWoQz7Gz jxOw==
X-Received by 10.68.129.201 with SMTP id ny9mr53805045pbb.70.1392236031868; Wed, 12 Feb 2014 12:13:51 -0800 (PST)
MIME-Version 1.0
In-Reply-To <6c76ef4e-8c7c-4199-b30d-c4d55c1061c8@googlegroups.com>
References <6c76ef4e-8c7c-4199-b30d-c4d55c1061c8@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Wed, 12 Feb 2014 13:13:11 -0700
Subject Re: Wait... WHAT?
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6778.1392236035.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392236035 news.xs4all.nl 2909 [2001:888:2000:d::a6]:43945
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66075

Show key headers only | View raw


On Wed, Feb 12, 2014 at 12:43 PM,  <eneskristo@gmail.com> wrote:
> http://postimg.org/image/rkm9lhj8n/
>
> So, I was doing some cx freeze stuff. If you cant understand everything from the pic, I'll give extra info. Please help me.

It would be preferable if you would please copy and paste the
exception along with the code being run into your post, rather than
linking to a (probably transient) image on some random hosting site.

It appears that tkinter is trying to write an exception directly to
stderr and failing because sys.stderr is None.  This is probably
because you're running the program in console-less mode, where
sys.stderr (along with stdin and stdout) does not exist.  You'll need
to either run your program in console mode or set up a file-like
object yourself in place of sys.stderr to capture these messages.

It might also be considered a bug in tkinter that it attempts to write
to stderr without first ensuring that stderr exists.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Wait... WHAT? eneskristo@gmail.com - 2014-02-12 11:43 -0800
  Re: Wait... WHAT? Ian Kelly <ian.g.kelly@gmail.com> - 2014-02-12 13:13 -0700
  Re: Wait... WHAT? eneskristo@gmail.com - 2014-02-12 12:21 -0800
    Re: Wait... WHAT? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-12 20:38 +0000
    Re: Wait... WHAT? Ian Kelly <ian.g.kelly@gmail.com> - 2014-02-12 14:35 -0700
    Re: Wait... WHAT? Michael Torrie <torriem@gmail.com> - 2014-02-12 14:39 -0700
    Re: Wait... WHAT? Tim Chase <python.list@tim.thechases.com> - 2014-02-12 16:14 -0600
    Re: Wait... WHAT? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-12 23:36 +0000
    Re: Wait... WHAT? Ian Kelly <ian.g.kelly@gmail.com> - 2014-02-12 17:01 -0700
    Re: Wait... WHAT? Tim Chase <python.list@tim.thechases.com> - 2014-02-12 18:44 -0600
    Re: Wait... WHAT? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-13 00:59 +0000
    Re: Wait... WHAT? Chris Angelico <rosuav@gmail.com> - 2014-02-13 12:10 +1100
    Re: Wait... WHAT? Tim Chase <python.list@tim.thechases.com> - 2014-02-12 21:29 -0600
    Re: Wait... WHAT? Chris Angelico <rosuav@gmail.com> - 2014-02-13 14:47 +1100
      Re: Wait... WHAT? eneskristo@gmail.com - 2014-02-13 09:46 -0800
        Re: Wait... WHAT? MRAB <python@mrabarnett.plus.com> - 2014-02-13 18:25 +0000
        Re: Wait... WHAT? Michael Torrie <torriem@gmail.com> - 2014-02-13 15:22 -0700
  Re: Wait... WHAT? eneskristo@gmail.com - 2014-02-12 12:43 -0800
    Re: Wait... WHAT? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-12 20:56 +0000
      Re: Wait... WHAT? eneskristo@gmail.com - 2014-02-12 12:59 -0800
        Re: Wait... WHAT? Chris Angelico <rosuav@gmail.com> - 2014-02-13 08:17 +1100
        Re: Wait... WHAT? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-12 21:23 +0000
    Re: Wait... WHAT? Grant Edwards <invalid@invalid.invalid> - 2014-02-12 23:09 +0000

csiph-web