Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

error when running ./check_input_data

nicolenATginsburg

Nicole K Neumann
New Member
I have built many cases and not had a problem. I started getting this error on all cases about one week ago. This happens when running ./check_input_data.

Client protocol gftp not enabled
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 .
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 "./check_input_data", line 76, in <module>
_main_func(__doc__)
File "./check_input_data", line 71, in _main_func
chksum=chksum) else 1)
File "/burg/crew/projects/CESM2.2/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 165, in check_all_input_data
chksum_found = _download_checksum_file(self.get_value("RUNDIR"))
File "/burg/crew/projects/CESM2.2/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 35, in _download_checksum_file
server = CIME.Servers.FTP.ftp_login(address, user, passwd)
File "/burg/crew/projects/CESM2.2/cime/scripts/Tools/../../scripts/lib/CIME/Servers/ftp.py", line 51, in ftp_login
return cls(address, user=user, passwd=passwd, server=ftp)
File "/burg/crew/projects/CESM2.2/cime/scripts/Tools/../../scripts/lib/CIME/Servers/ftp.py", line 31, in __init__
stat = self.ftp.cwd(root_address)
File "/cm/local/apps/python37/lib/python3.7/ftplib.py", line 631, in cwd
return self.voidcmd(cmd)
File "/cm/local/apps/python37/lib/python3.7/ftplib.py", line 278, in voidcmd
return self.voidresp()
File "/cm/local/apps/python37/lib/python3.7/ftplib.py", line 251, in voidresp
resp = self.getresp()
File "/cm/local/apps/python37/lib/python3.7/ftplib.py", line 246, in getresp
raise error_perm(resp)
ftplib.error_perm: 550 Failed to change directory.
 

jedwards

CSEG and Liaisons
Staff member
Thank you for reporting, it appears that the server is offline, we will try to get it up as quickly as possible.
If you like you can edit file cime/config/cesm/config_inputdata.xml and move the svn server to precede the ftp server.
That should allow check_input_data to work correctly.
 

nicolenATginsburg

Nicole K Neumann
New Member
The server seems to be working again. Thank you for that speedy recovery! For future reference, what information needs to be provided in config_inputdata.xml inorder to use svn? After moving svn to precede ftp, it says "Using protocol svn with user and passwd" and then continues on to ftp.

This is what I have for svn.
<server>
<protocol>svn</protocol>
<address>https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata</address>
</server>

This is what I have for ftp.
<server>
<comment> ftp requires the python package ftplib </comment>
<protocol>ftp</protocol>
<address>ftp.cgd.ucar.edu/cesm/inputdata</address>
<user>anonymous</user>
<password>user@example.edu</password>
<checksum>../inputdata_checksum.dat</checksum>
</server>
 

jedwards

CSEG and Liaisons
Staff member
Putting svn first should have solved the issue, but the ftp server is back now as you have seen.

Perhaps there is a bug in the svn method, I'll look into it.
 
Top