Description:
In TransferManager._path_to_transfer_to() look for this block ~318:
p = result.csvpath.config.transfer_root
rp = Nos(p).join(f)
sep = Nos(rp).sep
rd = rp[0 : rp.rfind(sep)]
#
# should this be dir_exists()?
#
if not Nos(rd).exists():
Nos(rd).makedir()
return rp
The if not Nos(rd).exists(): should almost certainly be if not Nos(rd).dir_exists():. This is because blob stores handle dirs differently from traditional physical filesystems.
Reactions are currently unavailable
Description:
In TransferManager._path_to_transfer_to() look for this block ~318:
p = result.csvpath.config.transfer_root rp = Nos(p).join(f) sep = Nos(rp).sep rd = rp[0 : rp.rfind(sep)] # # should this be dir_exists()? # if not Nos(rd).exists(): Nos(rd).makedir() return rpThe if not Nos(rd).exists(): should almost certainly be if not Nos(rd).dir_exists():. This is because blob stores handle dirs differently from traditional physical filesystems.