As a sup newbie who has been trying to give sup a go for a month I actually have several questions about sup but I'll start with the one in the subject: I am running sup v0.12.1. I have a ~/.sup/hooks/before-pull.rb hook which invokes offlineimap just as described in the wiki: def offlineimap(*folders) cmd = "offlineimap -q -u Noninteractive.Basic" cmd << " -f #{folders * ','}" unless folders.compact.empty? `#{cmd} 2>&1` end def folder_names(sources) sources.map { |s| s.uri.split('/').last } end def inbox_sources(sources = Index.usual_sources) sources.find_all { |s| !s.archived? }.sort_by {|s| s.id } end if (@last_fetch || Time.at(0)) < Time.now - 120 say "Running offlineimap..." # only check non-auto-archived sources on the first run log offlineimap(@last_fetch ? nil : folder_names(inbox_sources)) say "Finished offlineimap run." end @last_fetch = Time.now I put this in place, restarted sup, hit P and nothing different seems to happen. It returns immediately and never says "finished offlineimap run". I'm not sure what else to say or do. What could I be missing? Other questions: Is there any way to have a message on the IMAP server deleted when it is deleted in sup? Sup seems to be a rather unknown mail client and the IRC channel is very quiet. I hear a lot of people have moved on to other efforts such as Notmuch. Does sup have a future? I have been using mutt since the mid 90's and it has done well. But lately it has left me wanting better multi-email account support, more scriptability/customization (.muttrc allows for customization but nothing like having a built-in programming language), and ability to filter mail built-into the client. It has been solid today but in the previous week I would run into frequent crashes. Crash dumps included below. Thanks for any insight you can provide! [Tue Nov 22 10:10:35 -0800 2011] ERROR: oh crap, an exception ---------------------------------------------------------------- I'm very sorry. It seems that an error occurred in Sup. Please accept my sincere apologies. Please submit the contents of /home/treed/.sup/exception-log.txt and a brief report of the circumstances to http://masanjin.net/sup-bugs/ so that I might address this problem. Thank you! Sincerely, William ---------------------------------------------------------------- --- RuntimeError from thread: main unknown drawable object: nil in #<Redwood::LabelListMode:0x7f232bd3c8b8> for line 2 /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:200:in `draw_line' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:52:in `draw_line' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:121:in `cursor_up' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/mode.rb:59:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/mode.rb:59:in `handle_input' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:277:in `handle_input' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/bin/sup:260 /usr/bin/sup:19:in `load' /usr/bin/sup:19 [Tue Nov 22 10:17:01 -0800 2011] ERROR: oh crap, an exception ---------------------------------------------------------------- I'm very sorry. It seems that an error occurred in Sup. Please accept my sincere apologies. Please submit the contents of /home/treed/.sup/exception-log.txt and a brief report of the circumstances to http://masanjin.net/sup-bugs/ so that I might address this problem. Thank you! Sincerely, William ---------------------------------------------------------------- --- ArgumentError from thread: load messages for thread-view-mode buffer not on stack: #<Redwood::Buffer:0x7fb04c156928>: "backup.mydomain.com LOLLERSKATES results" /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:440:in `kill_buffer' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:431:in `kill_buffer_safely' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:647:in `dispatch' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:129:in `call' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:129:in `select' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:78:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `new' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:109:in `select' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:159:in `launch_another_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:141:in `launch_next_thread_after' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:652:in `dispatch' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:617:in `delete_and_then' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:580:in `delete_and_next' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/mode.rb:59:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/mode.rb:59:in `handle_input' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:277:in `handle_input' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/bin/sup:260 /usr/bin/sup:19:in `load' /usr/bin/sup:19 [Tue Nov 22 10:34:09 -0800 2011] ERROR: oh crap, an exception ---------------------------------------------------------------- I'm very sorry. It seems that an error occurred in Sup. Please accept my sincere apologies. Please submit the contents of /home/treed/.sup/exception-log.txt and a brief report of the circumstances to http://masanjin.net/sup-bugs/ so that I might address this problem. Thank you! Sincerely, William ---------------------------------------------------------------- --- ArgumentError from thread: load messages for thread-view-mode buffer not on stack: #<Redwood::Buffer:0x7f09b3d7ddb8>: "new-fw1.mydomain.com LOLLERSKATES results" /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:440:in `kill_buffer' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:431:in `kill_buffer_safely' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:647:in `dispatch' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:129:in `call' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:129:in `select' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:78:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `new' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:109:in `select' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:159:in `launch_another_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:141:in `launch_next_thread_after' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:652:in `dispatch' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:617:in `delete_and_then' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:580:in `delete_and_next' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/mode.rb:59:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/mode.rb:59:in `handle_input' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:277:in `handle_input' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/bin/sup:260 /usr/bin/sup:19:in `load' /usr/bin/sup:19 [Tue Nov 22 10:50:19 -0800 2011] ERROR: oh crap, an exception ---------------------------------------------------------------- I'm very sorry. It seems that an error occurred in Sup. Please accept my sincere apologies. Please submit the contents of /home/treed/.sup/exception-log.txt and a brief report of the circumstances to http://masanjin.net/sup-bugs/ so that I might address this problem. Thank you! Sincerely, William ---------------------------------------------------------------- --- ArgumentError from thread: load messages for thread-view-mode buffer not on stack: #<Redwood::Buffer:0x7fc47f1be4a0>: "** PROBLEM Service Alert: newsdb2/Disk Space is WARNING **" /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:440:in `kill_buffer' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:431:in `kill_buffer_safely' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:647:in `dispatch' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:129:in `call' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:129:in `select' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:78:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `new' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:109:in `select' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:159:in `launch_another_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:141:in `launch_next_thread_after' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:652:in `dispatch' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:617:in `delete_and_then' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-view-mode.rb:580:in `delete_and_next' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/mode.rb:59:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/mode.rb:59:in `handle_input' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:277:in `handle_input' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/bin/sup:260 /usr/bin/sup:19:in `load' /usr/bin/sup:19 [Tue Nov 22 11:16:19 -0800 2011] ERROR: oh crap, an exception ---------------------------------------------------------------- I'm very sorry. It seems that an error occurred in Sup. Please accept my sincere apologies. Please submit the contents of /home/treed/.sup/exception-log.txt and a brief report of the circumstances to http://masanjin.net/sup-bugs/ so that I might address this problem. Thank you! Sincerely, William ---------------------------------------------------------------- --- NoMethodError from thread: checking for idleness undefined method `write' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:245:in `draw_line_from_string' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:182:in `draw_line' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:48:in `draw' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:48:in `each' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/scroll-mode.rb:48:in `draw' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:119:in `draw' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:103:in `redraw' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:339:in `draw_screen' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/buffer.rb:769:in `clear' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:471:in `flush_index' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/inbox-mode.rb:119:in `handle_idle_update' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `relay' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `each' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/update.rb:26:in `relay' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/idle.rb:29:in `start' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:78:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `new' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/idle.rb:25:in `start' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `send' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/bin/sup:223 /usr/bin/sup:19:in `load' /usr/bin/sup:19 [Tue Nov 22 11:18:29 -0800 2011] ERROR: oh crap, an exception ---------------------------------------------------------------- I'm very sorry. It seems that an error occurred in Sup. Please accept my sincere apologies. Please submit the contents of /home/treed/.sup/exception-log.txt and a brief report of the circumstances to http://masanjin.net/sup-bugs/ so that I might address this problem. Thank you! Sincerely, William ---------------------------------------------------------------- --- NoMethodError from thread: load threads for thread-index-mode undefined method `has_label?' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:833:in `text_for_thread_at' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:781:in `regen_text' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:444:in `map_with_index' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/hook.rb:55:in `each_with_index' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:444:in `each' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:444:in `each_with_index' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/util.rb:444:in `map_with_index' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:781:in `regen_text' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:242:in `update' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:643:in `__unprotected_load_n_threads' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/thread.rb:340:in `load_n_threads' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/index.rb:151:in `each_id_by_date' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/index.rb:246:in `each_id' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/index.rb:246:in `each' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/index.rb:246:in `each_id' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/index.rb:151:in `each_id_by_date' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/thread.rb:334:in `load_n_threads' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:640:in `__unprotected_load_n_threads' (eval):12:in `load_n_threads' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:624:in `load_n_threads_background' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:78:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `new' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup.rb:76:in `reporting_thread' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:623:in `load_n_threads_background' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:694:in `__unprotected_load_threads' (eval):12:in `load_threads' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:89:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:22:in `call' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:22:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:22:in `each' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:22:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:19:in `new' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/line-cursor-mode.rb:19:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/thread-index-mode.rb:60:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/lib/sup/modes/inbox-mode.rb:14:in `initialize' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/bin/sup:194:in `new' /usr/lib/ruby/gems/1.8/gems/sup-0.12.1/bin/sup:194 /usr/bin/sup:19:in `load' /usr/bin/sup:19 -- Tracy Reed
Attachment:
pgpG5Ce98OrmF.pgp
Description: PGP signature
_______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk