hotsh / rstat.us

Simple microblogging network based on the ostatus protocol.
http://rstat.us/
Other
722 stars 215 forks source link

ArgumentError: comparison of Hash with Hash failed #556

Closed carols10cents closed 11 years ago

carols10cents commented 12 years ago

Check full details on Airbrake: http://rstatus.airbrake.io/errors/43435161?auth_token=ab3bb3a1d53d986a8daffb99b48d60ff88568f4c

[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/ostatus-0.0.10/lib/ostatus/feed.rb:43:in `sort'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/ostatus-0.0.10/lib/ostatus/feed.rb:43:in `initialize'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/ostatus-0.0.10/lib/ostatus/feed.rb:85:in `new'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/ostatus-0.0.10/lib/ostatus/feed.rb:85:in `from_url'
[PROJECT_ROOT]/app/models/feed.rb:58:in `populate'
[PROJECT_ROOT]/app/models/feed.rb:43:in `create_from_feed_data'
[PROJECT_ROOT]/lib/finds_or_creates_feeds.rb:9:in `find_or_create'
[PROJECT_ROOT]/app/models/feed.rb:38:in `find_or_create'
[PROJECT_ROOT]/app/controllers/subscriptions_controller.rb:65:in `create'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/abstract_controller/base.rb:167:in `process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_controller/metal/rendering.rb:10:in `process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.6/lib/active_support/callbacks.rb:425:in `_run__906709555445830219__process_action__4260030201369965825__callbacks'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.6/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/abstract_controller/callbacks.rb:17:in `process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_controller/metal/rescue.rb:17:in `process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.6/lib/active_support/notifications.rb:53:in `block in instrument'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.6/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.6/lib/active_support/notifications.rb:53:in `instrument'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `block in process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:255:in `block in perform_action_with_newrelic_trace'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:250:in `perform_action_with_newrelic_trace'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/abstract_controller/base.rb:121:in `process'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/abstract_controller/rendering.rb:45:in `process'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_controller/metal.rb:193:in `dispatch'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_controller/metal.rb:236:in `block in action'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/routing/route_set.rb:71:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/routing/route_set.rb:71:in `dispatch'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/routing/route_set.rb:35:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:82:in `optimized_each'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/routing/route_set.rb:538:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/bundler/gems/omniauth-5aaa1ae45c9e/oa-core/lib/omniauth/strategy.rb:44:in `call!'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/bundler/gems/omniauth-5aaa1ae45c9e/oa-core/lib/omniauth/strategy.rb:30:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/bundler/gems/omniauth-5aaa1ae45c9e/oa-core/lib/omniauth/builder.rb:30:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/rack/browser_monitoring.rb:23:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/exceptional-2.0.32/lib/exceptional/integration/rack_rails.rb:13:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo_mapper-0.9.2/lib/mongo_mapper/middleware/identity_map.rb:10:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/etag.rb:23:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/conditionalget.rb:35:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/head.rb:14:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/flash.rb:243:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:195:in `context'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:190:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/cookies.rb:331:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.6/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/sendfile.rb:101:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.1.6/lib/rails/rack/logger.rb:13:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/methodoverride.rb:24:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/runtime.rb:17:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.6/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/lock.rb:15:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.6/lib/action_dispatch/middleware/static.rb:61:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-ssl-1.3.2/lib/rack/ssl.rb:27:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.1.6/lib/rails/engine.rb:456:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.1.6/lib/rails/application.rb:143:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/content_length.rb:14:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.1.6/lib/rails/rack/log_tailer.rb:14:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:in `service'
/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
carols10cents commented 12 years ago

Action subscriptions#create URL https://rstat.us/subscriptions File vendor/bundle/ruby/1.9.1/gems/ostatus-0.0.10/lib/ostatus/feed.rb:43 Hostname d6009f90-63e9-458b-bd11-0e150d9d4c6e Received at August 06, 2012 at 08:30:33 AM Similar Errors Occurred 4 times Parameters

{"utf8"=>"������", "authenticity_token"=>"gqwDNPS2A9Lm+M+Zx3PjwGRoYCXIOYbQr8Bt2mRPcJ8=", "subscribe_to"=>"http://identi.ca/otakukuma", "action"=>"create", "controller"=>"subscriptions"}

Session Data

{"session_id"=>"f2ade41183bac7a57d64aac05967a9a5", "_csrf_token"=>"gqwDNPS2A9Lm+M+Zx3PjwGRoYCXIOYbQr8Bt2mRPcJ8=", "oauth"=>{"twitter"=>{"callback_confirmed"=>"true"}}, "uid"=>"102149720", "provider"=>"twitter", "name"=>"nakhlawi", "nickname"=>"nakhlawi", "website"=>"http://quran.com/", "description"=> "�������������������� ���������������������������������������� ������������������������������������ ������������������������������������", "image"=> "http://a0.twimg.com/profile_images/757884001/213849446_7f76930850_s_normal.jpg", "oauth_token"=>"102149720-FnE6XQ2sljEpzfX9l1SOFzH9f6FS6XsTJtczRWVp", "oauth_secret"=>"8MW3WdwVqrJvlEv1qbnsxNAJzd9gEmy0voS4na0DvNE", "user_id"=>"501fb2ef30c7a200020005fa"}

carols10cents commented 12 years ago

This is actually an ostatus bug, fix here -- https://github.com/hotsh/ostatus/pull/8

I could see an argument that we should be rescuing this exception in rstatus, but the underlying issue happens in the ostatus codebase so I'd rather we just fix it there...

carols10cents commented 11 years ago

Fixed when we upgraded ostatus to 0.0.12.