Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upload to s3 in 0.1.12 #53

Open
srose4 opened this issue Nov 9, 2016 · 0 comments
Open

Cannot upload to s3 in 0.1.12 #53

srose4 opened this issue Nov 9, 2016 · 0 comments

Comments

@srose4
Copy link

srose4 commented Nov 9, 2016

In my code I have the two lines below. My code has been working fine with versions <= 0.1.11 The code fails on the upload with version 0.1.12 The error raised is below.

c = tinys3.Connection(...)
c.upload(...)

conn.upload(key, uploadFile, bucketpath)
File "/usr/lib/python2.7/site-packages/tinys3-0.1.12-py2.7.egg/tinys3/connection.py", line 171, in upload
return self.run(r)
File "/usr/lib/python2.7/site-packages/tinys3-0.1.12-py2.7.egg/tinys3/connection.py", line 262, in run
return self._handle_request(request)
File "/usr/lib/python2.7/site-packages/tinys3-0.1.12-py2.7.egg/tinys3/connection.py", line 356, in _handle_request
return request.run()
File "/usr/lib/python2.7/site-packages/tinys3-0.1.12-py2.7.egg/tinys3/request_factory.py", line 346, in run
auth=self.auth)
File "/usr/lib/python2.7/site-packages/requests-2.11.1-py2.7.egg/requests/api.py", line 123, in put
return request('put', url, data=data, **kwargs)
File "/usr/lib/python2.7/site-packages/requests-2.11.1-py2.7.egg/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests-2.11.1-py2.7.egg/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests-2.11.1-py2.7.egg/requests/sessions.py", line 596, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests-2.11.1-py2.7.egg/requests/adapters.py", line 473, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant