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
Currently getting an internal error but not sure where it originated from as the line it is complaining about is -1 and the traceback doesn't give me anything to go off of. Any help on how to find the source of the problem is appreciated. How can I get a better traceback?
Traceback
$ mypy --show-traceback app/views/error.py
/app/quality_and_revenue/models/posting.py:-1: error: INTERNAL ERROR -- Please try using mypy master on Github:
https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
Please report a bug at https://github.com/python/mypy/issues
version: 0.910
Traceback (most recent call last):
File "mypy/semanal.py", line 4872, in accept
File "mypy/nodes.py", line 687, in accept
File "mypy/semanal.py", line 577, in visit_func_def
File "mypy/semanal.py", line 609, in analyze_func_def
File "mypy/semanal.py", line 4583, in defer
AssertionError: Must not defer during final iteration
/app/quality_and_revenue/models/posting.py:-1: : note: use --pdb to drop into pdb
Your Environment
Mypy version used: mypy 0.910
Python version used: Python 3.8.12
The text was updated successfully, but these errors were encountered:
Thanks for the report! mypy crashing is never your fault. I've seen some crashes like this in cases with import cycles where some imported name doesn't exist (e.g. #11064)
Crash Report
Currently getting an internal error but not sure where it originated from as the line it is complaining about is
-1
and the traceback doesn't give me anything to go off of. Any help on how to find the source of the problem is appreciated. How can I get a better traceback?Traceback
Your Environment
The text was updated successfully, but these errors were encountered: