From mboxrd@z Thu Jan 1 00:00:00 1970 From: pierre@baillet.name (Pierre Baillet) Date: Wed, 14 Nov 2007 00:00:06 +0100 Subject: [sup-talk] Crash when deleting an email from person-search-results-mode Message-ID: <6205b42d0711131500k2c784316t9dd6ae831e98a0ed@mail.gmail.com> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071114/f5b6822f/attachment.html