Open torben-uio opened 3 months ago
Hi, thanks for reporting the issue.
I did not manage to reproduce this with downloading a directory named 0
on the latest tsd-api-client running under Python 3.12.
❯ tacl --version
tacl v3.5.14
- OS/Arch: Darwin/arm64
- Python: 3.12.3
Did another test on Python 3.9, but couldn't reproduce it there either.
In the debug output you've provided, it's trying to resume the transfer from cache, which wasn't happening in my initial two tests. I also interrupted tacl mid-transfer and restarted the process to force it to resume "directory transfer from cache" as in your case, but this still did not cause any issue and my transfers finished successfully.
tacl provides a parameter for deleting its download cache, can you attempt to wipe it and see if the problem persists? tacl pXXX --download-cache-delete-all
. There's also the option of wiping only a specific cache:
❯ tacl --help | grep download-cache
--download-cache-show View the request cache
--download-cache-delete TEXT Delete a request cache for a given key
--download-cache-delete-all Delete the entire request cache
If wiping the cache and the problem still exists, can you please try to upgrade to tsd-api-client 3.5.14 and verify that it's reproducible there as well? I'm not sure which version you were using at the time of reporting this issue, so it would help in narrowing down the scope.
When I try to download a directory named with only one character e.g "0" or "a", tacl throws an error (see below) and nothing gets downloaded. However, I can download without problems after renaming the directory on TSD to "dir0" etc. (I haven't tried with directories with two or three character names.)