Open 7Moses opened 10 years ago
Please put a copy of your slogger_config in a gist and let me take a look.
On 19 Aug 2014, at 14:11, 7Moses wrote:
I am setting up Slogger with Flickr, Git, PinBoard and Instapaper,
But I think my configuration is way off on F..., Pin... and Insta... I am trouble shooting each but wondering if the issues are more universal to my setting up, any guidance welcome,
mosesmoses:Slogger-master moses$ ./slogger
Initializing Slogger v2 (2.1.14)...
14:54:53 FlickrLogger: Getting Flickr images for XXXXXXXXXX 14:54:55 FlickrLogger: No new Flickr images found 14:54:55 GithubLogger: Logging Github activity for 7Moses 14:54:56 InstapaperLogger: Getting Instapaper posts for 66 accounts /Users/moses/Documents/Slogger-master/plugins/instapaperlogger.rb:49:in
do_log': undefined method
each' for #String:xxxxxxxxxxxxxxxxxxxxx (NoMethodError) from /Users/moses/Documents/Slogger-master/slogger.rb:284:inblock in run_plugins' from /Users/moses/Documents/Slogger-master/slogger.rb:271:in
each' from /Users/moses/Documents/Slogger-master/slogger.rb:271:inrun_plugins' from /Users/moses/Documents/Slogger-master/slogger.rb:447:in
<top (required)>' from /usr/local/Cellar/ruby/2.1.2_2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /usr/local/Cellar/ruby/2.1.2_2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
require' from ./slogger:18:in `' mosesmoses:Slogger-master moses$
There are new Flickr images; this post is my first activity on Github in awhile - about to run slogger again; no idea why its reporting 66 accounts for Instapaper - I am just pointing Slogger to one folder; no reporting for PinBoard.
Any guidance on the NoMethodError, etc would be great.
The Insta.... and Pin.... feeds: I have checked them a few times and they appear to be good, Checked them by loading into ReadKit.
I disabled many of the plugins including Twitter, upon updating the config file, the Twitter description remained in the config. file others removed.
Best,
Reply to this email directly or view it on GitHub: https://github.com/ttscoff/Slogger/issues/324
Thank you for replying, here is the potential mess, I removed my user IDs, I maybe using the wrong configurations for date and time, checking,
Best,
config file for Brett
---
storage: "/Users/moses/Dropbox/SloggerDayOne/Journal.dayone"
image_filename_is_title: true
date_format: "%Y%m%e"
time_format: "%H.%M"
last_run_time: Tue Aug 19 15:15:36 2014
FlickrLogger:
flickr_description:
- Logs today's photos from Flickr.
- flickr_ids is an array of one or more IDs
- flickr_datetype can be the "upload" or "taken" date to be used
- Get your Flickr ID at <http://idgettr.com/>
- Get your Flickr API key at <http://www.flickr.com/services/apps/create/noncommercial/>
FlickrLogger_last_run: Tue Aug 19 15:15:36 2014
flickr_api_key: xxxxxxxxxxxxxxxxxxxxxxxxx
flickr_ids: xxxxxxxxxxxxxxxxxxx
flickr_datetype: upload
flickr_tags: “” {Note. I did not enter tags here, I did not want tag restrictions}
tags: "#Flickrrss"
GithubLogger:
description:
- Logs daily Github activity for the specified user
- github_user should be your Github username
GithubLogger_last_run: Tue Aug 19 15:15:36 2014
github_user: 7Moses
github_tags: ""
tags: "#GitHubrss"
InstapaperLogger:
instapaper_description:
- Logs today's posts to Instapaper.
- instapaper_feeds is an array of one or more RSS feeds
- Find the RSS feed for any folder at the bottom of a web interface page
InstapaperLogger_last_run: Tue Aug 19 15:15:36 2014
instapaper_include_content_preview: true
instapaper_tags: ""
tags: "#GoodWritingrss"
instapaper_feeds: http://www.instapaper.com/folder/xxxxxxx/rss/xxxxxxx
PinboardLogger:
pinboard_description:
- Logs bookmarks for today from Pinboard.in.
- pinboard_feeds is an array of one or more Pinboard RSS feeds
- pinboard_digest true will group all new bookmarks into one post, false will split
them into individual posts dated when the bookmark was created
PinboardLogger_last_run: Tue Aug 19 15:15:36 2014
pinboard_feeds: https://feeds.pinboard.in/rss/secret:xxxxxxxxxxxxxxxx
pinboard_tags: ""
pinboard_save_hashtags: true
pinboard_digest: false
tags: "#PinBoardrss"
TwitterLogger:
description:
- Logs updates and favorites for specified Twitter users
- twitter_users should be an array of Twitter usernames, e.g. [ ttscoff, markedapp
]
- save_images (true/false) determines whether TwitterLogger will look for image
urls and include them in the entry
- save_favorites (true/false) determines whether TwitterLogger will look for the
favorites of the given usernames and include them in the entry
- save_images_from_favorites (true/false) determines whether TwitterLogger will
download images for the favorites of the given usernames and include them in the
entry
- save_retweets (true/false) determines whether TwitterLogger will include retweets
in the posts for the day
- 'droplr_domain: if you have a custom droplr domain, enter it here, otherwise leave
it as d.pr '
- 'digest_timeline: if true will create a single entry for all tweets'
- oauth_token and oauth_secret should be left blank and will be filled in by the
plugin
TwitterLogger_last_run: Tue Aug 19 13:39:19 2014
twitter_users: []
save_favorites: true
save_images: true
save_images_from_favorites: true
droplr_domain: d.pr
twitter_tags: "#social #twitter"
oauth_token: ''
oauth_token_secret: ''
exclude_replies: true
save_retweets: false
digest_timeline: true
Basically any key with a plural name needs to have an array instead of a string. I really should add a check and just let that slide, but you can fix by putting square brackets around things like flickr_ids
:
flickr_ids: [ xxxxxxxxxxxxxxxxxxx ]
Thanks Brett, it's me who let it slide, I saw the square brackets and did not use them in editing the .config file.
I am setting up Slogger with Flickr, Git, PinBoard and Instapaper,
But I think my configuration is way off on F..., Pin... and Insta... I am trouble shooting each but wondering if the issues are more universal to my setting up, any guidance welcome,
mosesmoses:Slogger-master moses$ ./slogger
Initializing Slogger v2 (2.1.14)...
14:54:53 FlickrLogger: Getting Flickr images for XXXXXXXXXX 14:54:55 FlickrLogger: No new Flickr images found 14:54:55 GithubLogger: Logging Github activity for 7Moses 14:54:56 InstapaperLogger: Getting Instapaper posts for 66 accounts /Users/moses/Documents/Slogger-master/plugins/instapaperlogger.rb:49:in'
do_log': undefined method
each' for #String:xxxxxxxxxxxxxxxxxxxxx (NoMethodError) from /Users/moses/Documents/Slogger-master/slogger.rb:284:inblock in run_plugins' from /Users/moses/Documents/Slogger-master/slogger.rb:271:in
each' from /Users/moses/Documents/Slogger-master/slogger.rb:271:inrun_plugins' from /Users/moses/Documents/Slogger-master/slogger.rb:447:in
<top (required)>' from /usr/local/Cellar/ruby/2.1.2_2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /usr/local/Cellar/ruby/2.1.2_2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
require' from ./slogger:18:in `mosesmoses:Slogger-master moses$
There are new Flickr images; this post is my first activity on Github in awhile - about to run slogger again; no idea why its reporting 66 accounts for Instapaper - I am just pointing Slogger to one folder; no reporting for PinBoard.
Any guidance on the NoMethodError, etc would be great.
The Insta.... and Pin.... feeds: I have checked them a few times and they appear to be good, Checked them by loading into ReadKit.
I disabled many of the plugins including Twitter, upon updating the config file, the Twitter description remained in the config. file others removed.
Best,