Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101768
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: wxpython strange behaviour |
| Date | Fri, 15 Jan 2016 10:24:55 -0700 |
| Lines | 27 |
| Message-ID | <mailman.24.1452878738.15297.python-list@python.org> (permalink) |
| References | <56470d3e-0a06-4ba1-8da7-b6966985b7f4@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de Rv6S4QVq03L1CALsseZa1Q5QascdyxbufyG6eo780vIQ== |
| 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.015 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'used.': 0.05; 'url:github': 0.09; 'python': 0.10; 'jan': 0.11; '10:05': 0.16; '2016': 0.16; '404': 0.16; 'doesnt': 0.16; 'hex': 0.16; 'invoking': 0.16; 'received:209.85.213.176': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'screen,': 0.16; 'wrote:': 0.16; 'creates': 0.18; 'runs': 0.18; 'am,': 0.23; 'seems': 0.23; 'wrote': 0.23; "haven't": 0.24; 'second': 0.24; 'header:In-Reply- To:1': 0.24; 'script': 0.25; "i've": 0.25; 'error': 0.27; 'fri,': 0.27; 'separate': 0.27; 'message-id:@mail.gmail.com': 0.27; 'fine': 0.28; 'didnt': 0.29; 'code': 0.30; '15,': 0.30; 'probably': 0.31; 'included': 0.32; 'screen': 0.32; 'getting': 0.33; 'run': 0.33; 'problem': 0.33; 'message.': 0.33; "i'll": 0.33; 'running': 0.34; 'received:google.com': 0.35; 'next': 0.35; 'could': 0.35; 'but': 0.36; 'should': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'display': 0.37; 'say': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'skip:p 20': 0.38; 'mean': 0.38; 'enough': 0.39; 'easily': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'your': 0.60; 'inline': 0.63; 'panel': 0.63; 'different': 0.63; 'times': 0.63; 'answer.': 0.72; 'disappear': 0.84; 'to:name:python': 0.84; 'unclear': 0.84; 'processes,': 0.93 |
| 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:content-transfer-encoding; bh=jXAOWE3L5Ivsth56+3y/FIfYZau1M4WKfhm+QhPUGkQ=; b=iQJdpJgJB1zZgYKi6XL6D+37plbBzwOQ50svy2TuVFBx/h3QLVnmepTTX26Ex0svwp KkjPIRwo2bjRQBd6F9k+Wxhz64IDboMisCpWTESYnL71OaRUpHgeWzMsOucA3/VkD5Lh Pxl2T2HSMqJXERT17jon/atLYk1FnUGDANYZzu2/UzIgvx4OE4X7p5wY5Fvk52ITgFXW JwLBDsx8OrCnTjNFjceSJ62MHe/CyB2zZSGpAVrjwE7CpvLt28gK4txNhI3RX1ooppvd BuyVioosSct4/s8P74rzbPEoCJ/Ub7lnQ94f5YsFfJK3RJz5d40swOT1hvhJV2ygERds W/FA== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=jXAOWE3L5Ivsth56+3y/FIfYZau1M4WKfhm+QhPUGkQ=; b=EnCVFR1vUD3nvO8PUZnt3s1DXPMRtG6C0DaQQcsIz5ehy5z2Q+hubyRoKOuESpug18 NE2CB28pOOjfmLXejBsBFrXPrQsIa0Vt5Pp4ITHjU6Gmp/WOqy7N4vQzkPFT6QLi45jD 2BMSwZMeOP1jjHxG/IFiqFVGziYO5H+b9sZ7N9YuXXS7hoH++MyUq8l82HvIMWg9cE5U +88+auM+sA4ymVrPgIan53bzlfwDvlzgBna4o4L4BgVLn19gWLxobMFKd4lANGDrNcpP pQKgJ0PDR87SvNvPWB2dMbHHGDJfbZIldOQiR8AWn1om7u4eDNaPXrQ44IQsg6UkfWP2 R5Tg== |
| X-Gm-Message-State | AG10YORuYkkya/dp2hiX9aBwkVrWUY3elpMCz33AtSPzs3arSn8oSt1W99MnyhnR/g8zSs1TImhdZ3kOb0zePQ== |
| X-Received | by 10.50.28.51 with SMTP id y19mr4281693igg.93.1452878735182; Fri, 15 Jan 2016 09:25:35 -0800 (PST) |
| In-Reply-To | <56470d3e-0a06-4ba1-8da7-b6966985b7f4@googlegroups.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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> |
| Xref | csiph.com comp.lang.python:101768 |
Show key headers only | View raw
On Fri, Jan 15, 2016 at 10:05 AM, Shiva Upreti <katewinslet626@gmail.com> wrote: > https://gist.github.com/anonymous/4baa67aafd04555eb4e6 > > I wrote the above code to display a toasterbox, and I didnt want it to display any frames on the screen, just a toasterbox. The problem with this code is that it runs fine when I run it the first time, but when I run it next time it shows some error and the toasterbox doesnt disappear from the screen itself(it should though). > Error message I got: > https://gist.github.com/anonymous/f0d4ec685d2432c80a1 The first gist is short enough that it easily could have been included inline in your message. The second gist is a 404 (looks like it may be short one hex digit). I haven't used wxPython in a while and I've never used that ToasterBox widget, but I'll see what I can answer. If you don't want any frames then you should probably use parent=None, not parent=wx.Frame(None), which creates a frame. Also, the purpose of the panel is unclear since it's never used. When you say that you run it the next time, do you mean that you're running this script twice, as two separate processes, and getting different results? That seems strange. Or do you mean that you're invoking this code multiple times in the same Python process?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
wxpython strange behaviour Shiva Upreti <katewinslet626@gmail.com> - 2016-01-15 09:05 -0800
Re: wxpython strange behaviour Ian Kelly <ian.g.kelly@gmail.com> - 2016-01-15 10:24 -0700
Re: wxpython strange behaviour Shiva Upreti <katewinslet626@gmail.com> - 2016-01-15 16:52 -0800
Re: wxpython strange behaviour Shiva Upreti <katewinslet626@gmail.com> - 2016-01-15 16:56 -0800
Re: wxpython strange behaviour Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-01-15 20:51 +0000
Re: wxpython strange behaviour Shiva Upreti <katewinslet626@gmail.com> - 2016-01-15 16:58 -0800
Re: wxpython strange behaviour Michael Torrie <torriem@gmail.com> - 2016-01-15 23:47 -0700
Re: wxpython strange behaviour Dietmar Schwertberger <maillist@schwertberger.de> - 2016-01-15 22:22 +0100
Re: wxpython strange behaviour Shiva Upreti <katewinslet626@gmail.com> - 2016-01-15 16:59 -0800
Re: wxpython strange behaviour Shiva Upreti <katewinslet626@gmail.com> - 2016-01-15 16:49 -0800
csiph-web