Traceback (most recent call last):


 "/usr/lib/python3.8/site-packages/werkzeug/serving.py", line 323, in run_wsgi

execute(self.server.app)


 "/usr/lib/python3.8/site-packages/werkzeug/serving.py", line 312, in execute

application_iter = app(environ, start_response)


 "/usr/lib/python3.8/site-packages/moto/server.py", line 166, in __call__

backend_app = self.get_application(environ)


 "/usr/lib/python3.8/site-packages/moto/server.py", line 130, in get_application

host = environ["HTTP_HOST"].split(":")[0]
KeyError: 'HTTP_HOST'

Traceback (most recent call last):


 "/home/user/projects/pyscaffold/env/bin/putup", line 11, in <module>

load_entry_point('PyScaffold', 'console_scripts', 'putup')()


 "/home/user/projects/pyscaffold/src/pyscaffold/shell.py", line 74, in func_wrapper

func(*args, **kwargs)


 "/home/user/projects/pyscaffold/src/pyscaffold/utils.py", line 159, in func_wrapper

func(*args, **kwargs)


 "/home/user/projects/pyscaffold/src/pyscaffold/cli.py", line 206, in run

main(sys.argv[1:])


 "/home/user/projects/pyscaffold/src/pyscaffold/cli.py", line 199, in main

opts['command'](opts)


 "/home/user/projects/pyscaffold/src/pyscaffold/cli.py", line 171, in run_scaffold

api.create_project(opts)


 "/home/user/projects/pyscaffold/src/pyscaffold/api/__init__.py", line 301, in create_project

return reduce(lambda acc, f: _invoke(f, *acc), actions, ({}, opts))


 "/home/user/projects/pyscaffold/src/pyscaffold/api/__init__.py", line 301, in <lambda>

return reduce(lambda acc, f: _invoke(f, *acc), actions, ({}, opts))


 "/home/user/projects/pyscaffold/src/pyscaffold/api/__init__.py", line 319, in _invoke

struct, opts = action(struct, opts)


 "/home/user/projects/pyscaffold/src/pyscaffold/extensions/namespace.py", line 115, in add_namespace

struct = base_struct[opts['project']]['src']
KeyError: 'src'
