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: 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 Date: Wed, 12 Feb 2014 13:13:11 -0700 Subject: Re: Wait... WHAT? To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Wed, Feb 12, 2014 at 12:43 PM, 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.