eth-cscs / firecrest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`utilities/mkdir` on existing folder returns incorrect header

chrisjsewell opened this issue · comments

This returns 'X-A-Directory': "path is a directory, can't checksum directories", which is probably not intended, and also not listed in https://firecrest-api.cscs.ch/#/Utilities/post_utilities_mkdir

Hi @chrisjsewell ,

This is solved in 1.11.0

I will close the issue but feel free to open it again if needed

Best regards

Hi @jpdorsch
on dom this is returning X-Invalid-Path instead of X-Exists .

last request: 400 {'description': 'Error on mkdir operation', 'error': "Could not chdir to home directory /users/akhosrav: No such file or directorymkdir: cannot create directory '/scratch/snx3000tds/akhosrav/delete_me/fff': File exists"}: sourcePath and/or targetPath are invalid paths

{'Content-Type': 'application/json', 'Content-Length': '218', 'Connection': 'keep-alive', 'RateLimit-Remaining': '9', 'RateLimit-Reset': '1', 'RateLimit-Limit': '10', 'X-RateLimit-Limit-Second': '10', 'X-RateLimit-Remaining-Second': '9', 'X-RateLimit-Remaining-Minute': '119', 'X-RateLimit-Limit-Minute': '120', 'Server': 'gunicorn', 'Date': 'Wed, 12 Jun 2024 12:11:28 GMT', 'X-Invalid-Path': 'sourcePath and/or targetPath are invalid paths', 'X-Kong-Upstream-Latency': '613', 'X-Kong-Proxy-Latency': '3', 'Via': 'kong/3.2.1'}