Exception ignored in: <async_generator object _ag at 0x7f9979703938>
amal-khailtash opened this issue · comments
Trying to collect type annotations, but I get this exception
Exception ignored in: <async_generator object _ag at 0x7f9979703938>
Traceback (most recent call last):
File ".../python/3.6.3/lib/python3.6/types.py", line 27, in _ag
File ".../.venv/lib/python3.6/site-packages/pyannotate_runtime/collect_types.py", line 752, in _trace_dispatch
File ".../.venv/lib/python3.6/site-packages/pyannotate_runtime/collect_types.py", line 698, in default_filter_filename
TypeError: startswith first arg must be str or a tuple of str, not NoneType
Is the code you are trying to run public?
…On Dec 4, 2017 7:03 AM, "Amal Khailtash" ***@***.***> wrote:
Trying to collect type annotations, but I get this exception
Exception ignored in: <async_generator object _ag at 0x7f9979703938>
Traceback (most recent call last):
File ".../python/3.6.3/lib/python3.6/types.py", line 27, in _ag
File ".../.venv/lib/python3.6/site-packages/pyannotate_runtime/collect_types.py",
line 752, in _trace_dispatch
File ".../.venv/lib/python3.6/site-packages/pyannotate_runtime/collect_types.py",
line 698, in default_filter_filename
TypeError: startswith first arg must be str or a tuple of str, not NoneType
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACwrMih3sJRiyrKxgrvYuOXa_3nzkaX0ks5s9AmhgaJpZM4Q0ydT>
.
Unfortunately it is not. I might be able to share snippets, but not sure what to capture.
Hm, it sounds like it's possible for a code object to have None for a
filename. I'll think of a fix for that.