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

ansible-content-parser fails with ModuleNotFoundError #45

Open
TamiTakamiya opened this issue Jan 28, 2025 · 1 comment
Open

ansible-content-parser fails with ModuleNotFoundError #45

TamiTakamiya opened this issue Jan 28, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@TamiTakamiya
Copy link
Contributor

A newly installed ansible-content-parser (attempted on 2025-01-27) failed to run with ModuleNotFoundError. From the error message, it seems to be an issue related to newer versions of ansible-lint.

$ ansible-content-parser
Traceback (most recent call last):
  File "/var/tmp/work/work/venv/bin/ansible-content-parser", line 5, in <module>
    from ansible_content_parser.__main__ import main
  File "/var/tmp/work/work/venv/lib64/python3.11/site-packages/ansible_content_parser/__main__.py", line 30, in <module>
    from .lint import ansiblelint_main
  File "/var/tmp/work/work/venv/lib64/python3.11/site-packages/ansible_content_parser/lint.py", line 28, in <module>
    from ansiblelint.color import (
ModuleNotFoundError: No module named 'ansiblelint.color'
@TamiTakamiya TamiTakamiya added the bug Something isn't working label Jan 28, 2025
@TamiTakamiya
Copy link
Contributor Author

#46 was opened to fix this issue temporarily by pinning ansible-lint and ansible-compat to version 24.10.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant