tominsam/jekyll-metaweblog — Issue #7: getRecentPosts() explodes?
Author: davepeck
Created: 2011-12-30 00:48:34+00:00
State: open

Perhaps I've configured `jekyll-metaweblog` (or MarsEdit) incorrectly, but when MarsEdit attempts to get recent posts, `jekyll-metaweblog` fails:

calling getRecentPosts("davepeck.org", "user", "pass", 30)
getRecentPosts call exploded
undefined method `[]' for false:FalseClass
./post.rb:68:in `read'
./store.rb:46:in `walk'
./store.rb:29:in `each'
./store.rb:29:in `walk'
./store.rb:41:in `walk'
./store.rb:29:in `each'
./store.rb:29:in `walk'
./store.rb:53:in `read_all_files'
./store.rb:14:in `posts'
./metaweblog.rb:194:in `getRecentPosts'
./metaweblog.rb:351:in `call'
./metaweblog.rb:351:in `attach_metaweblog_methods'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xmlrpc/server.rb:338:in `call'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xmlrpc/server.rb:338:in `dispatch'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xmlrpc/server.rb:325:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xmlrpc/server.rb:325:in `dispatch'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xmlrpc/server.rb:368:in `call_method'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xmlrpc/server.rb:380:in `handle'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xmlrpc/server.rb:312:in `process'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xmlrpc/server.rb:762:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
jm_server.rb:74
localhost - - [29/Dec/2011:16:44:18 PST] "POST /xmlrpc.php HTTP/1.1" 200 314
- -> /xmlrpc.php

I love the idea of `jekyll-metaweblog` -- can't wait to put it to good use.