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

The error of runing ./case.submit

Status
Not open for further replies.

sunxupeng

hoperu/2016
New Member
当我开始使用命令/ case.submit
发生以下错误:
客户端协议gftp未启用
将协议wget与匿名用户和passwd user@example.edu一起使用
无法连接至回购协议'ftp://ftp.cgd.ucar.edu/cesm/inputdata'
这很可能是代理问题或网络问题。
尝试使用NoneType协议将文件“ ../inputdata_checksum.dat”下载到路径“ /home/sxp/Library/cesm_build/inputdata_checksum.dat.raw”。
追溯(最近一次通话):
<module>中的文件“ ./case.submit”,第107行
_main_func(__ doc__)
_main_func中的文件“ ./case.submit”,第104行
mail_user = mail_user,mail_type = mail_type,batch_args = batch_args)
提交文件“ /home/sxp/clm5.0/cime/scripts/Tools/../../scripts/lib/CIME/case/case_submit.py”,第157行
custom_success_msg_functor = verbatim_success_msg)
在run_and_log_case_status中,文件“ /home/sxp/clm5.0/cime/scripts/Tools/../../scripts/lib/CIME/utils.py”,第1683行
rv = func()
<lambda>中的文件“ /home/sxp/clm5.0/cime/scripts/Tools/../../scripts/lib/CIME/case/case_submit.py”,第155行
batch_args = batch_args)
_submit中的文件“ /home/sxp/clm5.0/cime/scripts/Tools/../../scripts/lib/CIME/case/case_submit.py”,第85行
case.check_case()
在check_case中,文件“ /home/sxp/clm5.0/cime/scripts/Tools/../../scripts/lib/CIME/case/case_submit.py”,第171行
self.check_all_input_data()
在check_all_input_data中的第163行,文件“ /home/sxp/clm5.0/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py”
_download_checksum_file(self.get_value(“ RUNDIR”))
文件“ /home/sxp/clm5.0/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py”,第54行,位于_download_checksum_file中
成功= server.getfile(rel_path,new_file)
AttributeError:“ NoneType”对象没有属性“ getfile”

我该怎么办
 

Attachments

  • error.txt
    10.9 KB · Views: 1

erik

Erik Kluzek
CSEG and Liaisons
Staff member
Can you translate your question to English please? We don't have people that can translate for us.

I can tell the problem you are running into is in trying to download the needed input data. And it looks like it's a network problem.
Run the script in your case

./check_input_data

to list the files that are missing. Make sure you have permission to create them where it's trying to first. Then try running the above
script with the "--download" option where it will try to get the data. You should be able to check if you have network access to that
location. If you don't have access to that network location you'll need to transfer it from a different machine that does.

All of our inputdata is under:


If you can access it, you'll be able to pull that URL up in a browser. If you can't you'll need to work with your systems people to
figure out what's limiting your network access, and/or get the data from another machine that do have network access from and then
copy it over to the machine you want to run on.
 

sunxupeng

hoperu/2016
New Member
Can you translate your question to English please? We don't have people that can translate for us.

I can tell the problem you are running into is in trying to download the needed input data. And it looks like it's a network problem.
Run the script in your case

./check_input_data

to list the files that are missing. Make sure you have permission to create them where it's trying to first. Then try running the above
script with the "--download" option where it will try to get the data. You should be able to check if you have network access to that
location. If you don't have access to that network location you'll need to transfer it from a different machine that does.

All of our inputdata is under:


If you can access it, you'll be able to pull that URL up in a browser. If you can't you'll need to work with your systems people to
figure out what's limiting your network access, and/or get the data from another machine that do have network access from and then
copy it over to the machine you want to run on.
I'm sorry for my question. I used English when I asked, but part of the browser's plug-in problem was converted into Chinese. Thank you very much for answering my question. I'll try it now. Thank you very much.
 

sunxupeng

hoperu/2016
New Member
Can you translate your question to English please? We don't have people that can translate for us.

I can tell the problem you are running into is in trying to download the needed input data. And it looks like it's a network problem.
Run the script in your case

./check_input_data

to list the files that are missing. Make sure you have permission to create them where it's trying to first. Then try running the above
script with the "--download" option where it will try to get the data. You should be able to check if you have network access to that
location. If you don't have access to that network location you'll need to transfer it from a different machine that does.

All of our inputdata is under:


