error with rss feeds

15 views
Skip to first unread message

wally grotophorst

unread,
Apr 22, 2013, 1:15:33 PM4/22/13
to bib...@googlegroups.com
attempting either a works or person RSS feed causes an error.  Here's an excerpt of the log file.  Does this suggest anything to anyone?  I'm sure this used to work but can't say when it was last tested.

- Wally



  Processing by PeopleController#show as RSS
  Parameters: {"id"=>"59-Ian_Fairclough"}
Rendered shared/work_subclasses/_generic.html.haml (0.4ms)
Rendered shared/_rss_item.rss.rxml (1.1ms)
Rendered shared/_rss_works.rss.rxml (1.3ms)
Rendered people/show.rss.rxml (3.6ms)
Completed 500 Internal Server Error in 100ms

ActionView::Template::Error (Missing partial /shared/work_subclasses/layout with {:formats=>[:rss], :handlers=>[:erb, :haml, :builder, :rjs, :rhtml, :rxml], :locale=>[:en, :en]} in view paths "/Volumes/RAID120/htdocs/ba2/app/views", "/Volumes/RAID120/htdocs/ba2/vendor/plugins/citation_parser/app/views", "/Volumes/RAID120/htdocs/ba2/vendor/plugins/citation_importer/app/views"):
    1: = render :layout => '/shared/work_subclasses/layout', :locals => {:work => work} do
    2:   - #Publication Name
    3:   %br/
    4:   = link_to_work_publication(work)
  app/views/shared/work_subclasses/_generic.html.haml:1:in `_app_views_shared_work_subclasses__generic_html_haml___1306079366_2174731880_3046828'
  app/views/shared/_rss_item.rss.rxml:7:in `_app_views_shared__rss_item_rss_rxml___2013026601_2174892400_23985228'
  app/views/shared/_rss_item.rss.rxml:5:in `_app_views_shared__rss_item_rss_rxml___2013026601_2174892400_23985228'
  app/views/shared/_rss_item.rss.rxml:2:in `_app_views_shared__rss_item_rss_rxml___2013026601_2174892400_23985228'
  app/views/shared/_rss_works.rss.rxml:4:in `_app_views_shared__rss_works_rss_rxml__380044088_2175233140_12997388'
  app/views/shared/_rss_works.rss.rxml:3:in `each'
  app/views/shared/_rss_works.rss.rxml:3:in `_app_views_shared__rss_works_rss_rxml__380044088_2175233140_12997388'
  app/views/people/show.rss.rxml:6:in `_app_views_people_show_rss_rxml__1466615540_2175955980_0'
  app/views/people/show.rss.rxml:2:in `_app_views_people_show_rss_rxml__1466615540_2175955980_0'
  app/helpers/application_helper.rb:164:in `rss_document_on'
  app/helpers/application_helper.rb:163:in `rss_document_on'
  app/views/people/show.rss.rxml:1:in `_app_views_people_show_rss_rxml__1466615540_2175955980_0'





Jason Stirnaman

unread,
Apr 22, 2013, 5:55:19 PM4/22/13
to bib...@googlegroups.com
Wally,
It appears that this template is missing:
app/views/shared/work_subclasses/layout

Did you recently upgrade? Which commit or version are you running?

Jason


--
You received this message because you are subscribed to the Google Groups "bibapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+un...@googlegroups.com.
To post to this group, send email to bib...@googlegroups.com.
Visit this group at http://groups.google.com/group/bibapp?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Howard Ding

unread,
Apr 22, 2013, 6:31:11 PM4/22/13
to bib...@googlegroups.com
I think this has to do with trying to use the html template to render some html as a CDATA section in the record - this may always have been a little bit dodgy, and it's possible that Rails has changed to render it impossible, or at least harder. I'll see if I can do anything about it.

Also the current Rails doesn't recognize rxml handlers anymore, so I've renamed them all to builder.

Howard

Howard Ding

unread,
Apr 22, 2013, 6:48:42 PM4/22/13
to bib...@googlegroups.com
I put in a fix for this. Let me know if it still doesn't work.

Howard
Reply all
Reply to author
Forward
0 new messages