-
Notifications
You must be signed in to change notification settings - Fork 160
TwitterLogger won't start Safari (default browser) #406
Comments
It's failing before it gets to the "open" command. What version of Ruby -Brett On 23 Feb 2016, at 15:18, Scott wrote:
|
I just checked and I'm running 2.0.0p648. asi1:~ scottrych$ ruby --version Could it be an issue with OS X 10.11.4 beta 4...? |
Do you have twitter_users configured in your slogger_config? That needs to be an array of users (even if it's just one), e.g.:
It looks like it's finding a nil variable when trying to build the oauth url, so that's my first guess. |
This is what that section looks like within the config file after I reloaded it. TwitterLogger:
|
Sorry, that didn't paste well... twitter_users:
|
I cleared the line in the config, updated the config to make sure that the username was cleared. Then added my account back in, updated the config again, ran slogger -s and still got this... Slogger will now open an authorization page in your default web browser. Copy the code you receive and return here. |
Could you try opening up the plugins/twitterlogger.rb file and adding
Then run -Brett On 24 Feb 2016, at 9:24, Scott wrote:
|
That didn't work... Here's the section of code before and after just in case I didn't put that in the correct spot.
And this is what happened. `asi1:Slogger-master scottrych$ ./slogger -o twitter ------------- Twitter Configuration -------------- /Library/Ruby/Gems/2.0.0/gems/oauth-0.5.0/lib/oauth/tokens/request_token.rb:29:in |
That's what it was supposed to do, I just wanted to see if the object Any chance you're on a proxy or behind a firewall? Have you run -Brett On 24 Feb 2016, at 10:21, Scott wrote:
|
My Mac isn't running through a Proxy server, but it is behind a corporate firewall. I just re-ran bundle install just so that I could grab the output for you. asi1:Slogger-master scottrych$ bundle install |
I'm not sure what's causing the error. I'll have to test with a clean On 24 Feb 2016, at 11:40, Scott wrote:
|
No problem, I'll keep checking on it occasionally to see if I can get it to work. Thanks for your help with this. |
Hi,
I just recently managed to get Slogger working on my MacBook Pro.
FourSquare and Good Reads are working properly, OmniFocus is mostly working, (I'm trying to figure out how to use the omnifocus_folder_filter properly).
When I try to run Twitter though, Safari never launches, I switched my default to Chrome just to test which also didn't work.
Does anybody have any suggestions...?
Thanks,
Scott
asi1:Slogger-master scottrych$ ./slogger -s
Initializing Slogger v2 (2.1.14)...
16:14:10 FoursquareLogger: Getting Foursquare checkins
16:14:11 GoodreadsLogger: Logging read books from Goodreads
16:14:12 OmniFocusLogger: Logging OmniFocus for completed tasks
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/QXPScriptingAdditions.osax" cannot be used with the current OS because it has no OSAXHandlers entry in its Info.plist.
16:14:12 DayOne: =====[ Saving entry to entries/610FFE265521454E994162F3A5CE155B ]
16:14:14 TwitterLogger: Twitter requires configuration, please run from the command line and follow the prompts
------------- Twitter Configuration --------------
'Slogger will now open an authorization page in your default web browser. Copy the code you receive and return here.
Press Enter to continue...
/Library/Ruby/Gems/2.0.0/gems/oauth-0.5.0/lib/oauth/tokens/request_token.rb:29:in
build_authorize_url': undefined method
blank?' for nil:NilClass (NoMethodError)from /Library/Ruby/Gems/2.0.0/gems/oauth-0.5.0/lib/oauth/tokens/request_token.rb:11:in
authorize_url' from /Users/scottrych/Downloads/Slogger-master/plugins/twitterlogger.rb:227:in
do_log'from /Users/scottrych/Downloads/Slogger-master/slogger.rb:288:in
block in run_plugins' from /Users/scottrych/Downloads/Slogger-master/slogger.rb:275:in
each'from /Users/scottrych/Downloads/Slogger-master/slogger.rb:275:in
run_plugins' from /Users/scottrych/Downloads/Slogger-master/slogger.rb:472:in
<top (required)>'from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require'from ./slogger:18:in `
The text was updated successfully, but these errors were encountered: