Error when migrating from Posterous on Jekyll #464

Juev opened this Issue Jan 2, 2012 · 4 comments

4 participants


Tried to migrate from Posterous to Jekyll, as described in the wiki. But always the following error:

$ ruby -r '../jekyll/lib/jekyll/migrators/posterous.rb' -e 'Jekyll::Posterous.process("my_mail", "my_pass")'    
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:2101:in `error!': 410 "Gone" (Net::HTTPServerException)
    from ../jekyll/lib/jekyll/migrators/posterous.rb:26:in `fetch'
    from ../jekyll/lib/jekyll/migrators/posterous.rb:32:in `process'
    from -e:1

And the migration fails. Is it possible somehow to fix this?


Same here, I am facing the same problem..


I just had this issue too.


Alright, so to get this to work you need to fetch your API token manually from here, after logging in as the user you want to fetch posts as:

Then you can hard code it in lib/jekyll/migrators/posterous.rb, instead of trying to fetch it from the API with JSON.parse(self.fetch("/api/2/auth/token").body)['api_token'], which is no longer supported.

I will submit a pull request to fix this.


Fixed by #472.

@mojombo mojombo closed this Jan 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment