Subject: [sup-talk] exception on sending a message

From: [email-masked] (jeff covey)
Date: Tue, 12 Jun 2007 21:12:51 -0400

i just got an exception while sending a message.  i composed the message and
exited the editor, going back to compose-mode.  i hit "q" by mistake and was
asked whether i wanted to discard the message.  i hit "n", then "y" to send.
the message was sent, but then i got:

[Tue Jun 12 21:08:44 -0400 2007] oh crap, an exception
[Tue Jun 12 21:08:44 -0400 2007] unlocking /home/jeff/.sup/lock...
----------------------------------------------------------------
I'm very sorry, but it seems that an error occurred in Sup.
Please accept my sincere apologies. If you don't mind, please
send the backtrace below and a brief report of the circumstances
to wmorgan-sup at masanjin dot nets so that I might address this
problem. Thank you!

Sincerely,
William
----------------------------------------------------------------

The problem was: undefined method `resize' for nil:NilClass (error type NoMethodError)
A backtrace follows:
./lib/sup/buffer.rb:215:in `draw_screen': undefined method `resize' for nil:NilClass (NoMethodError)
        from ./lib/sup/buffer.rb:441:in `flash'
        from ./lib/sup/util.rb:313:in `send'
        from ./lib/sup/util.rb:313:in `method_missing'
        from ./lib/sup/modes/edit-message-mode.rb:130:in `send_message'
        from ./lib/sup/mode.rb:52:in `send'
        from ./lib/sup/mode.rb:52:in `handle_input'
        from ./lib/sup/buffer.rb:178:in `handle_input'
        from bin/sup:183

thanks,

-- 
jeff covey
http://jeffcovey.net/

---

From: [email-masked] (William Morgan)
Date: Tue, 12 Jun 2007 19:10:45 -0700

Excerpts from Jeff Covey's message of Tue Jun 12 18:12:51 -0700 2007:
> i just got an exception while sending a message.  i composed the
> message and exited the editor, going back to compose-mode.  i hit "q"
> by mistake and was asked whether i wanted to discard the message.  i
> hit "n", then "y" to send.

Should be fixed in SVN. Thanks!

-- 
William <wmorgan-sup at masanjin.net>