Subject: [sup-talk] Sup crashing upon save changes ($)

From: Richard Sandilands <[email-masked]>
Date: Thu, 22 Oct 2009 13:36:53 +1100

I'm tracking next and when I hit $, sup crashes and logs this:

Any clues on how to get things ironed out would be appreciated.

Exception log:

--- Errno::ENOENT from thread: load messages for thread-view-mode
No such file or directory - /Users/richard/.sup/drafts/18
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/draft.rb:74:in `initialize'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/draft.rb:74:in `open'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/draft.rb:74:in `load_header'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:560:in `send'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:560:in `__pass'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/message.rb:235:in `load_from_source!'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:108:in `select'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/hook.rb:121:in `each_with_index'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:81:in `each'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:170:in `each_with_stuff'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:168:in `each_with_stuff'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:170:in `each_with_stuff'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:169:in `each'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:169:in `each_with_stuff'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:78:in `each'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:75:in `each'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:105:in `each_with_index'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:105:in `select'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/buffer.rb:709:in `say'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:104:in `select'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup.rb:77:in `reporting_thread'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup.rb:75:in `initialize'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup.rb:75:in `new'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup.rb:75:in `reporting_thread'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:101:in `select'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/mode.rb:51:in `send'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/mode.rb:51:in `handle_input'
/Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/buffer.rb:260:in `handle_input'
/Users/richard/src/mainline/bin/sup:245

-- 
Richard Sandilands
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: William Morgan <[email-masked]>
Date: Tue, 03 Nov 2009 05:43:25 -0800

> No such file or directory - /Users/richard/.sup/drafts/18

It looks like Sup's expecting a draft message that disappeared from disk
somehow. You should be able to fix this by reindexing the drafts folder:

  sup-sync --all -v sup://drafts

But you may want to find out why that file disappeared.
-- 
William <[email-masked]>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk