question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v 0.23.1: module cfnlint.core has no attribute CfnLintExitException

See original GitHub issue

Steps to reproduce:

pip install cfn-lint
cfn-lint --help

CFNLint version:

 ~  pip search cfn-lint | head -n 2
cfn-lint (0.23.1)                                        - checks cloudformation for practices and behaviour         that could potentially be improved
  INSTALLED: 0.23.1 (latest)
 ~  cfn-lint --help
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/cfnlint/__main__.py", line 28, in main
    (args, filenames, formatter) = cfnlint.core.get_args_filenames(sys.argv[1:])
AttributeError: module 'cfnlint.core' has no attribute 'get_args_filenames'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/cfn-lint", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/cfnlint/__main__.py", line 46, in main
    except cfnlint.core.CfnLintExitException as e:
AttributeError: module 'cfnlint.core' has no attribute 'CfnLintExitException'

Python version: Python 3.7.4

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
andrew-glenncommented, Sep 18, 2019

@domino14 I installed the wrong python package.

1reaction
andrew-glenncommented, Aug 8, 2019

After ☕ ☕ and digging further, I had residual package artifacts floating around. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

v 0.23.1: module cfnlint.core has no attribute ... - GitHub
After ☕ ☕ and digging further, I had residual package artifacts floating around. Closing. 1
Read more >
cfn-lint failing while validating Cloudformation templates
It is was not related to the stack template itself as I was getting the issue when executing cfn-lint --version .
Read more >
cfn-lint - PyPI
Checks CloudFormation templates for practices and behaviour that could potentially be improved.
Read more >
With cfn-lint - Serverless Rules
You can use the cfn-lint module with all frameworks that synthesize to a CloudFormation template, such as the AWS Cloud Development Kit (CDK)...
Read more >
cfn-lint Changelog - pyup.io
- Fixes an issue where Template.get_values would return `Ref: AWS::NoValue`. This will no longer be returned as it is considered to be a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found