Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while doing sam build #2

Open
sshrma opened this issue Nov 13, 2020 · 0 comments
Open

Issue while doing sam build #2

sshrma opened this issue Nov 13, 2020 · 0 comments

Comments

@sshrma
Copy link

sshrma commented Nov 13, 2020

$ sam build
Traceback (most recent call last):
File "/usr/local/bin/sam", line 11, in
sys.exit(cli())
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/samcli/lib/telemetry/metrics.py", line 148, in wrapped
raise exception # pylint: disable=raising-bad-type
File "/usr/local/lib/python3.7/dist-packages/samcli/lib/telemetry/metrics.py", line 114, in wrapped
return_value = func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/samcli/commands/local/start_api/cli.py", line 88, in cli
parameter_overrides,
File "/usr/local/lib/python3.7/dist-packages/samcli/commands/local/start_api/cli.py", line 114, in do_cli
from samcli.commands.local.cli_common.invoke_context import InvokeContext
File "/usr/local/lib/python3.7/dist-packages/samcli/commands/local/cli_common/invoke_context.py", line 12, in
from samcli.commands.local.lib.local_lambda import LocalLambdaRunner
File "/usr/local/lib/python3.7/dist-packages/samcli/commands/local/lib/local_lambda.py", line 11, in
from samcli.local.docker.container import ContainerResponseException
File "/usr/local/lib/python3.7/dist-packages/samcli/local/docker/container.py", line 11, in
import docker
File "/usr/local/lib/python3.7/dist-packages/docker/init.py", line 2, in
from .api import APIClient
File "/usr/local/lib/python3.7/dist-packages/docker/api/init.py", line 2, in
from .client import APIClient
File "/usr/local/lib/python3.7/dist-packages/docker/api/client.py", line 10, in
from .build import BuildApiMixin
File "/usr/local/lib/python3.7/dist-packages/docker/api/build.py", line 6, in
from .. import auth
File "/usr/local/lib/python3.7/dist-packages/docker/auth.py", line 9, in
from .utils import config
File "/usr/local/lib/python3.7/dist-packages/docker/utils/init.py", line 3, in
from .decorators import check_resource, minimum_version, update_headers
File "/usr/local/lib/python3.7/dist-packages/docker/utils/decorators.py", line 4, in
from . import utils
File "/usr/local/lib/python3.7/dist-packages/docker/utils/utils.py", line 13, in
from .. import tls
File "/usr/local/lib/python3.7/dist-packages/docker/tls.py", line 5, in
from .transport import SSLHTTPAdapter
File "/usr/local/lib/python3.7/dist-packages/docker/transport/init.py", line 11, in
from .sshconn import SSHHTTPAdapter
File "/usr/local/lib/python3.7/dist-packages/docker/transport/sshconn.py", line 1, in
import paramiko
File "/usr/lib/python3/dist-packages/paramiko/init.py", line 30, in
from paramiko.transport import SecurityOptions, Transport
File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 66, in
from paramiko.sftp_client import SFTPClient
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line 41, in
from paramiko.sftp_file import SFTPFile
File "/usr/lib/python3/dist-packages/paramiko/sftp_file.py", line 66
self._close(async=True)
^
SyntaxError: invalid syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant