[typo] Frustrating Dreamhost/Typo experience

Scott Hughes (list) shughes_list at globalreset.org
Fri Aug 26 11:04:23 EDT 2005


Scott Laird wrote:

>
> On Aug 26, 2005, at 6:16 AM, Scott Hughes (List) wrote:
>
>> So, as it turns out, my error/non-error evaluation was wrong.  When  
>> I said (above) that I couldn't get it to display an error, I was  
>> fooled by seeing the full html of my default.rhtml file.  Had I  read 
>> that html, I would see that it displayed an Application Error  
>> (versus when I saw a ton of errors, the process hang, and I saw no  
>> html in the output).  Above the application error I get the following:
>>
>> <p>undefined method `downcase' for nil:NilClass</p>
>>
>> Which is the same message I saw repeated numerous times when it was  
>> locking up on me.
>
>
> Now look in log/production.log and find a matching exception, then  
> mail us back the stack backtrace showing where the error occurred.   
> This should be enough detail to let us fix it.
>
Thanks for helping me explore this...  I found the error with 2 
different traces.

Here is the shortest one:

TypeError (can't convert nil into String):
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:807:in 
`+'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:807:in 
`complete_request_uri'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:45:in 
`perform_action_without_res
cue'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:80:in 
`perform_action'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`process'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:288:in 
`process'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:46:in 
`component_response'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:41:in 
`render_component_as_string'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:41:in 
`component_logging'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:41:in 
`render_component_as_string'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:28:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:28:in 
`render_component'
    (erb):37:in `evaluate_locals'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:272:in 
`evaluate_locals'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:283:in 
`rhtml_render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:208:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:208:in 
`render_template'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:173:in 
`render_file'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/layout.rb:214:in 
`render_without_benchmark'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`measure'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    app/controllers/articles_controller.rb:59:in `error'
    app/controllers/articles_controller.rb:192:in `rescue_action_in_public'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:33:in 
`rescue_action'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:106:in 
`perform_action'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`process'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in 
`dispatch'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:144:in 
`process_request'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:64:in 
`process!'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in 
`each_cgi'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in 
`process!'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:21:in 
`process!'
    ./dispatch.fcgi:24


This one is a good bit longer...


TypeError (can't convert nil into String):
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:807:in 
`+'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:807:in 
`complete_request_uri'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:45:in 
`perform_action_without_res
cue'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:80:in 
`perform_action'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`process'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:288:in 
`process'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:46:in 
`component_response'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:41:in 
`render_component_as_string'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:41:in 
`component_logging'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:41:in 
`render_component_as_string'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:28:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:28:in 
`render_component'
    /app/helpers/application_helper.rb:125:in `render_sidebar'
    (erb):2:in `evaluate_locals'
    (erb):1:in `each'
    (erb):1:in `evaluate_locals'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:272:in 
`evaluate_locals'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:283:in 
`rhtml_render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:208:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:208:in 
`render_template'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:173:in 
`render_file'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:588:in 
`render_with_no_layout'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/layout.rb:216:in 
`render_without_benchmark'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`measure'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:591:in 
`render_with_no_layout'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/layout.rb:216:in 
`render_without_benchmark'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`measure'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:604:in 
`render_with_no_layout'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/layout.rb:216:in 
`render_without_benchmark'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`measure'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:627:in 
`render_with_no_layout'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/layout.rb:216:in 
`render_without_benchmark'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`measure'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    /components/sidebars/sidebar_controller.rb:84:in `display_plugins'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:756:in 
`perform_action_without_filters'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/filters.rb:295:in 
`perform_action_without_benchma
rk'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in 
`perform_action_without_res
cue'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in 
`measure'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:41:in 
`perform_action_without_res
cue'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:80:in 
`perform_action'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`process'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:288:in 
`process'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:46:in 
`component_response'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:41:in 
`render_component_as_string'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:41:in 
`component_logging'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:41:in 
`render_component_as_string'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:28:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/components.rb:28:in 
`render_component'
    (erb):37:in `evaluate_locals'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:272:in 
`evaluate_locals'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:283:in 
`rhtml_render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:208:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:208:in 
`render_template'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:173:in 
`render_file'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/layout.rb:214:in 
`render_without_benchmark'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`measure'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    app/controllers/articles_controller.rb:59:in `error'
    app/controllers/articles_controller.rb:192:in `rescue_action_in_public'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:33:in 
`rescue_action'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/rescue.rb:106:in 
`perform_action'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`send'
    
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in 
`process'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in 
`dispatch'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:144:in 
`process_request'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:64:in 
`process!'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in 
`each_cgi'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:55:in 
`process!'
    /usr/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/fcgi_handler.rb:21:in 
`process!'
    ./dispatch.fcgi:24




More information about the Typo-list mailing list