You're right, this does have to do with Ferret.  Usually you can just
restart the Ferret server (and also remove the index/ directory), but
when you get that intermittent (every 2-3 clicks) problem it probably
means one of your Mongrels is corrupted (but the others are fine).
Try killing the mongrel processes and restarting everything from
scratch.

We've been bitten by all these problems on the developer site.  This
is why we're moving to Sphinx for search.  I'll be starting on it
first thing Monday.

Michael

On Fri, Jun 20, 2008 at 9:57 PM, Paco Viramontes <[EMAIL PROTECTED]> wrote:
>
> LoadError (Expected /mnt/app/releases/20080621030648/app/models/
> person.rb to define Person)
>
> I get this error on a production environment!!. But only sometimes its
> not regular but looks it is produced every 2 -3 clicks here is the
> fool stack trace.
>
> I think ths has something to do with ferret
>
> LoadError (Expected /mnt/app/releases/20080621030648/app/models/
> person.rb to define Person):
>     /vendor/rails/activerecord/lib/../../activesupport/lib/
> active_support/dependencies.rb:249:in `load_missing_constant'
>     /vendor/rails/activerecord/lib/../../activesupport/lib/
> active_support/dependencies.rb:453:in `const_missing'
>     /vendor/rails/activerecord/lib/../../activesupport/lib/
> active_support/dependencies.rb:465:in `const_missing'
>     /vendor/rails/activerecord/lib/../../activesupport/lib/
> active_support/dependencies.rb:260:in `load_missing_constant'
>     /vendor/rails/activerecord/lib/../../activesupport/lib/
> active_support/dependencies.rb:453:in `const_missing'
>     /lib/authenticated_system.rb:104:in `login_from_session'
>     /lib/authenticated_system.rb:12:in `current_person'
>     /lib/authenticated_system.rb:6:in `logged_in?'
>     /app/controllers/application.rb:34:in `create_page_view'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in
> `send!'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in
> `call'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb:441:in
> `run'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb:716:in
> `run_before_filters'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb:695:in
> `call_filters'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb:689:in
> `perform_action_without_benchmark'
>     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
> 68:in `perform_action_without_rescue'
>     /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
>     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
> 68:in `perform_action_without_rescue'
>     /vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in
> `perform_action_without_caching'
>     /vendor/rails/actionpack/lib/action_controller/caching.rb:678:in
> `perform_action'
>     /vendor/rails/activerecord/lib/active_record/connection_adapters/
> abstract/query_cache.rb:33:in `cache'
>     /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
> `cache'
>     /vendor/rails/actionpack/lib/action_controller/caching.rb:677:in
> `perform_action'
>     /vendor/rails/actionpack/lib/action_controller/base.rb:524:in
> `send'
>     /vendor/rails/actionpack/lib/action_controller/base.rb:524:in
> `process_without_filters'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb:685:in
> `process_without_session_management_support'
>     /vendor/rails/actionpack/lib/action_controller/
> session_management.rb:123:in `process'
>     /vendor/rails/actionpack/lib/action_controller/base.rb:388:in
> `process'
>     /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:
> 171:in `handle_request'
>     /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:
> 115:in `dispatch'
>     /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:
> 126:in `dispatch_cgi'
>     /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in
> `dispatch'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> rails.rb:76:in `process'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> rails.rb:74:in `synchronize'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> rails.rb:74:in `process'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 159:in `process_client'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 158:in `each'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 158:in `process_client'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 285:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 285:in `initialize'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 285:in `new'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 285:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 268:in `initialize'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 268:in `new'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:
> 268:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> configurator.rb:282:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> configurator.rb:281:in `each'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> configurator.rb:281:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:
> 128:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> command.rb:212:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
>     /usr/bin/mongrel_rails:19:in `load'
>     /usr/bin/mongrel_rails:19
>
>
>
> >
>



-- 
Michael Hartl
Insoshi social software
http://insoshi.com/

--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/

You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to