Bug: base url with s3 failed in check_write_permissions
See original GitHub issueI have error in check_write_permissions
when set 3S target as default_output_uri
after this commit https://github.com/allegroai/clearml/commit/21712a709d052a2bd62f1324b7c1fa928dbd6ece#diff-bc25f5894da3c404d2b542d9da72ed37c7a42522b4032f2530beaf560210b653
Traceback (most recent call last):
File "/home/shm/Documents/project/CMLP/examples/./clearml_test_local.py", line 9, in <module>
task = Task.init(project_name="great project", task_name="best experiment")
File "/home/shm/Documents/project/CMLP/examples/venv/lib/python3.9/site-packages/clearml/task.py", line 602, in init
task.output_uri = cls.__default_output_uri
File "/home/shm/Documents/project/CMLP/examples/venv/lib/python3.9/site-packages/clearml/task.py", line 1084, in output_uri
helper.check_write_permissions(value)
File "/home/shm/Documents/project/CMLP/examples/venv/lib/python3.9/site-packages/clearml/storage/helper.py", line 851, in check_write_permissions
err_msg = 'Insufficient permissions ({} failed) for ' + base_url
File "/home/shm/Documents/project/CMLP/examples/venv/lib/python3.9/site-packages/clearml/utilities/proxy_object.py", line 286, in method
mtd = getattr(obj, name)
AttributeError: 'str' object has no attribute '__radd__'
It fixes with
err_msg = 'Insufficient permissions ({} failed) for ' + str(base_url)
in 847 line clearml/storage/helper.py
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Access Denied error when using an S3 static website endpoint
I'm using the Amazon S3 static website feature but getting an Access Denied error. Why is this happening? · Short description · Resolution....
Read more >Media Composer | First Common Issues - avid.force.com
Launching on one of the new 2018 MacBook Pro, gets you the error message "Exception: std:exception, what: Failed to change priority". Related ...
Read more >Troubleshoot 403 errors from opening a URL to an S3 object
I opened the URL in the Amazon S3 console for that object. However, I got an Access Denied error message. How can I...
Read more >getSignedUrl not always returning a valid signed-url #3305
Describe the bug. Sometimes when calling s3.getSignedUrl(method, params) we receive an invalid signed URL from the SDK and no error is ...
Read more >AWS S3 Generating Signed Urls ''AccessDenied''
Your code is correct, double check the following things: Your bucket access policy. Your bucket permission via your API key.
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
@Shm013 v1.6.2 is out 🙂
Hi @Shm013,
I’ll be releasing the formal version today and updating the code, it was basically solved by changing the format string construction to using a safer conversion (as the
+
operator caused issues with the URL value that might be lazily loaded)