Traceback (most recent call last):


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/werkzeug/serving.py", line 304, in run_wsgi

execute(self.server.app)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/werkzeug/serving.py", line 292, in execute

application_iter = app(environ, start_response)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/moto/server.py", line 135, in __call__

return backend_app(environ, start_response)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/app.py", line 2309, in __call__

return self.wsgi_app(environ, start_response)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/app.py", line 2295, in wsgi_app

response = self.handle_exception(e)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/app.py", line 1741, in handle_exception

reraise(exc_type, exc_value, tb)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise

raise value


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app

response = self.full_dispatch_request()


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise

raise value


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request

rv = self.dispatch_request()


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/moto/core/utils.py", line 146, in __call__

result = self.callback(request, request.url, {})


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/moto/core/responses.py", line 197, in dispatch

return cls()._dispatch(*args, **kwargs)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/moto/core/responses.py", line 295, in _dispatch

return self.call_action()


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/moto/core/responses.py", line 380, in call_action

response = method()


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/moto/cloudformation/responses.py", line 230, in list_stack_resources

resources = self.cloudformation_backend.list_stack_resources(stack_name_or_id)


 "/opt/code/localstack/.venv/lib/python3.7/site-packages/moto/cloudformation/models.py", line 681, in list_stack_resources

return stack.stack_resources
AttributeError: 'NoneType' object has no attribute 'stack_resources'

Traceback (most recent call last):

 "/usr/bin/xonsh", line 9, in <module>
load_entry_point('xonsh==0.3.3', 'console_scripts', 'xonsh')()

 "/usr/lib/python3.5/site-packages/xonsh/main.py", line 247, in main
run_script_with_cache(args.file, shell.execer, glb=shell.ctx, loc=None, mode='exec')

 "/usr/lib/python3.5/site-packages/xonsh/codecache.py", line 135, in run_script_with_cache
ccode = compile_code(filename, code, execer, glb, loc, mode)

 "/usr/lib/python3.5/site-packages/xonsh/codecache.py", line 96, in compile_code
ccode = execer.compile(code, glbs=glb, locs=loc, mode=mode)

 "/usr/lib/python3.5/site-packages/xonsh/execer.py", line 100, in compile
tree = self.parse(input, ctx, mode=mode, wrap_subprocs=wrap_subprocs)

 "/usr/lib/python3.5/site-packages/xonsh/execer.py", line 72, in parse
tree, input = self._parse_ctx_free(input, mode=mode)

 "/usr/lib/python3.5/site-packages/xonsh/execer.py", line 205, in _parse_ctx_free
raise original_error

 "/usr/lib/python3.5/site-packages/xonsh/execer.py", line 147, in _parse_ctx_free
debug_level=(self.debug_level > 1))

 "/usr/lib/python3.5/site-packages/xonsh/parsers/base.py", line 289, in parse
tree = self.parser.parse(input=s, lexer=self.lexer, debug=debug_level)

 "/usr/lib/python3.5/site-packages/ply/yacc.py", line 331, in parse
return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)

 "/usr/lib/python3.5/site-packages/ply/yacc.py", line 1181, in parseopt_notrack
tok = call_errorfunc(self.errorfunc, errtoken, self)

 "/usr/lib/python3.5/site-packages/ply/yacc.py", line 193, in call_errorfunc
r = errorfunc(token)

 "/usr/lib/python3.5/site-packages/xonsh/parsers/base.py", line 2326, in p_error
self.xonsh_code)

 "/usr/lib/python3.5/site-packages/xonsh/parsers/base.py", line 390, in _parse_error
raise errSyntaxError: /home/cryzed/bin/restart-plasmashell:8:12: ('code: plasmashell',)