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

NameError: name 'json' is not defined #8

Closed
laedit opened this issue Nov 22, 2021 · 2 comments
Closed

NameError: name 'json' is not defined #8

laedit opened this issue Nov 22, 2021 · 2 comments

Comments

@laedit
Copy link

laedit commented Nov 22, 2021

Since the last version (0.5.0) I have the following error:

❯ creep -d '{"source": "hash"}' -b site/_site -y
Traceback (most recent call last):
  File "C:\Users\jerem\AppData\Local\Programs\Python\Python39\Scripts\creep-script.py", line 33, in <module>
    sys.exit(load_entry_point('creep==0.5.0', 'console_scripts', 'creep')())
  File "C:\Users\jerem\AppData\Local\Programs\Python\Python39\lib\site-packages\creep\creep.py", line 93, in main
    definition_config = json.loads(args.definition)
NameError: name 'json' is not defined

I don't know if it is related, but I am on Windows.

@r3c
Copy link
Owner

r3c commented Nov 22, 2021

Hello, thanks for your report! There was indeed an issue with inline JSON through CLI, this should be fixed with version 0.5.1 🙂

@laedit
Copy link
Author

laedit commented Nov 23, 2021

Thanks, I confirm that it is fixed with the new version.

@laedit laedit closed this as completed Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants