Re: [wxPython-users] XRCED GUI freezing

45 views
Skip to first unread message

Robin Dunn

unread,
Aug 8, 2012, 1:47:36 PM8/8/12
to wxpytho...@googlegroups.com
On 8/8/12 6:31 AM, Rinze de Laat wrote:
> I've just successfully compiled and installed wxPython 2.9.4.1 on Ubuntu
> 12, using the source tar ball and the 2.9.4.1 patch.
>
> However, now XRCed's user interface keeps freezing (version 0.2.1-0 ).
> And it's only the visible part. XRCed still processes user generated
> events and I can easily quit the application.
>
> Can anyone reproduce this problem?
>

I'm guessing that there is a Freeze() that didn't have an associated
Thaw()... Did you run from a terminal so you could see if there were
any exceptions? That could be one reason that a Thaw() got skipped.


--
Robin Dunn
Software Craftsman
http://wxPython.org

Rinze de Laat

unread,
Aug 9, 2012, 4:28:43 AM8/9/12
to wxpytho...@googlegroups.com
Luckily I only found one Freeze/Thaw pair in XRCed, so that was an easy search.

The problem seems to come from calls to a notebook's RemovePage method. It's in between the Freeze() and Thaw() calls. The Thaw call is still reached, but just doesn't seem to do it's job. If I disable the RemovePage calls or move the Freeze() below it, the problem goes away. All this happens without an exception in sight.

The code can be found in the AttributePanel module, starting at line 130 (the SetData method).

For now, I've "disabled" this problem so I can get on with my work, but I'm starting to expect that I'll run into other 'quirky' behaviour because something went wrong when I built wxPython 2.9.

To be continued...
Reply all
Reply to author
Forward
0 new messages