Jonathan Lassoff
2008-Jun-18 12:00 UTC
[sup-talk] sup crashes while performing general searches
Hi,
I''m mailing the list as prompted to do so by the cute crash banner.
I''m just trying sup out for the first several times, and I''ve
added a single Maildir source in my local home directory.
I find that when doing a general search ("\") that returns more than 5
results or so, sup crashes.
For example, when I do a general search for "banana", I get two
messages in my inbox just fine. However, if I perform a search for
"hello" (should be ~80 results), sup crashes with the attached error.
--jonathan
-------------- next part --------------
--- RuntimeError from thread: load threads for thread-index-mode
invalid source 2
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/index.rb:362:in `build_message''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/index.rb:261:in
`each_id_by_date''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/thread.rb:330:in `call''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/thread.rb:330:in
`load_n_threads''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/index.rb:261:in
`each_id_by_date''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/index.rb:261:in `each''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/index.rb:261:in
`each_id_by_date''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/thread.rb:326:in
`load_n_threads''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/modes/thread-index-mode.rb:493:in
`__unprotected_load_n_threads''
(eval):12:in `load_n_threads''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/modes/thread-index-mode.rb:477:in
`load_n_threads_background''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup.rb:60:in `reporting_thread''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup.rb:58:in `initialize''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup.rb:58:in `new''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup.rb:58:in `reporting_thread''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/modes/thread-index-mode.rb:476:in
`load_n_threads_background''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/modes/thread-index-mode.rb:546:in
`__unprotected_load_threads''
(eval):12:in `load_threads''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/modes/search-results-mode.rb:34:in
`spawn_from_query''
/var/lib/gems/1.8/gems/sup-0.5/bin/sup:262
/var/lib/gems/1.8/bin/sup:18:in `load''
/var/lib/gems/1.8/bin/sup:18
--- SystemExit from thread: main
invalid source 2
/var/lib/gems/1.8/gems/sup-0.5/lib/sup.rb:64:in `select''
/var/lib/gems/1.8/gems/sup-0.5/lib/sup/buffer.rb:31:in
`nonblocking_getch''
/var/lib/gems/1.8/gems/sup-0.5/bin/sup:227
/var/lib/gems/1.8/bin/sup:18:in `load''
/var/lib/gems/1.8/bin/sup:18
William Morgan
2008-Jun-20 15:42 UTC
[sup-talk] sup crashes while performing general searches
Hi Jonathan, Reformatted excerpts from Jonathan Lassoff''s message of 2008-06-18:> --- RuntimeError from thread: load threads for thread-index-mode > invalid source 2It looks like there''s a source referenced in your index file that didn''t appear in your sources.yaml. Did you manually edit your list of sources, or somehow otherwise create this situation? Deleting a source from the list may also do this. The quick answer is to regenerate your index from scratch; then everything should be synced up with your sources.yaml file. Something like: rm -rf ~/.sup/ferret sup-sync --all-sources Of course that may take some time, depending on how much email you have. -- William <wmorgan-sup at masanjin.net>