[sup-talk] Crash when deleting an email from person-search-results-mode

Pierre Baillet pierre at baillet.name
Tue Nov 13 18:00:06 EST 2007


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 


More information about the sup-talk mailing list