eloyesp / jekyll_ghost_importer

Post importer from Ghost backup files.
GNU General Public License v3.0
67 stars 11 forks source link

Not compatible with Ghost 1.x #8

Closed ticoombs closed 6 years ago

ticoombs commented 6 years ago

Stacktrace:

/home/me/.gem/ruby/2.2.0/gems/jekyll_ghost_importer-0.5.0/bin/jekyll_ghost_importer:98:in `+': no implicit conversion of nil into String (TypeError)
    from /home/me/.gem/ruby/2.2.0/gems/jekyll_ghost_importer-0.5.0/bin/jekyll_ghost_importer:98:in `full_body'
    from /home/me/.gem/ruby/2.2.0/gems/jekyll_ghost_importer-0.5.0/bin/jekyll_ghost_importer:38:in `import'
    from /home/me/.gem/ruby/2.2.0/gems/jekyll_ghost_importer-0.5.0/bin/jekyll_ghost_importer:112:in `block in <top (required)>'
    from /home/me/.gem/ruby/2.2.0/gems/jekyll_ghost_importer-0.5.0/bin/jekyll_ghost_importer:110:in `each'
    from /home/me/.gem/ruby/2.2.0/gems/jekyll_ghost_importer-0.5.0/bin/jekyll_ghost_importer:110:in `<top (required)>'
    from /home/me/.gem/ruby/2.2.0/bin//jekyll_ghost_importer:23:in `load'
    from /home/me/.gem/ruby/2.2.0/bin//jekyll_ghost_importer:23:in `<main>'

Seems the whole json format has changed.

eloyesp commented 6 years ago

This was fixed thanks to @proog on #9