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

get_versioned_url fails without a dedicated provider/authenticator #4984

Closed
yarikoptic opened this issue Oct 5, 2020 · 1 comment
Closed
Assignees

Comments

@yarikoptic
Copy link
Member

$> python -c 'from datalad.support.s3 import get_versioned_url; print(get_versioned_url("https://dandiarchive.s3.amazonaws.com/girder-assetstore/74/0f/740feade0d784acc8ec76bb7834d80dc"))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/yoh/proj/datalad/datalad-maint/datalad/support/s3.py", line 486, in get_versioned_url
    if s3provider.authenticator.bucket is not None and s3provider.authenticator.bucket.name == s3_bucket:
AttributeError: 'NoneType' object has no attribute 'bucket'
@yarikoptic
Copy link
Member Author

ha -- forgot Closes statement, fixed by #4985 into maint

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