Traceback (most recent call last):


 "/usr/local/bin/mypy", line 10, in <module>

sys.exit(console_entry())


 "/usr/local/lib/python3.6/site-packages/mypy/__main__.py", line 8, in console_entry

main(None, sys.stdout, sys.stderr)


 "/usr/local/lib/python3.6/site-packages/mypy/main.py", line 83, in main

res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 164, in build

result = _build(sources, options, alt_lib_path, flush_errors, fscache, stdout, stderr)


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 224, in _build

graph = dispatch(sources, manager, stdout)


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 2526, in dispatch

graph = load_graph(sources, manager)


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 2748, in load_graph

caller_state=st, caller_line=st.dep_line_map.get(dep, 1))


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 1772, in __init__

self.compute_dependencies()


 "/usr/local/lib/python3.6/site-packages/mypy/build.py", line 2059, in compute_dependencies

self.manager.plugin.get_additional_deps(self.tree))


 "/usr/local/lib/python3.6/site-packages/mypy/plugin.py", line 743, in get_additional_deps

deps.extend(plugin.get_additional_deps(file))


 "/usr/local/lib/python3.6/site-packages/mypy_django_plugin/main.py", line 152, in get_additional_deps

related_model_module = related_model_cls.__module__
AttributeError: 'NoneType' object has no attribute '__module__'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/lib64/pypy3/site-packages/webwhatsapi/__init__.py", line 219, in __init__

self.connect()


 "/usr/lib64/pypy3/site-packages/webwhatsapi/__init__.py", line 224, in connect

local_storage_file = os.path.join(self._profile.path, self._LOCAL_STORAGE_FILE)
AttributeError: 'NoneType' object has no attribute 'path'
