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
UnboundLocalError: local variable 'conn' referenced before assignment #712
Comments
Just to provide a bit more background: the latest fix special-cased The fix I propose in #714 generalizes the special-case for |
How is that different than --no-check-certificate?
|
If you're using, say, The fix in #714 applies the same principle to all buckets with Note that this failure requires a "modern" python to reproduce correctly, such as that included in EL7.2. |
I should also point out that the certificates are actually still being checked, it's only the match against a wildcard certificate that is being relaxed (in the same way as has previously been relaxed for |
@ianbytchek: I've (finally!) found a moment to respond. Sorry for delay. If you have any suggestions or input that will harden up this change, please also comment in #714. |
Certificate issues should be completely resolved in the latest master I hope, don't hesitate to give it a try and re-open in case of issue. |
I have a problem when working with:
Problem does not occur with:
This is with Dreamhost Dreamobjects, and have not tried with Amazon S3.
All with the same config file:
On the CentOS 7.x machine, when running:
I get (replaced personal info):
So I try instead:
And I get:
Looks like problem may be related to this though I don't know how to reopen a closed issue.
I'm using
s3cmd version 1.6.1
I also tried a few older versions, but with no success.
All works fine with Centos 6.x and Python 2.6
It use to work on my CentOS 7 machines, but stopped working some time after mid December 2015 for some reason, probably after certain distro updates.
Any help would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: