Typo:flickr fliter failing

I’m getting this error now (after svn update today, rev. 1088) when I
use the typo:flickr tag:

179119548? could not be displayed because: private methodgsub? called for {}:Hash

After a quick pass through the text filter I’m lost… Anyone else
seeing this?

Jake

Can you paste the whole backtrace so we can see which line numbers are
involved?

Scott

Processing ArticlesController#index (for XX.XXX.XX.XXX at 2006-07-09
08:43:59) [GET]
Parameters: {“action”=>“index”, “controller”=>“articles”}
Rendering within …/…/themes/brighthouse/layouts/default
Rendering articles/index
private method gsub' called for {}:Hash (NoMethodError) /usr/lib/ruby/1.8/cgi.rb:370:inunescapeHTML’
…/config/…/components/plugins/textfilters/flickr_controller.rb:58:in
macrofilter' ../config/../lib/text_filter_plugin.rb:79:infiltertext’
…/config/…/lib/text_filter_plugin.rb:78:in gsub' ../config/../lib/text_filter_plugin.rb:78:infiltertext’
…/config/…/components/plugins/textfilters/macropost_controller.rb:10:in
filtertext' ../config/../components/plugins/textfilters/macropost_controller.rb:9:ininject’
…/config/…/components/plugins/textfilters/macropost_controller.rb:9:in
each' ../config/../components/plugins/textfilters/macropost_controller.rb:9:ininject’
…/config/…/components/plugins/textfilters/macropost_controller.rb:9:in
filtertext' ../config/../app/models/text_filter.rb:52:infilter_text’
…/config/…/app/models/text_filter.rb:47:in each' ../config/../app/models/text_filter.rb:47:infilter_text’
…/config/…/app/models/text_filter.rb:67:in
filter_text_for_controller' ../config/../app/models/content.rb:132:inpopulate_html_fields’
…/config/…/app/models/content.rb:130:in each' ../config/../app/models/content.rb:130:inpopulate_html_fields’
…/config/…/app/models/content.rb:140:in html' ../config/../app/models/content.rb:52:inbody_html’
…/config/…/app/models/content.rb:50:in body_html' ../config/../app/views/./articles/_article.rhtml:4:in_run_rhtml_articles__article’
…/config/…/vendor/rails/actionpack/lib/action_view/base.rb:314:in
send' ../config/../vendor/rails/actionpack/lib/action_view/base.rb:314:incompile_and_render_template’
…/config/…/vendor/rails/actionpack/lib/action_view/base.rb:290:in
render_template' ../config/../vendor/rails/actionpack/lib/action_view/base.rb:249:inrender_file’
…/config/…/vendor/rails/actionpack/lib/action_view/base.rb:264:in
render' ../config/../vendor/rails/actionpack/lib/action_view/partials.rb:59:inrender_partial’
…/config/…/vendor/rails/actionpack/lib/action_view/partials.rb:58:in
benchmark' ../config/../vendor/rails/actionpack/lib/action_view/partials.rb:58:inrender_partial’
…/config/…/app/views/./articles/index.rhtml:3:in
_run_rhtml_articles_index' ../config/../app/views/./articles/index.rhtml:1:ineach’
…/config/…/app/views/./articles/index.rhtml:1:in
_run_rhtml_articles_index' ../config/../vendor/rails/actionpack/lib/action_view/base.rb:314:insend’
…/config/…/vendor/rails/actionpack/lib/action_view/base.rb:314:in
compile_and_render_template' ../config/../vendor/rails/actionpack/lib/action_view/base.rb:290:inrender_template’
…/config/…/vendor/rails/actionpack/lib/action_view/base.rb:249:in
render_file' ../config/../vendor/rails/actionpack/lib/action_controller/base.rb:699:inrender_file’
…/config/…/vendor/rails/actionpack/lib/action_controller/base.rb:621:in
render_with_no_layout' ../config/../vendor/rails/actionpack/lib/action_controller/layout.rb:243:inrender_without_benchmark’
…/config/…/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
render' ../config/../vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:inmeasure’
…/config/…/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
render' ../config/../vendor/rails/actionpack/lib/action_controller/base.rb:911:inperform_action_without_filters’
…/config/…/vendor/rails/actionpack/lib/action_controller/filters.rb:368:in
perform_action_without_benchmark' ../config/../vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:inperform_action_without_rescue’
…/config/…/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
measure' ../config/../vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:inperform_action_without_rescue’
…/config/…/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
perform_action' ../config/../vendor/rails/actionpack/lib/action_controller/base.rb:381:insend’
…/config/…/vendor/rails/actionpack/lib/action_controller/base.rb:381:in
process_without_filters' ../config/../vendor/rails/actionpack/lib/action_controller/filters.rb:377:inprocess_without_session_management_support’
…/config/…/vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in
process' ../config/../vendor/rails/railties/lib/dispatcher.rb:38:indispatch’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:150:in
process_request' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:54:inprocess!’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:53:in each_cgi' /usr/lib/ruby/1.8/fcgi.rb:597:ineach’
/usr/lib/ruby/1.8/fcgi.rb:597:in each_cgi' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:53:inprocess!’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!’
dispatch.fcgi:34

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs