Error running `tumblr authorize`...
Closed this issue · 0 comments
al-the-x commented
Attempting to setup tumblr
for first-time use:
$> ruby --version
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin13.0]
$> tumblr authorize
$ tumblr authorize
[2014-11-21 15:14:30] INFO WEBrick 1.3.1
[2014-11-21 15:14:30] INFO ruby 2.1.3 (2014-09-19) [x86_64-darwin13.0]
== Sinatra/1.4.5 has taken the stage on 4567 for development with backup from WEBrick
[2014-11-21 15:14:30] INFO WEBrick::HTTPServer#start: pid=62079 port=4567
Note that although a new tab was opened in Chrome, it had no URL... No matter, open http://localhost:4567
does the trick, right? Grabbing my OAuth key and secret from Tumblr, pasting them into the resultant form, and submitting them results in this:
localhost - - [21/Nov/2014:15:18:41 EST] "GET / HTTP/1.1" 400 1530
- -> /
RuntimeError - SimpleOAuth: Found extra option keys not matching ATTRIBUTE_KEYS:
[:consumer_secret]:
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/simple_oauth-0.3.0/lib/simple_oauth/header.rb:88:in `attributes'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/simple_oauth-0.3.0/lib/simple_oauth/header.rb:74:in `signed_attributes'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/simple_oauth-0.3.0/lib/simple_oauth/header.rb:80:in `normalized_attributes'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/simple_oauth-0.3.0/lib/simple_oauth/header.rb:62:in `to_s'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/weary-1.1.3/lib/weary/middleware/oauth.rb:17:in `call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/weary-1.1.3/lib/weary/middleware/content_type.rb:20:in `call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/rack-1.6.0.beta/lib/rack/builder.rb:153:in `call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/weary-1.1.3/lib/weary/request.rb:52:in `call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/weary-1.1.3/lib/weary/request.rb:118:in `block in perform'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/promise-0.3.0/lib/promise.rb:48:in `call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/promise-0.3.0/lib/promise.rb:48:in `block in __force__'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/promise-0.3.0/lib/promise.rb:45:in `synchronize'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/promise-0.3.0/lib/promise.rb:45:in `__force__'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/promise-0.3.0/lib/future.rb:35:in `__force__'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/promise-0.3.0/lib/future.rb:26:in `block in initialize'
[2014-11-21 15:18:54] ERROR NoMethodError: undefined method `join' for #<String:0x007ffabd272878>
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:37:in `rescue in call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/show_exceptions.rb:21:in `call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:180:in `call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:2014:in `call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `block in call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1788:in `synchronize'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1478:in `call'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/rack-1.6.0.beta/lib/rack/handler/webrick.rb:89:in `service'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/al_the_x/.rbenv/versions/2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
localhost - - [21/Nov/2014:15:18:54 EST] "GET /?key=<REDACTED>&secret=<REDACTED> HTTP/1.1" 500 340
http://localhost:4567/ -> /?key=<REDACTED>&secret=<REDACTED>