Don't swallow ClientError when bucket doesn't exist
See original GitHub issueIn smart_open.s3.BufferedOutputBase.__init__()
(lines 339-342) why does this library swallow the botocore ClientError and return a ValueError? It makes it tricky to handle the error case properly.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How can I improve my function to be more memory efficient?
I've given my Lambda 3GB RAM but the lambda is running out of memory before it can process any files (Each file is...
Read more >Metaflow/community - metaflow_org/community - Gitter
If not, it is possible that your S3 bucket is not configured properly. You can see it with metaflow configure show , line...
Read more >boto Documentation - Read the Docs
Do not validate bucket when copying a key (issue 1763, commit 5505113) ... exception if the domain you are looking for doesn't exist....
Read more >Is it possible to create a S3 Bucket in us-east-1 using AWS ...
Documentation import logging import boto3 from botocore.exceptions import ClientError def create_bucket(bucket_name, region=None): try: if region is None: ...
Read more >mongodb | Yarn - Package Manager
4.12.1 (2022-11-23). Bug Fixes. NODE-4830: lazily import aws module (#3476 (ff375e9); NODE-4831: check map value is not undefined (#3477 (9795cdb) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great! I’ll issue one as soon as I can. Thanks!
@FragLegs
This is definitely a good idea, PR are welcome!