Open taldcroft opened 10 years ago
This is probably an upstream bug, or something related to our system NFS.
Possibly related to the aca home directory moves? (syshelp mentioned that unagi ended up stuck with it on numa instead of remus and then switched it back) Doesn't quite line up with these errors in time.
The FTP transfer is completing successfully, but the bug is that somehow curdir is an empty string. That is set previously in kadi.occweb.ftp_put_to_lucky https://github.com/sot/kadi/blob/0e4260c31ee1aa5eb28798beed9b64ef788d2b4a/kadi/occweb.py#L115 as the first part of an absolute local path to the file being transferred. So it doesn't make any sense that curdir can be ''.
I thought curdir is the CWD before Ska.File does the chdir to file_dir (the first part of the absolute local path to the file).
I thought curdir is the CWD before Ska.File does the chdir to file_dir (the first part of the absolute local path to the file).
Duh, of course it is! So get_cwd()
is failing, which is more believable.
Though I disagree with the "sporadic" in the issue name. It has failed this way every time it has run this week.
The FTP transfer is completing successfully, but the bug is that somehow
curdir
is an empty string. That is set previously in kadi.occweb.ftp_put_to_lucky as the first part of an absolute local path to the file being transferred. So it doesn't make any sense thatcurdir
can be''
.This is probably an upstream bug, or something related to our system NFS.