Skip to content

Instantly share code, notes, and snippets.

@fourier
Created February 19, 2015 19:01
Show Gist options
  • Save fourier/68b9c0977b1ee5979398 to your computer and use it in GitHub Desktop.
Save fourier/68b9c0977b1ee5979398 to your computer and use it in GitHub Desktop.
Webfinger.new('hackernews@pod.jpope.org').fetch
Person Load (5.4ms) SELECT "people".* FROM "people" WHERE "people"."diaspora_handle" = 'hackernews@pod.jpope.org' LIMIT 1
RuntimeError: account in profile() and account requested (hackernews@pod.jpope.org) do not match
from /home/diaspora/diaspora/lib/webfinger_profile.rb:24:in `set_fields'
from /home/diaspora/diaspora/lib/webfinger_profile.rb:8:in `initialize'
from /home/diaspora/diaspora/lib/webfinger.rb:84:in `new'
from /home/diaspora/diaspora/lib/webfinger.rb:84:in `webfinger_profile'
from /home/diaspora/diaspora/lib/webfinger.rb:108:in `make_person_from_webfinger'
from /home/diaspora/diaspora/lib/webfinger.rb:58:in `create_or_update_person_from_webfinger_profile!'
from /home/diaspora/diaspora/lib/webfinger.rb:18:in `fetch'
from (irb):2
from /home/diaspora/.rvm/gems/ruby-2.0.0-p598@diaspora/gems/railties-3.2.20/lib/rails/commands/console.rb:47:in `start'
from /home/diaspora/.rvm/gems/ruby-2.0.0-p598@diaspora/gems/railties-3.2.20/lib/rails/commands/console.rb:8:in `start'
from /home/diaspora/.rvm/gems/ruby-2.0.0-p598@diaspora/gems/railties-3.2.20/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment