Slogger icon indicating copy to clipboard operation
Slogger copied to clipboard

Pinboard creating duplicate entries, twitter logger stopped working

Open wxn0000 opened this issue 11 years ago • 2 comments

Pinboard

I use the -s option, which should only log whatever that are newer since the last run. But I often see duplicated entries show up days after its initial logging, when there's a new item in Pinboard that triggered slogger.

Twitter

It was working normal before, but recently (I'm not sure when, and as far as I can remember, I didn't make any changes to the slogger configuration) it will give the following error message after I run: slogger -s -o twitter

I did updated the Ruby gems multiple times using sudo gem update, and the twitter gem version is 5.1.1

Initializing Slogger v2.1 (2.1.0.6)... 18:08:00 TwitterLogger: Getting Twitter timeline for xiaoning_wang /Users/xiaoning/Dropbox/Apps/Slogger/plugins/twitterlogger.rb:74:in get_tweets': undefined methodconfigure' for Twitter:Module (NoMethodError) from /Users/xiaoning/Dropbox/Apps/Slogger/plugins/twitterlogger.rb:237:in block (2 levels) in do_log' from /Users/xiaoning/Dropbox/Apps/Slogger/plugins/twitterlogger.rb:262:intry' from /Users/xiaoning/Dropbox/Apps/Slogger/plugins/twitterlogger.rb:237:in block in do_log' from /Users/xiaoning/Dropbox/Apps/Slogger/plugins/twitterlogger.rb:235:ineach' from /Users/xiaoning/Dropbox/Apps/Slogger/plugins/twitterlogger.rb:235:in do_log' from /Users/xiaoning/Dropbox/Apps/Slogger/slogger.rb:257:inblock in run_plugins' from /Users/xiaoning/Dropbox/Apps/Slogger/slogger.rb:244:in each' from /Users/xiaoning/Dropbox/Apps/Slogger/slogger.rb:244:inrun_plugins' from /Users/xiaoning/Dropbox/Apps/Slogger/slogger.rb:388:in <top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require' from ./slogger:18:in

'

Anyone encountered similar problems? Any suggestion would be greatly appreciated! Thank you!

wxn0000 avatar Dec 02 '13 23:12 wxn0000

My Ruby version is 2.0.0

wxn0000 avatar Dec 02 '13 23:12 wxn0000

After I uninstalled the ruby gem twitter 5.1.1, leaving only 4.8.1, the twitter logger is working again. So it seems that the twitter logger does not working properly with the latest version of the twitter gem.

According to http://sferik.github.io/twitter/

oauth_token has been renamed to access_token and oauth_token_secret is now access_token_secret to conform to the terminology used in Twitter's developer documentation.

But I don't know what needs to be modified to accommodate this change.

wxn0000 avatar Dec 03 '13 19:12 wxn0000