Hi, I have an issue in prefect 2.7.7, when trying to deploy a flow using an S3Bucket block:
Copy code
deployment build deployment_utils/maintenance.py:maintenance -n maintenance/maintenance -sb s3-bucket/<my_s3_bucket_block_name> -a
f"Successfully uploaded {file_count} files to {deployment.location}",
if not self.storage.basepath.endswith("/")
AttributeError: 'NoneType' object has no attribute 'endswith'
I tried also providing a basepath to the S3, and get a similar error.
Copy code
AttributeError: 'PosixPath' object has no attribute 'endswith'
Files are uploaded to S3, but this error is raised.
Anyone know what could be the issue?
j
Jeff Hale
01/10/2023, 1:06 PM
Hi Tibs. I bumped into this issue over the weekend and have asked the engineering team about it. Will let you know what I find out.
👍 1
a
Andrew Huang
01/11/2023, 12:22 AM
Did you still have issues with this after upgrading to latest prefect-aws?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.