Cleaning up UTF8 encoding issues

51 views
Skip to first unread message

fur...@gmail.com

unread,
Sep 4, 2013, 2:53:58 PM9/4/13
to bib...@googlegroups.com
Getting lots of errors like this....


Error message

ActionView::Template::Error: undefined method `force_encoding' for nil:NilClass

Stack trace (hide Rails)

…p/releases/20130904144038/app/helpers/shared_helper.rb:  76:in `remove_filter'
/data/rails/Bibapp/releases/20130904144038/app/views/shared/_facets.html.haml:12:in `block in _app_views_shared__facets_html_haml___110057247_96671720'
/data/rails/Bibapp/releases/20130904144038/app/views/shared/_facets.html.haml:11:in `each'
/data/rails/Bibapp/releases/20130904144038/app/views/shared/_facets.html.haml:11:in `_app_views_shared__facets_html_haml___110057247_96671720'
…9.1/gems/actionpack-3.2.12/lib/action_view/template.rb: 145:in `block in render'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 125:in `instrument'
…9.1/gems/actionpack-3.2.12/lib/action_view/template.rb: 143:in `render'
…ck-3.2.12/lib/action_view/renderer/partial_renderer.rb: 265:in `render_partial'
…ck-3.2.12/lib/action_view/renderer/partial_renderer.rb: 238:in `block in render'
…k-3.2.12/lib/action_view/renderer/abstract_renderer.rb:  38:in `block in instrument'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 123:in `block in instrument'
….2.12/lib/active_support/notifications/instrumenter.rb:  20:in `instrument'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 123:in `instrument'
…k-3.2.12/lib/action_view/renderer/abstract_renderer.rb:  38:in `instrument'
…ck-3.2.12/lib/action_view/renderer/partial_renderer.rb: 237:in `render'
…actionpack-3.2.12/lib/action_view/renderer/renderer.rb:  41:in `render_partial'
…ack-3.2.12/lib/action_view/helpers/rendering_helper.rb:  27:in `render'
…1/gems/haml-4.0.0/lib/haml/helpers/action_view_mods.rb:  10:in `block in render_with_haml'
…/bundle/ruby/1.9.1/gems/haml-4.0.0/lib/haml/helpers.rb:  89:in `non_haml'
…1/gems/haml-4.0.0/lib/haml/helpers/action_view_mods.rb:  10:in `render_with_haml'
/data/rails/Bibapp/releases/20130904144038/app/views/works/index.html.haml:23:in `block in _app_views_works_index_html_haml___398778026_96586790'
…1/gems/haml-4.0.0/lib/haml/helpers/action_view_mods.rb:  45:in `block in capture_with_haml'
…/bundle/ruby/1.9.1/gems/haml-4.0.0/lib/haml/helpers.rb: 368:in `call'
…/bundle/ruby/1.9.1/gems/haml-4.0.0/lib/haml/helpers.rb: 368:in `block in capture_haml'
…/bundle/ruby/1.9.1/gems/haml-4.0.0/lib/haml/helpers.rb: 603:in `with_haml_buffer'
…/bundle/ruby/1.9.1/gems/haml-4.0.0/lib/haml/helpers.rb: 364:in `capture_haml'
…uby/1.9.1/gems/haml-4.0.0/lib/haml/helpers/xss_mods.rb:  61:in `capture_haml_with_haml_xss'
…1/gems/haml-4.0.0/lib/haml/helpers/action_view_mods.rb:  45:in `capture_with_haml'
…ack-3.2.12/lib/action_view/helpers/rendering_helper.rb:  83:in `_layout_for'
…ck-3.2.12/lib/action_view/renderer/partial_renderer.rb: 266:in `block in render_partial'
/data/rails/Bibapp/releases/20130904144038/app/views/layouts/_main_body_no_h2.html.haml:3:in `_app_views_layouts__main_body_no_h__html_haml__581830979_96483930'
…9.1/gems/actionpack-3.2.12/lib/action_view/template.rb: 145:in `block in render'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 125:in `instrument'
…9.1/gems/actionpack-3.2.12/lib/action_view/template.rb: 143:in `render'
…ck-3.2.12/lib/action_view/renderer/partial_renderer.rb: 265:in `render_partial'
…ck-3.2.12/lib/action_view/renderer/partial_renderer.rb: 238:in `block in render'
…k-3.2.12/lib/action_view/renderer/abstract_renderer.rb:  38:in `block in instrument'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 123:in `block in instrument'
….2.12/lib/active_support/notifications/instrumenter.rb:  20:in `instrument'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 123:in `instrument'
…k-3.2.12/lib/action_view/renderer/abstract_renderer.rb:  38:in `instrument'
…ck-3.2.12/lib/action_view/renderer/partial_renderer.rb: 237:in `render'
…actionpack-3.2.12/lib/action_view/renderer/renderer.rb:  41:in `render_partial'
…ack-3.2.12/lib/action_view/helpers/rendering_helper.rb:  22:in `render'
…1/gems/haml-4.0.0/lib/haml/helpers/action_view_mods.rb:  12:in `render_with_haml'
/data/rails/Bibapp/releases/20130904144038/app/views/works/index.html.haml:14:in `_app_views_works_index_html_haml___398778026_96586790'
…9.1/gems/actionpack-3.2.12/lib/action_view/template.rb: 145:in `block in render'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 125:in `instrument'
…9.1/gems/actionpack-3.2.12/lib/action_view/template.rb: 143:in `render'
…k-3.2.12/lib/action_view/renderer/template_renderer.rb:  47:in `block (2 levels) in render_template'
…k-3.2.12/lib/action_view/renderer/abstract_renderer.rb:  38:in `block in instrument'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 123:in `block in instrument'
….2.12/lib/active_support/notifications/instrumenter.rb:  20:in `instrument'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 123:in `instrument'
…k-3.2.12/lib/action_view/renderer/abstract_renderer.rb:  38:in `instrument'
…k-3.2.12/lib/action_view/renderer/template_renderer.rb:  46:in `block in render_template'
…k-3.2.12/lib/action_view/renderer/template_renderer.rb:  54:in `render_with_layout'
…k-3.2.12/lib/action_view/renderer/template_renderer.rb:  45:in `render_template'
…k-3.2.12/lib/action_view/renderer/template_renderer.rb:  18:in `render'
…actionpack-3.2.12/lib/action_view/renderer/renderer.rb:  36:in `render_template'
…actionpack-3.2.12/lib/action_view/renderer/renderer.rb:  17:in `render'
…actionpack-3.2.12/lib/abstract_controller/rendering.rb: 110:in `_render_template'
…onpack-3.2.12/lib/action_controller/metal/streaming.rb: 225:in `_render_template'
…actionpack-3.2.12/lib/abstract_controller/rendering.rb: 103:in `render_to_body'
…onpack-3.2.12/lib/action_controller/metal/renderers.rb:  28:in `render_to_body'
…ck-3.2.12/lib/action_controller/metal/compatibility.rb:  50:in `render_to_body'
…actionpack-3.2.12/lib/abstract_controller/rendering.rb:  88:in `render'
…onpack-3.2.12/lib/action_controller/metal/rendering.rb:  16:in `render'
…-3.2.12/lib/action_controller/metal/instrumentation.rb:  40:in `block (2 levels) in render'
…upport-3.2.12/lib/active_support/core_ext/benchmark.rb:   5:in `block in ms'
…rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/benchmark.rb: 295:in `realtime'
…upport-3.2.12/lib/active_support/core_ext/benchmark.rb:   5:in `ms'
…-3.2.12/lib/action_controller/metal/instrumentation.rb:  40:in `block in render'
…-3.2.12/lib/action_controller/metal/instrumentation.rb:  83:in `cleanup_view_runtime'
….2.12/lib/active_record/railties/controller_runtime.rb:  24:in `cleanup_view_runtime'
…-3.2.12/lib/action_controller/metal/instrumentation.rb:  39:in `render'
…-3.2.12/lib/action_controller/metal/implicit_render.rb:  10:in `default_render'
…-3.2.12/lib/action_controller/metal/implicit_render.rb:   5:in `send_action'
…gems/actionpack-3.2.12/lib/abstract_controller/base.rb: 167:in `process_action'
…onpack-3.2.12/lib/action_controller/metal/rendering.rb:  10:in `process_action'
…actionpack-3.2.12/lib/abstract_controller/callbacks.rb:  18:in `block in process_action'
…s/activesupport-3.2.12/lib/active_support/callbacks.rb: 447:in `_run__423869655__process_action__833268858__callbacks'
…s/activesupport-3.2.12/lib/active_support/callbacks.rb: 405:in `__run_callback'
…s/activesupport-3.2.12/lib/active_support/callbacks.rb: 385:in `_run_process_action_callbacks'
…s/activesupport-3.2.12/lib/active_support/callbacks.rb:  81:in `run_callbacks'
…actionpack-3.2.12/lib/abstract_controller/callbacks.rb:  17:in `process_action'
…ctionpack-3.2.12/lib/action_controller/metal/rescue.rb:  29:in `process_action'
…-3.2.12/lib/action_controller/metal/instrumentation.rb:  30:in `block in process_action'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 123:in `block in instrument'
….2.12/lib/active_support/notifications/instrumenter.rb:  20:in `instrument'
…tivesupport-3.2.12/lib/active_support/notifications.rb: 123:in `instrument'
…-3.2.12/lib/action_controller/metal/instrumentation.rb:  29:in `process_action'
…k-3.2.12/lib/action_controller/metal/params_wrapper.rb: 207:in `process_action'
….2.12/lib/active_record/railties/controller_runtime.rb:  18:in `process_action'
…gems/actionpack-3.2.12/lib/abstract_controller/base.rb: 121:in `process'
…actionpack-3.2.12/lib/abstract_controller/rendering.rb:  45:in `process'
…/gems/actionpack-3.2.12/lib/action_controller/metal.rb: 203:in `dispatch'
…-3.2.12/lib/action_controller/metal/rack_delegation.rb:  14:in `dispatch'
…/gems/actionpack-3.2.12/lib/action_controller/metal.rb: 246:in `block in action'
…onpack-3.2.12/lib/action_dispatch/routing/route_set.rb:  73:in `call'
…onpack-3.2.12/lib/action_dispatch/routing/route_set.rb:  73:in `dispatch'
…onpack-3.2.12/lib/action_dispatch/routing/route_set.rb:  36:in `call'
…le/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:  68:in `block in call'
…le/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:  56:in `each'
…le/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:  56:in `call'
…onpack-3.2.12/lib/action_dispatch/routing/route_set.rb: 601:in `call'
…ruby/1.9.1/gems/omniauth-1.1.3/lib/omniauth/builder.rb:  48:in `call'
…b/action_dispatch/middleware/best_standards_support.rb:  17:in `call'
…red/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:  23:in `call'
…/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:  25:in `call'
…tionpack-3.2.12/lib/action_dispatch/middleware/head.rb:  14:in `call'
…3.2.12/lib/action_dispatch/middleware/params_parser.rb:  21:in `call'
…ionpack-3.2.12/lib/action_dispatch/middleware/flash.rb: 242:in `call'
Reply all
Reply to author
Forward
0 new messages