Open wallyhall opened 3 years ago
i have the same problem this is my output : Driver name null or not found ('NoneType' object has no attribute 'astimezone') please tell me if you find solution
I did locate the cause of boto3
not returning the creation_date
. I wouldn't call it a fix per se - more of a workaround.
Granting additional permissions to the IAM made the symptom go away:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "xxxxxxxxxxxx",
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::*"
},
{
"Sid": "xxxxxxxxxxxx",
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "*"
}
]
}
thank you, that's work fine now 👍
Steps to reproduce:
We have an S3 bucket (which, if relevant, displays a created date in the AWS console) which we are simply trying to access via StorageCloud:
This throws an exception, which appears to be due to boto3 returning
None
for thecreation_date
attribute on the bucket:Debugging and stepping into CloudStorage confirms the
creation_date
returned by boto3 isNone
.Is it possible to handle this more gracefully, perhaps by just copying the
None
rather than assuming it's a validDateTime
?