wierd hanging

0 views
Skip to first unread message

Christopher Barker

unread,
Sep 25, 2009, 6:33:46 PM9/25/09
to pepp...@googlegroups.com
Rob,

with recent SVN versions, Peppy has been hanging a lot for me on OS-X.
It hangs, I get the "beach ball" for a while, but it usually clears up
after a minute or two.

It seems to happen mostly when I delete a fair bit at once, either by
selecting a bunch and hitting delete, or by hitting the delete key a
bunch of times in a row (or hold it down to let it repeat).

I'm not getting any console messages.

I'm mostly using Python mode.

any ideas?

-Chris


--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris....@noaa.gov

Rob McMullen

unread,
Sep 25, 2009, 7:16:51 PM9/25/09
to pepp...@googlegroups.com
On Fri, Sep 25, 2009 at 3:33 PM, Christopher Barker
<Chris....@noaa.gov> wrote:
> with recent SVN versions, Peppy has been hanging a lot for me on OS-X.
> It hangs, I get the "beach ball" for a while, but it usually clears up
> after a minute or two.

Yes, I just noticed this myself. The first time it hit I thought it
was just something random, but it's now done it to me 3 times over the
last two days.

> It seems to happen mostly when I delete a fair bit at once, either by
> selecting a bunch and hitting delete, or by hitting the delete key a
> bunch of times in a row (or hold it down to let it repeat).
>
> I'm not getting any console messages.

I think it's something in the new spell checking code. I'm going to
try to enable debug printing and see if I can duplicate it.

Rob

Rob McMullen

unread,
Sep 25, 2009, 8:16:20 PM9/25/09
to pepp...@googlegroups.com
On Fri, Sep 25, 2009 at 4:16 PM, Rob McMullen <rob.mc...@gmail.com> wrote:
> I think it's something in the new spell checking code.  I'm going to
> try to enable debug printing and see if I can duplicate it.

Well, I did find something in the way I was triggering the spell
checking code, but that was only caused in r2276. And, that
completely broke the spell checking, so even while that problem is
fixed in the r2283 (the latest svn), I'm almost positive that wasn't
the underlying issue.

I'm running peppy in winpdb and have been banging on it for an hour
but I haven't been able to reproduce it. I'm going to keep running
peppy through winpdb in the hopes that when it occurs, I can break it
at that point.

Rob

Rob McMullen

unread,
Sep 26, 2009, 4:53:23 PM9/26/09
to pepp...@googlegroups.com
On Fri, Sep 25, 2009 at 5:16 PM, Rob McMullen <rob.mc...@gmail.com> wrote:
> I'm running peppy in winpdb and have been banging on it for an hour
> but I haven't been able to reproduce it.  I'm going to keep running
> peppy through winpdb in the hopes that when it occurs, I can break it
> at that point.

Finally able to reproduce it and found the problem. It was in the
spell checker -- the bug was caused by sending a negative number to
wx.stc.SetStyling.

Latest svn has the fix, I'll be making a new release shortly.

Rob

Christopher Barker

unread,
Sep 28, 2009, 12:44:50 PM9/28/09
to pepp...@googlegroups.com
Rob McMullen wrote:
> Latest svn has the fix, I'll be making a new release shortly.

Great, thanks. running SVN now -- I'll let you know if it crops up again.

Reply all
Reply to author
Forward
0 new messages