2012-01-09 3 views
0

tlsmail gemとsetup my Google Apps account to take in emailをインストールして以来、私はreindex with Sunspotできません。これの前にそれは働いていた。私はrake sunspot:reindexを実行すると今私が手:tlsmailの宝石のために私はSunspotでもうインデックスを作成できませんか?

rake sunspot:reindex --trace 
(in C:/apper) 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/tlsmail-0.0.1/lib/net/smtp.rb:806: warning: already initialized constant SMTPSession 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/tlsmail-0.0.1/lib/net/pop.rb:687: warning: already initialized constant POP 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/tlsmail-0.0.1/lib/net/pop.rb:688: warning: already initialized constant POPSession 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/tlsmail-0.0.1/lib/net/pop.rb:689: warning: already initialized constant POP3Session 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/tlsmail-0.0.1/lib/net/pop.rb:702: warning: already initialized constant APOPSession 
** Invoke sunspot:reindex (first_time) 
** Invoke environment (first_time) 
** Execute environment 
** Execute sunspot:reindex 
rake aborted! 
Solr Response: Severe_errors_in_solr_configuration___Check_your_log_files_for_more_detailed_information_on_what_may_be_wrong___If_you_want_solr_to_continue_after_configuration_erro 
rs_change_____abortOnConfigurationErrorfalseabortOnConfigurationError___in_null_____javalangRuntimeException_Cant_find_resource_solrconfigxml_in_classpath_or_Cappersolrconf_cwdcR 
uby192librubygems191gemssunspot121solr___at_orgapachesolrcoreSolrResourceLoaderopenResourceSolrResourceLoaderjava260___at_orgapachesolrcoreSolrResourceLoaderopenConfigSolrResourceL 
oaderjava228___at_orgapachesolrcoreConfiginitConfigjava101___at_orgapachesolrcoreSolrConfiginitSolrConfigjava130___at_orgapachesolrcoreCoreContainer$Initia........................... 

あなたがここに完全なトレースを見ることができます:https://gist.github.com/1580444

私は何が起こっているのか見当もつかない。誰でもこれを修正する方法を知っていますか?

ありがとうございました。

答えて

1

これはSolrの構成エラー(例えばSevere_errors_in_solr_configuration)のように見えます。 Solrディレクトリのログを確認してください。おそらくschema.xmlが間違っていますか?

+0

ありがとう、私は再実行して新しく新しいスキーマを取得する必要がありました。 – LearningRoR

関連する問題