[Greasemonkey] userscripts.org

Jesse Andrews anotherjesse at gmail.com
Wed May 24 03:34:54 EDT 2006


the issue isn't the app itself.. it is that fastcgi SUCKs...

it keeps crashsing... we've tried SCGI, FCGI, and now britt is using
something I don't even remember the name of...

:(

On 5/24/06, Nic James Ferrier <nferrier at tapsellferrier.co.uk> wrote:
>
> Is currently showing me:
>
>    NoMethodError in HomeController#index
>
>    You have a nil object when you didn't expect it!
>    You might have expected an instance of Array.
>    The error occured while evaluating nil.+
>
>    RAILS_ROOT: /var/rails/uso_new/config/..
>    Application Trace | Framework Trace | Full Trace
>
>    #{RAILS_ROOT}/app/controllers/home_controller.rb:45:in `index'
>    /usr/local/bin/mongrel_rails:18
>
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
> `perform_action_without_filters'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
> `perform_action_without_benchmark'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
> `perform_action_without_rescue'
>    /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
> `perform_action_without_rescue'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
> `perform_action'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
> `process_without_filters'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
> `process_without_session_management_support'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
> `process'
>    /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/dispatcher.rb:38:in
> `dispatch'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel/rails.rb:66:in `process'
>    /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel/rails.rb:64:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:425:in `process_client'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:424:in `process_client'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:495:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:494:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:483:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:774:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:772:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/bin/mongrel_rails:97:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel/command.rb:163:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/bin/mongrel_rails:194
>
>    #{RAILS_ROOT}/app/controllers/home_controller.rb:45:in `index'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
> `perform_action_without_filters'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
> `perform_action_without_benchmark'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
> `perform_action_without_rescue'
>    /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
> `perform_action_without_rescue'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
> `perform_action'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
> `process_without_filters'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
> `process_without_session_management_support'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
> `process'
>    /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/dispatcher.rb:38:in
> `dispatch'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel/rails.rb:66:in `process'
>    /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel/rails.rb:64:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:425:in `process_client'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:424:in `process_client'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:495:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:494:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:483:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:774:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel.rb:772:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/bin/mongrel_rails:97:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/lib/mongrel/command.rb:163:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-
> 0.3.12.4/bin/mongrel_rails:194
>    /usr/local/bin/mongrel_rails:18
>
>    Request
>
>    Parameters: None
>
>    Show session dump
>
>    ---
>    flash: !map:ActionController::Flash::FlashHash {}
>
>
>    Response
>    Headers: {"cookie"=>[], "Content-Type"=>"text/html; charset=utf-8",
> "Cache-Control"=>"no-cache"}
>
>
> Looks bad. Are other people seeing this?
>
>
> If userscripts.org is broken I could maybe find some time to help fix
> it. I have been thinking of ideas to solve what I presume are scaling
> and reliability problems. In my view what is needed is a distributable
> userscript db so that we can have lots of servers (maybe many people
> here would donate a little bandwidth) and a front end that distributes
> load (or simply redirects people to the nearest mirror).
>
> If the owners of userscripts.org are interested in replacing the
> current app I'd love to develop my ideas further.
>
>
> Nic Ferrier
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list