forefront228 / forefront_website_refinery

0 stars 0 forks source link

ActiveRecord::StatementInvalid: PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8": 0x8b : SELECT "refinery_pages".* FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page #105

Open pksarguru opened 5 years ago

pksarguru commented 5 years ago

View details in Rollbar: https://rollbar.com/pksarguru/forefront-website/items/13/



PG::CharacterNotInRepertoire: ERROR:  invalid byte sequence for encoding "UTF8": 0x8b

  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb", line 592, in async_exec
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb", line 592, in block in exec_no_cache
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/abstract_adapter.rb", line 484, in block in log
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/abstract_adapter.rb", line 478, in log
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb", line 592, in exec_no_cache
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb", line 584, in execute_and_clear
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/postgresql/database_statements.rb", line 160, in exec_query
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb", line 356, in select
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb", line 32, in select_all
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb", line 68, in block in select_all
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb", line 83, in cache_sql
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/connection_adapters/abstract/query_cache.rb", line 68, in select_all
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/querying.rb", line 39, in find_by_sql
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation.rb", line 639, in exec_queries
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation.rb", line 515, in load
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation.rb", line 243, in to_a
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation/finder_methods.rb", line 500, in find_nth_with_limit
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation/finder_methods.rb", line 484, in find_nth
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation/finder_methods.rb", line 127, in first
  File "/app/vendor/bundle/ruby/2.3.0/gems/refinerycms-pages-3.0.5/lib/refinery/pages/finder.rb", line 139, in parent_page
  File "/app/vendor/bundle/ruby/2.3.0/gems/refinerycms-pages-3.0.5/lib/refinery/pages/finder.rb", line 123, in find
  File "/app/vendor/bundle/ruby/2.3.0/gems/refinerycms-pages-3.0.5/lib/refinery/pages/finder.rb", line 100, in find
  File "/app/vendor/bundle/ruby/2.3.0/gems/refinerycms-pages-3.0.5/lib/refinery/pages/finder.rb", line 166, in find
  File "/app/vendor/bundle/ruby/2.3.0/gems/refinerycms-pages-3.0.5/lib/refinery/pages/finder.rb", line 9, in by_path_or_id
  File "/app/vendor/bundle/ruby/2.3.0/gems/refinerycms-pages-3.0.5/app/models/refinery/page.rb", line 85, in find_by_path_or_id
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation/delegation.rb", line 70, in block in find_by_path_or_id
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation.rb", line 302, in scoping
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation/delegation.rb", line 70, in find_by_path_or_id
  File "/app/app/controllers/refinery/pages_controller.rb", line 127, in call
  File "/app/app/controllers/refinery/pages_controller.rb", line 92, in find_page
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb", line 432, in block in make_lambda
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb", line 145, in block in halting_and_conditional
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb", line 504, in block in call
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb", line 504, in each
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb", line 504, in call
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb", line 778, in _run_process_action_callbacks
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/callbacks.rb", line 81, in run_callbacks
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/action_controller/metal/rescue.rb", line 29, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/notifications.rb", line 164, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/action_controller/metal/instrumentation.rb", line 30, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/action_controller/metal/params_wrapper.rb", line 250, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/railties/controller_runtime.rb", line 18, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/abstract_controller/base.rb", line 137, in process
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.8/lib/action_view/rendering.rb", line 30, in process
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/action_controller/metal.rb", line 196, in dispatch
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.8/lib/action_controller/metal/rack_
weavermedia commented 4 years ago

Did you find the cause of this?