Comments (6)
As seen from aws-cli
:
2016-01-14 10:00:19,170 - MainThread - botocore.endpoint - DEBUG - Sending http request: <PreparedRequest [HEAD]>
2016-01-14 10:00:19,171 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1): s3
2016-01-14 10:00:19,184 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - DEBUG - "HEAD /s3/mytestbucket/newfile HTTP/1.1" 200 0
2016-01-14 10:00:19,185 - MainThread - botocore.parsers - DEBUG - Response headers: {'content-length': '0', 'server': '6a02b91e2db8 (scireum SIRIUS - powered by Netty)', 'connection': 'keep-alive', 'etag': '249C850F62EA50FEB918B095FC56D763', 'p3p': 'CP="This site does not have a p3p policy."', 'content-md5': 'JJyFD2LqUP65GLCV/FbXYw==', 'content-type': 'text/plain'}
2016-01-14 10:00:19,185 - MainThread - botocore.parsers - DEBUG - Response body:
2016-01-14 10:00:19,186 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.HeadObject: calling handler <botocore.retryhandler.RetryHandler object at 0x7f47e835d090>
2016-01-14 10:00:19,186 - MainThread - botocore.retryhandler - DEBUG - No retry needed.
2016-01-14 10:00:19,187 - MainThread - botocore.hooks - DEBUG - Event after-call.s3.HeadObject: calling handler <function enhance_error_msg at 0x7f47e89d4b90>
2016-01-14 10:00:19,187 - MainThread - botocore.hooks - DEBUG - Event after-call.s3.HeadObject: calling handler <awscli.errorhandler.ErrorHandler object at 0x7f47e89a1290>
2016-01-14 10:00:19,187 - MainThread - awscli.errorhandler - DEBUG - HTTP Response Code: 200
2016-01-14 10:00:19,187 - MainThread - awscli.customizations.s3.s3handler - DEBUG - Exception caught during task execution: 'LastModified'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/awscli/customizations/s3/s3handler.py", line 101, in call
total_files, total_parts = self._enqueue_tasks(files)
File "/usr/lib/python2.7/site-packages/awscli/customizations/s3/s3handler.py", line 179, in _enqueue_tasks
for filename in files:
File "/usr/lib/python2.7/site-packages/awscli/customizations/s3/fileinfobuilder.py", line 31, in call
for file_base in files:
File "/usr/lib/python2.7/site-packages/awscli/customizations/s3/filegenerator.py", line 142, in call
for src_path, extra_information in file_iterator:
File "/usr/lib/python2.7/site-packages/awscli/customizations/s3/filegenerator.py", line 314, in list_objects
yield self._list_single_object(s3_path)
File "/usr/lib/python2.7/site-packages/awscli/customizations/s3/filegenerator.py", line 362, in _list_single_object
last_update = parse(response['LastModified'])
KeyError: 'LastModified'
from s3ninja.
Yeah, the Response
class needs a way to pull out the headers it would set from the file without actually sending the file. It looks non-terrible to implement; see here
from s3ninja.
A pull request would be very welcome ;-)
from s3ninja.
Sorry for not getting back earlier. Could you please upgrade the version as mentioned in my PR comment?
from s3ninja.
@sabieber I am the author of the issue, but not the author of the PR, so unless I open a new PR and cherry-pick the commit, I can't
from s3ninja.
Is there anything else that needs be done in order to merge the PR?
from s3ninja.
Related Issues (20)
- Use of string instead of byte[] HOT 4
- A Lack of Host Dir/File Write Permission Behaviors Need Improvements
- Connect Airflow to S3Ninja
- pthread_create failed (EPERM) when I try to start version 8.0.0 and latest from docker-compose HOT 14
- Address Not Found HOT 3
- upload files with cotntent_type zip and filename without zip give a .zip HOT 2
- Content-Length is empty on HEAD HOT 2
- Compatibility with Kubernetes
- Closing a multipart upload without uploading any data does not error out
- ListObjectsV2Response.keyCount is always null HOT 2
- Bad Request status returned from Delete HOT 1
- Adding folders to UI HOT 7
- Search functionality is not working for filenames that require URL encoding HOT 1
- Hangs on parsing the Body HOT 4
- Copy from S3 to S3 fails HOT 4
- s3ninja should report errors if it can't write to disk HOT 1
- Is it possible to change configure a different Access Key and Secret Key? HOT 3
- All Rejected after updating AwsSdk.S3 library HOT 6
- BucketAlreadyOwnedByYouException raised when trying to recreate an already existing bucket
- Virtual host address support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3ninja.