Unable to put a local __init__.py on a S3 location
See original GitHub issueTrying to run the following
import s3fs
s3 = s3fs.S3FileSystem()
s3.put("./foo/__init__.py", "mybucket/__init__.py")
yields the error:
ClientError: An error occurred (MalformedXML) when calling the CompleteMultipartUpload operation: The XML you provided was not well-formed or did not validate against our published schema
Is it a bug or am I missing something?
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Unable to put a local __init__.py on a S3 location #221 - GitHub
Trying to run the following import s3fs s3 = s3fs.S3FileSystem() s3.put("./foo/__init__.py", "mybucket/__init__.py") yields the error: ...
Read more >Not able to import module from other directory in Python 3.7.1
Im a s3 util! Im a tableau util! If you don't want to put the test.py in another folder you can simply keep...
Read more >Resolve "Unable to import module" errors from Python ...
I receive an "Unable to import module" error when I try to run my AWS Lambda code in Python. How do I resolve...
Read more >Understanding Python imports, __init__.py and pythonpath
We can turn this directory into a package by introducing __init__.py file within utils folder. Within __init__.py , we import all the modules ......
Read more >CDK for Terraform (CDKTF) on AWS: How to Configure an S3 ...
Initializing first CDKTF project using Python template and local backend. ... Note, we can't delete a non-empty S3 unless we add ...
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
Is the file empty, by any chance?
So I guess this ticket can be closed, right?