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

convert.py requires json2html installed on Mac OS #3

Open
henrywangpuppet opened this issue Jan 15, 2021 · 1 comment
Open

convert.py requires json2html installed on Mac OS #3

henrywangpuppet opened this issue Jan 15, 2021 · 1 comment

Comments

@henrywangpuppet
Copy link

When I first run this command convert.py:

support-tooling git:(master) ./support_parse.sh modules ~/Downloads/puppet_enterprise_support_42544_int-puppetmaster-02_20201229131528.tar.gz | ./convert.py
Traceback (most recent call last):
  File "./convert.py", line 3, in <module>
    from json2html import *
ImportError: No module named json2html
couldn't create json

sudo pip install json2html can resolve the issue, this should be mentioned as a requirement.

The above command will not work. Need to save the support_parse.sh output to a json file and then feeding it to convert.py. It is working the way as documented.

@henrywangpuppet
Copy link
Author

or is it becuz I didn't install GNU coreutils?

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

1 participant