Sup crashing upon save changes ($)

View: New views
2 Messages — Rating Filter:   Alert me  

Sup crashing upon save changes ($)

by Richard Sandilands-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
sup-talk@...
http://rubyforge.org/mailman/listinfo/sup-talk

Re: Sup crashing upon save changes ($)

by William Morgan-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Reformatted excerpts from Richard Sandilands's message of 2009-10-21:
> 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

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 <wmorgan-sup@...>
_______________________________________________
sup-talk mailing list
sup-talk@...
http://rubyforge.org/mailman/listinfo/sup-talk