Hello,

Dan, I am an OS X user as well, can you tell me what terminal you use? Is it
Terminal.app or maybe iTerm?

I did notice some terminals seem to send sizes every time they change and some
only send it when you are done resizing. I think this might have something to
do with the crash (quickly dragging and resizing a window can result in this
crash).

Regars, Simon.

On Mon, Jan 18, 2010 at 03:35:57AM -0800, Bob Farrell wrote:
> Hey Dan - thanks for the nice words. :-)
> 
> Can you tell me what you did to cause this crash ? It doesn't surprise
> me that such a crash exists; resizing windows is always risky.
> 
> If you can talk me through the steps to create the crash I'll try to
> replicate it here and hopefully find a way to fix it.
> 
> Cheers,
> 
> On Jan 17, 9:22 pm, "Dan O'Donovan" <[email protected]> wrote:
> > Hi All,
> >
> > First off - I love bpython! I'm recommending it for newb pythoners as
> > it's simply great! I think I might have found a crashing bug (I can't
> > find similar thread in this group). WIth Apple OSX (easy_install, fink
> > python) bpython crashes with
> >
> > Traceback (most recent call last):
> >   File "/sw/bin/bpython", line 8, in <module>
> >     load_entry_point('bpython==0.9.6.2', 'console_scripts', 'bpython')
> > ()
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 1594, in main
> >     banner=banner)
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 1496, in curses_wrapper
> >     return func(stdscr, *args, **kwargs)
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 1562, in main_curses
> >     repl.repl()
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 937, in repl
> >     inp = self.get_line()
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 545, in get_line
> >     key = self.get_key()
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 523, in get_key
> >     self.idle(self)
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 1439, in idle
> >     do_resize(caller)
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 1457, in do_resize
> >     caller.resize()
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 989, in resize
> >     self.statusbar.resize(refresh=False)
> >   File "/sw/lib/python2.6/site-packages/bpython-0.9.6.2-py2.6.egg/
> > bpython/cli.py", line 1269, in resize
> >     self.win.mvwin(self.y, self.x)
> > _curses.error: mvwin() returned ERR
> >
> > Just a heads up!
> >
> > Thanks for the great tool,
> >
> > Dan

> -- 
> You received this message because you are subscribed to the Google Groups 
> "bpython" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/bpython?hl=en.
> 
> 

Attachment: signature.asc
Description: Digital signature

Reply via email to