AttributeError: module <module> has no attribute '__path__' #7592
Labels
Blocker 🙅
Blocks the next release
Crash 💥
A bug that makes pylint crash
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Milestone
Bug description
The crash gets triggered by any file that contains:
I am using
python-decouple
version 3.6.pylint crashed with a
AstroidError
and with the following stacktrace:.
************* Module square-deal-services.square_deal_app.api.views.leads_api
square_deal_app/api/views/leads_api.py:1:0: F0002: square_deal_app/api/views/leads_api.py: Fatal error while checking 'square_deal_app/api/views/leads_api.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in '/root/.cache/pylint/pylint-crash-2022-10-10-08-57-37.txt'. (astroid-error)
Configuration
No response
Command used
pylint --load-plugins pylint_django --fail-under $PYLINT_THRESHOLD --rcfile=.pylintrc square_deal_app
Pylint output
OS / Environment
Ubuntu
Additional dependencies
The text was updated successfully, but these errors were encountered: