Traceback (most recent call last):


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/bin/sam", line 8, in <module>

sys.exit(cli())


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/click/core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/click/core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/click/decorators.py", line 64, in new_func

return ctx.invoke(f, obj, *args, **kwargs)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/samcli/lib/telemetry/metrics.py", line 93, in wrapped

raise exception
# pylint: disable=raising-bad-type


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/samcli/lib/telemetry/metrics.py", line 62, in wrapped

return_value = func(*args, **kwargs)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/samcli/commands/local/invoke/cli.py", line 82, in cli

parameter_overrides,


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/samcli/commands/local/invoke/cli.py", line 151, in do_cli

context.function_name, event=event_data, stdout=context.stdout, stderr=context.stderr


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/samcli/commands/local/lib/local_lambda.py", line 97, in invoke

self.local_runtime.invoke(config, event, debug_context=self.debug_context, stdout=stdout, stderr=stderr)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/samcli/local/lambdafn/runtime.py", line 83, in invoke

self._container_manager.run(container)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/samcli/local/docker/manager.py", line 95, in run

container.start(input_data=input_data)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/samcli/local/docker/container.py", line 189, in start

real_container.start()


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/docker/models/containers.py", line 400, in start

return self.client.api.start(self.id, **kwargs)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/docker/utils/decorators.py", line 19, in wrapped

return f(self, resource_id, *args, **kwargs)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/docker/api/container.py", line 1095, in start

self._raise_for_status(res)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/docker/api/client.py", line 263, in _raise_for_status

raise create_api_error_from_http_exception(e)


 "/home/**redacted**/.local/share/virtualenvs/**redacted**-XSNsCDE1/lib/python3.7/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception

raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 400 Client Error: Bad Request ("OCI runtime create failed: container_linux.go:346: starting container process caused "chdir to cwd (\"/var/task\") set in config.json failed: permission denied": unknown")

Traceback (most recent call last):


 "...\Generator.py", line 36, in getModel

mmA.model_from_file(filePath, encoding='iso-8859-1')


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\metamodel.py", line 505, in model_from_file

return self.internal_model_from_file(file_name, encoding, debug)


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\metamodel.py", line 542, in internal_model_from_file

is_main_model=is_main_model)


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\model.py", line 260, in get_model_from_file

is_main_model=is_main_model)


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\model.py", line 285, in get_model_from_str

is_main_model=is_main_model)


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\model.py", line 614, in parse_tree_to_objgraph

scope_provider.load_models(model)


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\scoping\providers.py", line 297, in load_models

self._load_referenced_models(model)


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\scoping\providers.py", line 282, in _load_referenced_models

filename_pattern, model=model, glob_args=self.glob_args)


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\scoping\__init__.py", line 159, in load_models_using_filepattern

self.load_model(the_metamodel, filename, is_main_model))


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\scoping\__init__.py", line 213, in load_model

is_main_model=is_main_model)


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\metamodel.py", line 542, in internal_model_from_file

is_main_model=is_main_model)


 "...\Python\Python37\lib\site-packages\textx-1.7.1-py3.7.egg\textx\model.py", line 255, in get_model_from_file

model_str = f.read()


 "...\Python\Python37\lib\codecs.py", line 708, in read

return self.reader.read(size)


 "...\Python\Python37\lib\codecs.py", line 504, in read

newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 4121: invalid start byte
