You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pylint crashed with a ``NameInferenceError`` and with the following stacktrace:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 1111, in _check_files
self._check_file(get_ast, check_astroid_module, file)
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 1146, in _check_file
check_astroid_module(ast_node)
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 1299, in check_astroid_module
ast_node, walker, rawcheckers, tokencheckers
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pylint/lint/pylinter.py", line 1345, in _check_astroid_module
walker.walk(node)
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pylint/utils/ast_walker.py", line 76, in walk
self.walk(child)
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pylint/utils/ast_walker.py", line 76, in walk
self.walk(child)
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pylint/utils/ast_walker.py", line 73, in walk
callback(astroid)
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pylint/checkers/classes/class_checker.py", line 1095, in visit_functiondef
self._check_init(node, klass)
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/pylint/checkers/classes/class_checker.py", line 2004, in _check_init
forinf_baseinbase.infer():
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 168, in infer
yield from self._infer(context=context, **kwargs)
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/astroid/decorators.py", line 136, in raise_if_nothing_inferred
yield next(generator)
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/astroid/decorators.py", line 105, in wrapped
forresin _func(node, context, **kwargs):
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/astroid/inference.py", line 213, in infer_name
name=self.name, scope=self.scope(), context=context
astroid.exceptions.NameInferenceError: '_CData' not found in<ClassDef.Union l.None at 0x7fb308fdb650>.
Expected behavior
no crash
Pylint version
python 3.7 (but also on others)
OS / Environment
Linux (on github)
Additional dependencies
see github action.
The text was updated successfully, but these errors were encountered:
Bug description
internal crash when doing a pylint run
full details here:
https://github.com/KNX-IOT/KNX-IOT-STACK/runs/5733695443?check_suite_focus=true
Configuration
Command used
Pylint output
Expected behavior
no crash
Pylint version
OS / Environment
Linux (on github)
Additional dependencies
see github action.
The text was updated successfully, but these errors were encountered: