I’m new to Typo and excited about using a RoR blogging app, but I’m
having trouble getting the articles feed to work (both comments and
trackback seem to be working). I’ve tried both RSS and Atom and I’ve
installed Typo several times, testing it on different blogs, but I
always get the same error (500 Internal Server Error). I’m using
Bluehost, if that matters. Anyway, here is the error message from the
log:
Processing XmlController#feed (for 76.91.178.49 at 2008-04-02
12:15:36) [GET]
Parameters: {“format”=>“atom10”, “action”=>“feed”, “type”=>“feed”,
“controller”=>“xml”}
Completed in 0.00160 (625 reqs/sec) | Rendering: 0.00006 (3%) | DB:
0.00000 (0%) | 301 Moved Permanently
[http://washabledryink.com/xml/atom10/feed.xml
]
Processing ArticlesController#index (for 76.91.178.49 at 2008-04-02
12:15:37) [GET]
Session ID: 297c6bfad2bcbca042c813755cc3419e
Parameters: {“format”=>“atom”, “action”=>“index”,
“controller”=>“articles”}
ActionView::TemplateError (undefined method `name’ for nil:NilClass)
on line #10 of app/views/articles/_atom_feed.atom.builder:
7:   feed.generator “Typo”, :uri => “http://
www.typosphere.org”, :version => ‘4.x’
8:
9:   atom_feed.each do |value|
10:     value.to_atom(feed)
11:   end
12: end
 app/models/article.rb:382:in `atom_author'
 /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in call'      /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in _nested_structures’
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/vendor/builder-2.1.2/builder/xmlbase.rb:58:in
method_missing'      app/models/article.rb:382:in atom_author’
app/models/content.rb:235:in to_atom'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ helpers/atom_feed_helper.rb:100:in entry’
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in call'      /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in _nested_structures’
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/vendor/builder-2.1.2/builder/xmlbase.rb:58:in
method_missing'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ helpers/atom_feed_helper.rb:87:in entry’
app/models/content.rb:234:in to_atom'      app/views/articles/_atom_feed.atom.builder:10:in _run_builder_47app47views47articles47_atom_feed46atom46builder’
app/views/articles/_atom_feed.atom.builder:9:in each'      app/views/articles/_atom_feed.atom.builder:9:in _run_builder_47app47views47articles47_atom_feed46atom46builder’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/
helpers/atom_feed_helper.rb:64:in atom_feed'      /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in call’
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/vendor/builder-2.1.2/builder/xmlbase.rb:134:in
_nested_structures'      /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ active_support/vendor/builder-2.1.2/builder/xmlbase.rb:58:in method_missing’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/
helpers/atom_feed_helper.rb:56:in atom_feed'      app/views/articles/_atom_feed.atom.builder:1:in _run_builder_47app47views47articles47_atom_feed46atom46builder’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/
base.rb:637:in send'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ base.rb:637:in compile_and_render_template’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/
base.rb:365:in render_template'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ base.rb:316:in render_file’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/
base.rb:331:in render'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/ partials.rb:120:in render_partial’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:896:in send!'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:896:in render_with_no_layout’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/layout.rb:270:in render_without_benchmark'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:51:in render’
/usr/lib/ruby/1.8/benchmark.rb:293:in measure'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/benchmarking.rb:51:in render’
app/controllers/articles_controller.rb:29:in index'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:131:in call’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/mime_responds.rb:131:in custom'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:156:in call’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/mime_responds.rb:156:in respond'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:150:in each’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/mime_responds.rb:150:in respond'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/mime_responds.rb:107:in respond_to’
app/controllers/articles_controller.rb:26:in index'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:1158:in send’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:1158:in perform_action_without_filters'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:697:in call_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:725:in run_before_filters'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:664:in call’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:664:in proxy_before_and_after_filter'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:483:in call’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:483:in call'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:722:in run_before_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:695:in call_filters'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:725:in run_before_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:664:in call'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:664:in proxy_before_and_after_filter’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:483:in call'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:483:in call’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:722:in run_before_filters'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:695:in call_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:725:in run_before_filters'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:664:in call’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:664:in proxy_before_and_after_filter'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:483:in call’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:483:in call'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:722:in run_before_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:695:in call_filters'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/filters.rb:689:in perform_action_without_benchmark’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:68:in perform_action_without_rescue'      /usr/lib/ruby/1.8/benchmark.rb:293:in measure’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:68:in perform_action_without_rescue'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/rescue.rb:199:in perform_action_without_caching’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/caching.rb:678:in perform_action'      /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/abstract/query_cache.rb:33:in cache’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
query_cache.rb:8:in cache'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:677:in perform_action’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:524:in send'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in process_without_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:685:in
process_without_session_management_support'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/session_management.rb:123:in process’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:388:in process'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:171:in handle_request’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:115:in dispatch'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:126:in dispatch_cgi’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:9:in dispatch'      /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: 101:in process_request’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:
149:in with_signal_handler'      /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in process_request’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in
process_each_request'      /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in each_cgi’
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:117:in session'      /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:104:in each_request’
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:36:in each'      /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in each_cgi’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in
process_each_request'      /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in process!’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in
`process!’
dispatch.fcgi:24
Processing ArticlesController#index (for 76.91.178.49 at 2008-04-02
12:15:37) [GET]
Session ID: 297c6bfad2bcbca042c813755cc3419e
Parameters: {“format”=>“atom”, “action”=>“index”,
“controller”=>“articles”}
ActionController::MissingTemplate (Missing layout …/…/themes/
standard_issue/layouts/default in view path /home/pixelfab/rails/
washabledryink/themes/standard_issue/views:/home/pixelfab/rails/
washabledryink/app/views):
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:1269:in assert_existence_of_template_file'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/layout.rb:257:in render_without_benchmark’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:51:in render'      /usr/lib/ruby/1.8/benchmark.rb:293:in measure’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:51:in render'      /app/controllers/application.rb:26:in rescue_action_in_public’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/rescue.rb:125:in rescue_action'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/rescue.rb:203:in perform_action_without_caching’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/caching.rb:678:in perform_action'      /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/abstract/query_cache.rb:33:in cache’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
query_cache.rb:8:in cache'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:677:in perform_action’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:524:in send'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in process_without_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:685:in
process_without_session_management_support'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/session_management.rb:123:in process’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:388:in process'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:171:in handle_request’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:115:in dispatch'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:126:in dispatch_cgi’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:9:in dispatch'      /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: 101:in process_request’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:
149:in with_signal_handler'      /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in process_request’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in
process_each_request'      /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in each_cgi’
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:117:in session'      /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:104:in each_request’
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:36:in each'      /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in each_cgi’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in
process_each_request'      /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in process!’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in
`process!’
dispatch.fcgi:24
/!\ FAILSAFE /!\  Wed Apr 02 12:15:37 -0600 2008
Status: 500 Internal Server Error
Missing layout …/…/themes/standard_issue/layouts/default in view
path /home/pixelfab/rails/washabledryink/themes/standard_issue/views:/
home/pixelfab/rails/washabledryink/app/views
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:1269:in assert_existence_of_template_file'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/layout.rb:257:in render_without_benchmark’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:51:in render'      /usr/lib/ruby/1.8/benchmark.rb:293:in measure’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:51:in render'      /home/pixelfab/rails/washabledryink/app/controllers/ application.rb:26:in rescue_action_in_public’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/rescue.rb:125:in rescue_action'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/rescue.rb:203:in perform_action_without_caching’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/caching.rb:678:in perform_action'      /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/abstract/query_cache.rb:33:in cache’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
query_cache.rb:8:in cache'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/caching.rb:677:in perform_action’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:524:in send'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/base.rb:524:in process_without_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:685:in
process_without_session_management_support'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/session_management.rb:123:in process’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:388:in process'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:171:in handle_request’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:115:in dispatch'      /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ action_controller/dispatcher.rb:126:in dispatch_cgi’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:9:in dispatch'      /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb: 101:in process_request’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:
149:in with_signal_handler'      /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:99:in process_request’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:77:in
process_each_request'      /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in each_cgi’
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:117:in session'      /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:104:in each_request’
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:36:in each'      /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in each_cgi’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:76:in
process_each_request'      /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:50:in process!’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/fcgi_handler.rb:24:in
`process!’
dispatch.fcgi:24