Traceback (most recent call last):


 "bin/docker-compose", line 6, in <module>


 "compose/cli/main.py", line 71, in main


 "compose/cli/main.py", line 127, in perform_command


 "compose/cli/main.py", line 1106, in up


 "compose/cli/main.py", line 1102, in up


 "compose/project.py", line 570, in up


 "compose/parallel.py", line 112, in parallel_execute


 "compose/parallel.py", line 210, in producer


 "compose/project.py", line 556, in do


 "compose/service.py", line 568, in execute_convergence_plan


 "compose/service.py", line 510, in _execute_convergence_start


 "compose/parallel.py", line 112, in parallel_execute


 "compose/parallel.py", line 210, in producer


 "compose/service.py", line 508, in <lambda>


 "compose/service.py", line 620, in start_container_if_stopped


 "compose/service.py", line 627, in start_container
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/app.py", line 2464, in __call__

return self.wsgi_app(environ, start_response)


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/app.py", line 2450, in wsgi_app

response = self.handle_exception(e)


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/app.py", line 1867, in handle_exception

reraise(exc_type, exc_value, tb)


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/app.py", line 1952, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/app.py", line 1821, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/app.py", line 1950, in full_dispatch_request

rv = self.dispatch_request()


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/app.py", line 1936, in dispatch_request

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


 "/Users/XD/Desktop/flask_temp/app.py", line 11, in hello_world

return render_template("index.html", data=data)


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/templating.py", line 140, in render_template

ctx.app,


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/templating.py", line 120, in _render

rv = template.render(context)


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/jinja2/environment.py", line 1090, in render

self.environment.handle_exception()


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/jinja2/environment.py", line 832, in handle_exception

reraise(*rewrite_traceback_stack(source=source))


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/jinja2/_compat.py", line 28, in reraise

raise value.with_traceback(tb)


 "/Users/XD/Desktop/flask_temp/templates/index.html", line 4, in top-level template code

const a = {{ data|tojson }};


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/json/__init__.py", line 376, in tojson_filter

return Markup(htmlsafe_dumps(obj, **kwargs))


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/json/__init__.py", line 290, in htmlsafe_dumps

dumps(obj, **kwargs)


 "/Users/XD/Library/Python/3.7/lib/python/site-packages/flask/json/__init__.py", line 211, in dumps

rv = _json.dumps(obj, **kwargs)


 "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 238, in dumps

**kw).encode(obj)


 "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)
TypeError: '<' not supported between instances of 'NoneType' and 'str'
