Traceback (most recent call last):


 "/Users/martin/.venv/nikola-dev/lib/python3.7/site-packages/yapsy/PluginManager.py", line 518, in loadPlugins

candidate_module = PluginManager._importModule(plugin_module_name, candidate_filepath)


 "/Users/martin/.venv/nikola-dev/lib/python3.7/site-packages/yapsy/PluginManager.py", line 581, in _importModule

candidate_module = imp.load_module(plugin_module_name,None,candidate_filepath,("py","r",imp.PKG_DIRECTORY))


 "/usr/local/Cellar/python/3.7.8/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 244, in load_module

return load_package(name, filename)


 "/usr/local/Cellar/python/3.7.8/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 216, in load_package

return _load(spec)


 "<frozen importlib._bootstrap>", line 696, in _load


 "<frozen importlib._bootstrap>", line 677, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/Users/martin/Projects/nikola/nikola/plugins/command/auto/__init__.py", line 479, in <module>

class IndexHtmlStaticResource(StaticResource):


 "/Users/martin/Projects/nikola/nikola/plugins/command/auto/__init__.py", line 491, in IndexHtmlStaticResource

async def _handle(self, request: web.Request) -> web.Response:
AttributeError: 'NoneType' object has no attribute 'Request'

Traceback (most recent call last):


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2446, in wsgi_app

response = self.full_dispatch_request()


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1951, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/local/lib/python3.8/site-packages/flask_restful/__init__.py", line 272, in error_router

return original_handler(e)


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1820, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1947, in full_dispatch_request

rv = self.preprocess_request()


 "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2241, in preprocess_request

rv = func()


 "/dashmachine/dashmachine/main/routes.py", line 45, in check_valid_login

request.endpoint.startswith("static"),
AttributeError: 'NoneType' object has no attribute 'startswith'