If you can access it, you'll be able to pull that URL up in a browser. If you can't you'll need to work with your systems people to
figure out what's limiting your network access, and/or get the data from another machine that do have network access from and then
copy it over to the machine you want to run on.
When I tried your method, I found that my error was still as shown above:
[root@localhost sp_clm_serial]# ./check_input_data--download
bash: ./check_input_data--download: 没有那个文件或目录
[root@localhost sp_clm_serial]# sudo ./check_input_data --download
Loading input file list: 'Buildconf/datm.input_data_list'
Model datm missing file domain1 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/domain.lnd.360x720_gswp3.0v1.c170606.nc'
Model datm missing file file1 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-01.nc'
Model datm missing file file2 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-02.nc'
Model datm missing file file3 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-03.nc'
Model datm missing file file4 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-04.nc'
Model datm missing file file5 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-05.nc'
Model datm missing file file6 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-06.nc'
Model datm missing file file7 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-07.nc'
Model datm missing file file8 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-08.nc'
Model datm missing file file9 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-09.nc'
Model datm missing file file10 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-10.nc'
Model datm missing file file11 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-11.nc'
Model datm missing file file12 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.Solr.2003-12.nc'
Model datm missing file file1 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-01.nc'
Model datm missing file file2 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-02.nc'
Model datm missing file file3 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-03.nc'
Model datm missing file file4 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-04.nc'
Model datm missing file file5 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-05.nc'
Model datm missing file file6 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-06.nc'
Model datm missing file file7 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-07.nc'
Model datm missing file file8 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-08.nc'
Model datm missing file file9 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-09.nc'
Model datm missing file file10 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-10.nc'
Model datm missing file file11 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-11.nc'
Model datm missing file file12 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.2003-12.nc'
Model datm missing file file1 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-01.nc'
Model datm missing file file2 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-02.nc'
Model datm missing file file3 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-03.nc'
Model datm missing file file4 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-04.nc'
Model datm missing file file5 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-05.nc'
Model datm missing file file6 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-06.nc'
Model datm missing file file7 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-07.nc'
Model datm missing file file8 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-08.nc'
Model datm missing file file9 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-09.nc'
Model datm missing file file10 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-10.nc'
Model datm missing file file11 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-11.nc'
Model datm missing file file12 = '/root/projects/ptclm-data/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/TPHWL/clmforc.GSWP3.c2011.0.5x0.5.TPQWL.2003-12.nc'
Model datm missing file domain1 = '/home/sxp/clm5.0/output/inputdata/atm/cam/chem/trop_mozart_aero/aero/aerosoldep_WACCM.ensmean_monthly_hist_1849-2015_0.9x1.25_CMIP6_c180926.nc'
Model datm missing file file1 = '/home/sxp/clm5.0/output/inputdata/atm/cam/chem/trop_mozart_aero/aero/aerosoldep_WACCM.ensmean_monthly_hist_1849-2015_0.9x1.25_CMIP6_c180926.nc'

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 .
Trying to download file: '../inputdata_checksum.dat' to path '/home/sxp/Library/cesm_build/inputdata_checksum.dat.raw' using NoneType protocol.
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 "/home/sxp/clm5.0/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 163, in check_all_input_data
_download_checksum_file(self.get_value("RUNDIR"))
File "/home/sxp/clm5.0/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 54, in _download_checksum_file
success = server.getfile(rel_path, new_file)
AttributeError: 'NoneType' object has no attribute 'getfile'
But I can visit the website you gave me. I don't know how to do the next step
 

Attachments

  • error2.txt
    16.7 KB · Views: 0

adrienD

Adrien Damseaux
Member
I have a similar issue. Did you resolve it?

It seems ./case.submit attempt to download .nc files from a directory "cesm/inputdata/lmwg/" that is not on https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/

"
Model datm missing file file158 = '/work/aa0049/a271098/CTSM/inputdata/lmwg/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.1914-02.nc'
Trying to download file: 'lmwg/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.1914-02.nc' to path '/work/aa0049/a271098/CTSM/inputdata/lmwg/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.1914-02.nc' using WGET protocol.
wget failed with output: and errput --2020-09-08 15:05:53-- ftp://ftp.cgd.ucar.edu/cesm/inputdata/lmwg/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.1914-02.nc
=> \u201c/work/aa0049/a271098/CTSM/inputdata/lmwg/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip/clmforc.GSWP3.c2011.0.5x0.5.Prec.1914-02.nc\u201d
Resolving ftp.cgd.ucar.edu... 128.117.23.220
Connecting to ftp.cgd.ucar.edu|128.117.23.220|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /cesm/inputdata/lmwg/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip ...
No such directory \u201ccesm/inputdata/lmwg/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Precip\u201d.
"
 
Status
Not open for further replies.
Top