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
Rucio download is not able to download files if the scope or name contains "/" #3031
Comments
You skipped the 'modifications' section in the description :P |
Using urllib.quote_plus() for all but containers? |
I don't think thjis is related to #1393 - There it is specifically if the trailing |
I think this is rather an list_replicas issue then. But if the physical filename or the dataset name contains a "/" it will be problematic because it's the directory separator. We could change the download client to replace it by another character or create a subdirectory for each "/" but I think the best thing would be not to have "/" in the LFNs 😅 |
Creating subdirectories is fine. This is in fact how these files are stored on storage. The LFN just includes these structural directories. There is nothing wrong with having |
Looks like the download is already implemented like this. But it's difficult to try because the upload doesn't support this. I assume that most client functions that do an REST API call won't work using a DID containing a slash. |
Ok in fact it was the server which rejected the upload due to a missing
|
Yes, you have to try this with a schema which allows slashes. Eg. the |
@TWAtGH is there any news on this? |
Traceback :
|
@cserf is this still an issue? How did you fix this with belle2? |
Still an issue. Not fixed yet in Belle II. We have been using a separate tool for download until now, but at some point we plan to move to rucio download API. |
Found the issue. It is due to the behaviour of
|
…tains "/" : Closes rucio#3031
Motivation
rucio download is not able to download files if the scope or name contains "/"
The text was updated successfully, but these errors were encountered: