Subject: [sup-talk] crash with 'Too many clauses'

From: [email-masked] (David Fortunato)
Date: Thu, 17 Jan 2008 19:11:22 -0500

I've run into a problem with sup 0.3.  I tried the current git HEAD  
and have the same problem.

It seems similar to http://rubyforge.org/pipermail/sup-talk/2007-December/000688.html

The crash log is attached, any ideas?

Thanks,
Dave

--- Ferret::StateError from thread: load threads for thread-index-mode
State Error occured at <except.c>:93 in xraise
Error occured in q_boolean.c:1595 - bq_add_query_nr
         Two many clauses. The max clause limit is set to <1024> but  
your query has <1024> clauses
. You can try increasing :max_clause_count for the BooleanQuery or  
using a different type of quer
y.

/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/index.rb:270:in `add_query'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/index.rb:270:in  
`each_message_in_thread_for'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/index.rb:268:in `each'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/index.rb:268:in  
`each_message_in_thread_for'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/thread.rb:321:in  
`load_thread_for_message'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/thread.rb:313:in  
`load_n_threads'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/index.rb:217:in  
`each_id_by_date'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/index.rb:217:in `each'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/index.rb:217:in  
`each_id_by_date'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/thread.rb:308:in  
`load_n_threads'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb: 
415:in `__unprotected_load
_n_threads'
(eval):12:in `load_n_threads'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb: 
404:in `load_n_threads_bac
kground'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup.rb:69:in `reporting_thread'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `initialize'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `new'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup.rb:67:in `reporting_thread'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb: 
403:in `load_n_threads_bac
kground'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/modes/thread-index-mode.rb: 
454:in `__unprotected_load
_threads'
(eval):12:in `load_threads'
bin/sup:185
--- SystemExit from thread: main
State Error occured at <except.c>:93 in xraise
Error occured in q_boolean.c:1595 - bq_add_query_nr
         Two many clauses. The max clause limit is set to <1024> but  
your query has <1024> clauses
. You can try increasing :max_clause_count for the BooleanQuery or  
using a different type of quer
y.

/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup.rb:73:in `select'
/Library/Ruby/Gems/1.8/gems/sup-0.3/lib/sup/buffer.rb:31:in  
`nonblocking_getch'
bin/sup:198

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sup-exception-log-git.txt
Url: http://rubyforge.org/pipermail/sup-talk/attachments/20080117/e139b3e0/attachment.txt 
-------------- next part --------------

---

From: [email-masked] (David Fortunato)
Date: Thu, 17 Jan 2008 18:56:37 -0800 (PST)

Please ignore the previous email.  I hadn't read HACKING yet, and it was
running the 0.3 gem.  Everything is working great.
-- 
View this message in context: http://www.nabble.com/crash-with-%27Too-many-clauses%27-tp14939928p14944700.html
Sent from the SUP Talk mailing list archive at Nabble.com.