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

Getting ZlibError: zlib: unexpected end of file in cdk synth and cdk deploy for 305 chapter #1

Open
jayeshgar opened this issue May 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@jayeshgar
Copy link

Describe the bug
I am getting the below error when I tried to execute the receipe from CloudShell. Previously it was working fine for me.

Traceback (most recent call last):
File "app.py", line 4, in
import aws_cdk as cdk
File "/home/cloudshell-user/Storage/305-Configuring-Application-Specific-Access-to-S3/cdk-AWS-Cookbook-305/.venv/lib64/python3.7/site-packages/aws_cdk/init.py", line 952, in
from ._jsii import *
File "/home/cloudshell-user/Storage/305-Configuring-Application-Specific-Access-to-S3/cdk-AWS-Cookbook-305/.venv/lib64/python3.7/site-packages/aws_cdk/_jsii/init.py", line 14, in
"aws-cdk-lib", "2.0.0-rc.7", name[0:-6], "aws-cdk-lib@2.0.0-rc.7.jsii.tgz"
File "/home/cloudshell-user/Storage/305-Configuring-Application-Specific-Access-to-S3/cdk-AWS-Cookbook-305/.venv/lib64/python3.7/site-packages/jsii/_runtime.py", line 43, in load
_kernel.load(assembly.name, assembly.version, os.fspath(assembly_path))
File "/home/cloudshell-user/Storage/305-Configuring-Application-Specific-Access-to-S3/cdk-AWS-Cookbook-305/.venv/lib64/python3.7/site-packages/jsii/_kernel/init.py", line 269, in load
self.provider.load(LoadRequest(name=name, version=version, tarball=tarball))
File "/home/cloudshell-user/Storage/305-Configuring-Application-Specific-Access-to-S3/cdk-AWS-Cookbook-305/.venv/lib64/python3.7/site-packages/jsii/_kernel/providers/process.py", line 338, in load
return self._process.send(request, LoadResponse)
File "/home/cloudshell-user/Storage/305-Configuring-Application-Specific-Access-to-S3/cdk-AWS-Cookbook-305/.venv/lib64/python3.7/site-packages/jsii/_kernel/providers/process.py", line 326, in send
raise JSIIError(resp.error) from JavaScriptError(resp.stack)
jsii.errors.JSIIError: zlib: unexpected end of file

Subprocess exited with error 1

@jayeshgar jayeshgar added the bug Something isn't working label May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant