Each time I run the command, these two phases alternate.
Daemon crashed!
Traceback (most recent call last):
File "mypy/dmypy_server.py", line 227, in serve
File "mypy/dmypy_server.py", line 270, in run_command
File "mypy/dmypy_server.py", line 336, in cmd_run
File "mypy/dmypy_server.py", line 405, in check
File "mypy/dmypy_server.py", line 589, in fine_grained_increment_follow_imports
File "mypy/server/update.py", line 277, in update
File "mypy/server/update.py", line 862, in propagate_changes_using_dependencies
File "mypy/server/update.py", line 996, in reprocess_nodes
File "mypy/server/astmerge.py", line 140, in merge_asts
File "mypy/server/astmerge.py", line 192, in replace_nodes_in_ast
File "mypy/nodes.py", line 374, in accept
File "mypy/server/astmerge.py", line 213, in visit_mypy_file
File "mypy/traverser.py", line 114, in visit_mypy_file
File "mypy/nodes.py", line 1127, in accept
File "mypy/server/astmerge.py", line 238, in visit_class_def
File "mypy/server/astmerge.py", line 393, in process_synthetic_type_info
File "mypy/nodes.py", line 208, in accept
RuntimeError: Not implemented
Unfortunately I cannot share code for now, I will try to make a reproducible example later. For now I post this error to see if someone can direct me to further steps to better understand the root of the problem or point out trivial mistakes or misconfigurations.
Crash Report
I saw this crash when using Mypy extension for VS Code, but it is reproducible in my code base even from command line by directly invoking
dmypyas a module. The crash is in two phases:Found 238 errors in 46 files (checked 1125 source files), then the deamon exits (I don't know if exiting in this situation is the expected behaviour).Each time I run the command, these two phases alternate.
Traceback
To Reproduce
Unfortunately I cannot share code for now, I will try to make a reproducible example later. For now I post this error to see if someone can direct me to further steps to better understand the root of the problem or point out trivial mistakes or misconfigurations.
Your Environment
mypy.ini(and other config files):