-
Notifications
You must be signed in to change notification settings - Fork 434
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
sam start fails: VersionNotParseable ... sam.cmd: "TypeError: request() got an unexpected keyword argument 'chunked'" #3524
Comments
What does this print if you run it from your terminal:
|
is this because of docker desktop 4.20.0 ??? |
Seems like the If |
Already tried this (repairing and deinstall->install) (helped last time I had probs with aws sam): but no change. |
I tried with the most recent nightly build of SAM CLI; same behavior. My Docker Desktop is 4.14 |
This appears to be related: |
I can report that rolling back to SAM 1.84.0 solves the problem for me, both sam --info and the AWS extension for VS Code. |
downgrade of sam to 1.84.0 as workaround helped |
Thanks for the followup! Based on aws/aws-sam-cli#5243 , this should be fixed in the next release of sam cli. |
Problem
Steps to reproduce the issue
Expected behavior
SAM build app and starts it
but fails with:
2023-06-05 18:42:59 [ERROR]: log level: info
2023-06-05 18:42:59 [INFO]: endpoints: retrieving AWS endpoints data
2023-06-05 18:42:59 [INFO]: OS: Windows_NT x64 10.0.19045
2023-06-05 18:42:59 [INFO]: Visual Studio Code extension host: 1.78.2
2023-06-05 18:42:59 [INFO]: AWS Toolkit: 1.76.0
2023-06-05 18:42:59 [INFO]: node: 16.17.1
2023-06-05 18:42:59 [INFO]: electron: 22.5.2
2023-06-05 18:42:59 [INFO]: telemetry cache not found: 'c:\Users%USER%\AppData\Roaming\Code\User\globalStorage\amazonwebservices.aws-toolkit-vscode\telemetryCache'
2023-06-05 18:45:22 [WARN]: samCliLocator: found invalid SAM CLI (VersionNotParseable): C:\Program Files\Amazon\AWSSAMCLI\bin\sam.cmd
2023-06-05 18:45:24 [WARN]: samCliLocator: found invalid SAM CLI (VersionNotParseable): C:\Program Files\Amazon\AWSSAMCLI\bin\sam.cmd
2023-06-05 18:45:24 [INFO]: SAM CLI location (version: undefined): undefined
2023-06-05 18:45:24 [ERROR]: SamLaunchRequestError: SAM CLI was not found [MissingSamCli]
System details (run the
AWS: About Toolkit
command)OS: Windows_NT x64 10.0.19045
Visual Studio Code extension host: 1.78.2
AWS Toolkit: 1.76.0
node: 16.17.1
electron: 22.5.2
sam is SAM CLI, version 1.85.0
The text was updated successfully, but these errors were encountered: