"ftplib.error_perm: 550 Failed to change directory." Error occurs when running case.build

liren

Liren
Member
Dear Sir/Madam,

Hello!

I am trying to use the PORT (Parallel Offline Radiative Transfer model) aiming to get the radiative forcing, following the instructions from Example: Using PORT to study flux differences due to 2 x CO2

At the first step, "Sample the base run", when running the ./case.build script, I got the error message like this:

Code:
Checking server ftp://ftp.cgd.ucar.edu/cesm/inputdata with protocol wget
Setting resource.RLIMIT_STACK to -1 from (-1, -1)
Using protocol wget with user anonymous and passwd user@example.edu
Could not connect to repo 'ftp://ftp.cgd.ucar.edu/cesm/inputdata'
This is most likely either a proxy, or network issue .
Checking server ftp.cgd.ucar.edu/cesm/inputdata with protocol ftp
Setting resource.RLIMIT_STACK to -1 from (-1, -1)
Using protocol ftp with user anonymous and passwd user@example.edu
server address ftp.cgd.ucar.edu root path cesm/inputdata
Traceback (most recent call last):
  File "./case.build", line 147, in <module>
    _main_func(__doc__)
  File "./case.build", line 142, in _main_func
    save_build_provenance=save_build_provenance)
  File "/home/CESM-release-cesm2.1.3/cime/scripts/Tools/../../scripts/lib/CIME/build.py", line 570, in case_build
    return run_and_log_case_status(functor, "case.build", caseroot=caseroot)

...

File "/home/CESM-release-cesm2.1.3/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 290, in check_input_data
    server = CIME.Servers.FTP.ftp_login(address, user, passwd)
  File "/home/CESM-release-cesm2.1.3/cime/scripts/Tools/../../scripts/lib/CIME/Servers/ftp.py", line 46, in ftp_login
    return cls(address, user=user, passwd=passwd, server=ftp)
  File "/home/CESM-release-cesm2.1.3/cime/scripts/Tools/../../scripts/lib/CIME/Servers/ftp.py", line 30, in __init__
    stat = self.ftp.cwd(root_address)
  File "/home/anaconda3/lib/python3.7/ftplib.py", line 631, in cwd
    return self.voidcmd(cmd)
  File "/home/anaconda3/lib/python3.7/ftplib.py", line 278, in voidcmd
    return self.voidresp()
  File "/home/anaconda3/lib/python3.7/ftplib.py", line 251, in voidresp
    resp = self.getresp()
  File "/home/anaconda3/lib/python3.7/ftplib.py", line 246, in getresp
    raise error_perm(resp)
ftplib.error_perm: 550 Failed to change directory.

It looks like the error occurs in ./check_input_data.py at CESM-release-cesm2.1.3/cime/scripts/base_run_case. I tried to run check_input_data.py alone and got the same error message.

Sincerely,
Liren
 

jedwards

CSEG and Liaisons
Staff member
Our ftp server is currently down for maintenance. This has exposed a problem in the check_input_data script not handling the error properly.
 
Back
Top