jugyo / earthquake

Twitter terminal client with streaming API support.
MIT License
661 stars 94 forks source link

Token Request 401 Unauthorized #91

Closed zombor closed 12 years ago

zombor commented 12 years ago

First launch I get this:

/usr/local/rvm/gems/ruby-1.9.2-p290/gems/oauth-0.4.5/lib/oauth/consumer.rb:219:in `token_request': 401 Unauthorized (OAuth::Unauthorized)
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/oauth-0.4.5/lib/oauth/consumer.rb:139:in `get_request_token'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/earthquake-0.8.3/lib/earthquake/get_access_token.rb:10:in `get_access_token'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/earthquake-0.8.3/lib/earthquake/core.rb:75:in `load_config'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/earthquake-0.8.3/lib/earthquake/core.rb:35:in `_init'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/earthquake-0.8.3/lib/earthquake/core.rb:90:in `__init'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/earthquake-0.8.3/lib/earthquake/core.rb:100:in `start'
from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/earthquake-0.8.3/bin/earthquake:48:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.2-p290/bin/earthquake:19:in `load'
from /usr/local/rvm/gems/ruby-1.9.2-p290/bin/earthquake:19:in `<main>'

Any idea what's up with it?

jugyo commented 12 years ago

Hmm. Right now, it works for me. What earthqueke.gem version?

zombor commented 12 years ago

earthquake (0.8.3)

zombor commented 12 years ago

Should a browser window open up to authorize my account? I don't get that.

jugyo commented 12 years ago

Yes, a browser will open to authorize.

zombor commented 12 years ago

Seems that there's no "default browser", since I'm not using a DE, only the awesome WM. I tried export BROWSER="chromium" but that didn't do anything. xdg-settings doesn't work because I'm not using a DE.

zombor commented 12 years ago

I've got a new system, this seems to work now.