hi there
i’m using aaf on my rails app
and when i am testing the remote drb server for the index, a error
occured.
env= win xp, ruby 1.8.6, rails 1.2.5. installed ferret by gem, aaf as
an app plugin.
tail log is as below:
DRb::DRbConnError in WeblogsController#weblog_list
druby://localhost:9010 - #<Errno::EBADF: Bad file descriptor -
connect(2)>RAILS_ROOT: D:/hoopus/hoopus/config/…
Application Trace | Framework Trace | Full Trace
C:/ruby/lib/ruby/1.8/drb/drb.rb:736:in open' C:/ruby/lib/ruby/1.8/drb/drb.rb:729:in
each’
C:/ruby/lib/ruby/1.8/drb/drb.rb:729:in open' C:/ruby/lib/ruby/1.8/drb/drb.rb:1189:in
initialize’
C:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in new' C:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in
open’
C:/ruby/lib/ruby/1.8/drb/drb.rb:1085:in method_missing' C:/ruby/lib/ruby/1.8/drb/drb.rb:1103:in
with_friend’
C:/ruby/lib/ruby/1.8/drb/drb.rb:1084:in method_missing' D:/hoopus/hoopus/lib/remote_index.rb:16:in
send’
D:/hoopus/hoopus/lib/remote_index.rb:16:in method_missing' D:/hoopus/hoopus/lib/act_methods.rb:182:in
acts_as_ferret’
D:/hoopus/hoopus/app/models/weblog.rb:5
D:/hoopus/hoopus/app/controllers/weblogs_controller.rb:79:in
weblog_list' -e:3:in
load’
-e:3C:/ruby/lib/ruby/1.8/drb/drb.rb:736:in open' C:/ruby/lib/ruby/1.8/drb/drb.rb:729:in
each’
C:/ruby/lib/ruby/1.8/drb/drb.rb:729:in open' C:/ruby/lib/ruby/1.8/drb/drb.rb:1189:in
initialize’
C:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in new' C:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in
open’
C:/ruby/lib/ruby/1.8/drb/drb.rb:1085:in method_missing' C:/ruby/lib/ruby/1.8/drb/drb.rb:1103:in
with_friend’
C:/ruby/lib/ruby/1.8/drb/drb.rb:1084:in method_missing' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:203:in
load_without_new_constant_marking’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:203:in
load_file' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in
new_constants_in’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:202:in
load_file' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:94:in
require_or_load’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:248:in
load_missing_constant' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:452:in
const_missing’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:464:in
const_missing' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/inflector.rb:250:in
constantize’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/core_ext/string/inflections.rb:148:in
constantize' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/pagination.rb:201:in
paginator_and_collection_for’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/pagination.rb:132:in
paginate_without_deprecation' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/deprecation.rb:94:in
paginate’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:1101:in
send' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:1101:in
perform_action_without_filters’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:696:in
call_filters' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:688:in
perform_action_without_benchmark’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in
perform_action_without_rescue' C:/ruby/lib/ruby/1.8/benchmark.rb:293:in
measure’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in
perform_action_without_rescue' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/rescue.rb:83:in
perform_action’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in
send' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in
process_without_filters’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:684:in
process_without_session_management_support' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/session_management.rb:114:in
process’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:334:in
process' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/dispatcher.rb:41:in
dispatch’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/rails.rb:76:in
process' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/rails.rb:74:in
synchronize’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/rails.rb:74:in
process' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:626:in
process_client’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:625:in
each' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:625:in
process_client’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:751:in
run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:751:in
initialize’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:751:in
new' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:751:in
run’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:735:in
initialize' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:735:in
new’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:735:in
run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/configurator.rb:282:in
run’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/configurator.rb:281:in
each' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/configurator.rb:281:in
run’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/bin/mongrel_rails:126:in
run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/command.rb:211:in
run’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/bin/mongrel_rails:279
C:\ruby\bin\mongrel_rails:16:in load' C:\ruby\bin\mongrel_rails:16C:/ruby/lib/ruby/1.8/drb/drb.rb:736:in
open’
C:/ruby/lib/ruby/1.8/drb/drb.rb:729:in each' C:/ruby/lib/ruby/1.8/drb/drb.rb:729:in
open’
C:/ruby/lib/ruby/1.8/drb/drb.rb:1189:in initialize' C:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in
new’
C:/ruby/lib/ruby/1.8/drb/drb.rb:1169:in open' C:/ruby/lib/ruby/1.8/drb/drb.rb:1085:in
method_missing’
C:/ruby/lib/ruby/1.8/drb/drb.rb:1103:in with_friend' C:/ruby/lib/ruby/1.8/drb/drb.rb:1084:in
method_missing’
D:/hoopus/hoopus/lib/remote_index.rb:16:in send' D:/hoopus/hoopus/lib/remote_index.rb:16:in
method_missing’
D:/hoopus/hoopus/lib/act_methods.rb:182:in acts_as_ferret' D:/hoopus/hoopus/app/models/weblog.rb:5 C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:203:in
load_without_new_constant_marking’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:203:in
load_file' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in
new_constants_in’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:202:in
load_file' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:94:in
require_or_load’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:248:in
load_missing_constant' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:452:in
const_missing’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:464:in
const_missing' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/inflector.rb:250:in
constantize’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/core_ext/string/inflections.rb:148:in
constantize' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/pagination.rb:201:in
paginator_and_collection_for’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/pagination.rb:132:in
paginate_without_deprecation' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/deprecation.rb:94:in
paginate’
D:/hoopus/hoopus/app/controllers/weblogs_controller.rb:79:in
weblog_list' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:1101:in
send’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:1101:in
perform_action_without_filters' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:696:in
call_filters’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:688:in
perform_action_without_benchmark' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in
perform_action_without_rescue’
C:/ruby/lib/ruby/1.8/benchmark.rb:293:in measure' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in
perform_action_without_rescue’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/rescue.rb:83:in
perform_action' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in
send’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in
process_without_filters' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:684:in
process_without_session_management_support’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/session_management.rb:114:in
process' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:334:in
process’
C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/dispatcher.rb:41:in
dispatch' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/rails.rb:76:in
process’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/rails.rb:74:in
synchronize' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/rails.rb:74:in
process’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:626:in
process_client' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:625:in
each’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:625:in
process_client' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:751:in
run’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:751:in
initialize' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:751:in
new’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:751:in
run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:735:in
initialize’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:735:in
new' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel.rb:735:in
run’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/configurator.rb:282:in
run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/configurator.rb:281:in
each’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/configurator.rb:281:in
run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/bin/mongrel_rails:126:in
run’
C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/lib/mongrel/command.rb:211:in
run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.4-mswin32/bin/mongrel_rails:279 C:\ruby\bin\mongrel_rails:16:in
load’
C:\ruby\bin\mongrel_rails:16
-e:3:in `load’
-e:3Request
Parameters: {“owner_id”=>“2”}
Show session dump
:owner_id: “2”
:reg_id: “2”
flash: !map:ActionController::Flash::FlashHash {}
Response
Headers: {“cookie”=>[], “Cache-Control”=>“no-cache”}