Forum: Typo Articles feed not working (5.0.3)?

Posted by Brad Hawkins (Guest)
on 2008-04-02 21:10
(Received via mailing list)
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
Posted by Frederic de Villamil (Guest)
on 2008-04-03 16:16
(Received via mailing list)
Le 2 avr. 08 à 21:01, Brad Hawkins a écrit :

> Processing XmlController#feed (for 76.91.178.49 at 2008-04-02
>   Session ID: 297c6bfad2bcbca042c813755cc3419e
> 10:     value.to_atom(feed)
> 11:   end
> 12: end
>
>

Hello,

Works for me on every installs I run. What does 
http://washabelydrink.com/articles.rss
  tell you ?

Best regards
Frédéric

--
Frédéric de Villamil
frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://fredericdevillamil.com             Typo : http://typosphere.org
Posted by Brad Hawkins (Guest)
on 2008-04-03 20:39
(Received via mailing list)
On Apr 3, 2008, at 7:14 AM, Frederic de Villamil wrote:

>>
>> Processing ArticlesController#index (for 76.91.178.49 at 2008-04-02
>> 8:
>  tell you ?
> _______________________________________________
> Typo-list mailing list
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list





I tried running the /article.rss and when I'm in production mode I get
the 500 Internal Server Error, but when I switch over to development
mode I get this error message:


Showing app/views/articles/_rss20_feed.rss.builder where line #14
raised:

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.email

Extracted source (around line #14):

11:     xml.description this_blog.blog_subtitle
12:
13:     rss20_feed.each do |value|
14:       value.to_rss(xml)
15:     end
16:   end
17: end

And if I switch it over to Atom 1.0, this is what I get:

Showing app/views/articles/_atom_feed.atom.builder where line #10
raised:

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.name

Extracted source (around line #10):

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

Thanks for your help! Hopefully one day I'll be more knowledgeable and
return the favor to others!

Brad

PS - the site is running in development mode if you want to see the
error messages yourself  -  www.washabledryink.com
Posted by Tim Prentis (tprentis)
on 2008-08-20 14:56
Brad Hawkins wrote:
> On Apr 3, 2008, at 7:14 AM, Frederic de Villamil wrote:
> 
>>>
>>> Processing ArticlesController#index (for 76.91.178.49 at 2008-04-02
>>> 8:
>>  tell you ?
>> _______________________________________________
>> Typo-list mailing list
>> Typo-list@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/typo-list
> 
> 
> 
> 
> 
> I tried running the /article.rss and when I'm in production mode I get
> the 500 Internal Server Error, but when I switch over to development
> mode I get this error message:
> 
> 
> Showing app/views/articles/_rss20_feed.rss.builder where line #14
> raised:
> 
> You have a nil object when you didn't expect it!
> The error occurred while evaluating nil.email
> 
> Extracted source (around line #14):
> 
> 11:     xml.description this_blog.blog_subtitle
> 12:
> 13:     rss20_feed.each do |value|
> 14:       value.to_rss(xml)
> 15:     end
> 16:   end
> 17: end
> 
> And if I switch it over to Atom 1.0, this is what I get:
> 
> Showing app/views/articles/_atom_feed.atom.builder where line #10
> raised:
> 
> You have a nil object when you didn't expect it!
> The error occurred while evaluating nil.name
> 
> Extracted source (around line #10):
> 
> 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
> 
> Thanks for your help! Hopefully one day I'll be more knowledgeable and
> return the favor to others!
> 
> Brad
> 
> PS - the site is running in development mode if you want to see the
> error messages yourself  -  www.washabledryink.com

I am wondering if you ever got this to work.  I am having the same exact 
issue at line #14 on version 5.1.1 and 5.1.2

You have a nil object when you didn't expect it!
 The error occurred while evaluating nil.email

 Extracted source (around line #14):

 11:     xml.description this_blog.blog_subtitle
 12:
 13:     rss20_feed.each do |value|
 14:       value.to_rss(xml)
 15:     end
 16:   end
 17: end


Anybody have suggestions?

- Tim
Posted by Tim Prentis (tprentis)
on 2008-08-20 21:21
RE: nil.email

I found my problem pointed to model file 'article.rb' in the method

  def rss_author(xml)
    if link_to_author?
      xml.author("#{user.email} (#{user.name})")
    end
  end

Since we are showing the sidebar "Syndicate' module on a web page that 
the 'user' is not logged in, I can see where we would end up with 
nil.email

So, I decided to replace the original method in the model 'article.rb' 
with this:

  def rss_author(xml)
      xml.author author
  end

Since this method is in a model, I bounced the server.

The RSS feed display is now rendering, however Internet Explorer is 
complaining with:

'Internet Explorer was unable to update this feed and will try again 
later.'

but Firefox seems to handle it quite nicely.

- Tim
Posted by Tim Prentis (tprentis)
on 2008-08-20 22:45
Tim Prentis wrote:
> > The RSS feed display is now rendering, however Internet Explorer is 
> complaining with:
> 
> 'Internet Explorer was unable to update this feed and will try again 
> later.'
> 
> but Firefox seems to handle it quite nicely.
> 
> - Tim

Follow up stuff.......

I believe my problem with Internet Explorer is explained by our firewall 
probably blocking "msfeedsync.exe".  I think this is true because I can 
run TYPO on my localhost (my laptop) and everything works hunky-dory.

Tim

Posted by de Villamil Frédéric (Guest)
on 2008-08-21 10:15
(Received via mailing list)
Le 20 août 08 à 22:45, Tim Prentis a écrit :

>
> Follow up stuff.......
>
> I believe my problem with Internet Explorer is explained by our  
> firewall
> probably blocking "msfeedsync.exe".  I think this is true because I  
> can
> run TYPO on my localhost (my laptop) and everything works hunky-dory.
>
> Tim
Hi Tim,

I've been able to reproduce your issue this week-end on one of my
production blogs, but not on all of them. Thank you for debugging. I
will commit a fix saturday with several other bugfix. Expect a pure
bugfix release around sunday, I need to extensively test the things
beyond the specs. I've created Selenium IDE scenario to test the UI,
we'll see.

Regards,
Frédéric
--
Frédéric de Villamil
frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://fredericdevillamil.com             Typo : http://typosphere.org
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.