Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in WordPress importer #368

Closed
cobrafast opened this issue Oct 22, 2018 · 2 comments
Closed

Error in WordPress importer #368

cobrafast opened this issue Oct 22, 2018 · 2 comments

Comments

@cobrafast
Copy link

cobrafast commented Oct 22, 2018

Getting the error can't modify frozen String from one of the SQL queries in the importer preventing me from using the importer entirely.

ruby -r rubygems -e 'require "jekyll-import"; JekyllImport::Importers::WordPress.run({"dbname"=>"***","user"=>"***","password"=>"***"})'
Traceback (most recent call last):
        2: from -e:1:in `<main>'
        1: from /var/lib/gems/2.5.0/gems/jekyll-import-0.15.0/lib/jekyll-import/importer.rb:25:in `run'
/var/lib/gems/2.5.0/gems/jekyll-import-0.15.0/lib/jekyll-import/importers/wordpress.rb:166:in `process': can't modify frozen String (FrozenError)

ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
@DirtyF
Copy link
Member

DirtyF commented Oct 22, 2018

@cobrafast sorry for that, published a fix.
In the meantime you can try to uninstall latest gem and use v0.14:

gem uninstall jekyll-import
gem install jekyll-import -v 0.14

@DirtyF
Copy link
Member

DirtyF commented Nov 4, 2018

Fixed in e59a985

@DirtyF DirtyF closed this as completed Nov 4, 2018
@jekyll jekyll locked and limited conversation to collaborators Nov 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants