Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Crash when deleting an email from person-search-results-mode
@ 2007-11-13 23:00 Pierre Baillet
  2007-11-14 17:07 ` William Morgan
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Baillet @ 2007-11-13 23:00 UTC (permalink / raw)


Hi there,

while playing with the contact manager (shouldn't tab look for
"*typedstring* instead of "typedstring*" when selecting TO recipients ?), I
did a search "S" on one of my contact. Sup brought back one email which I
could read by pressing enter. However, as soon as i typed d to delete the
email, sup crashed :

The problem was: 'no implicit conversion from nil to integer' (error type
TypeError)
A backtrace follows:
/home/oct/temp/sup_trunk/lib/sup/modes/thread-index-mode.rb:483:in
`delete_at': no implicit conversion from nil to integer (TypeError)
        from /home/oct/temp/sup_trunk/lib/sup/modes/thread-index-mode.rb:483:in
`hide_thread'
        from /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
        from /home/oct/temp/sup_trunk/lib/sup/modes/thread-index-mode.rb:479:in
`hide_thread'
        from /home/oct/temp/sup_trunk/lib/sup/modes/thread-index-mode.rb:126:in
`handle_deleted_update'
        from /home/oct/temp/sup_trunk/lib/sup/update.rb:16:in `send'
        from /home/oct/temp/sup_trunk/lib/sup/update.rb:16:in `relay'
        from /home/oct/temp/sup_trunk/lib/sup/update.rb:16:in `each'
        from /home/oct/temp/sup_trunk/lib/sup/update.rb:16:in `relay'
         ... 7 levels...
        from /home/oct/temp/sup_trunk/lib/sup/mode.rb:54:in `send'
        from /home/oct/temp/sup_trunk/lib/sup/mode.rb:54:in `handle_input'
        from /home/oct/temp/sup_trunk/lib/sup/buffer.rb:203:in
`handle_input'
        from /home/oct/temp/sup_trunk/bin/sup:208

I had just synchronised my sup with my mailbox. From the backtrace, I
suspect that this is the redraw of the updated (now empty) result list that
poses problem, but i didn't look into it very much...

-- 
Pierre Baillet <pierre at baillet.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071114/f5b6822f/attachment.html 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-15  0:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-13 23:00 [sup-talk] Crash when deleting an email from person-search-results-mode Pierre Baillet
2007-11-14 17:07 ` William Morgan
2007-11-14 17:39   ` Nicolas Pouillard
2007-11-15  0:36     ` vasudeva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox