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 in downloading components (./manage_externals/checkout_externals)

Shruti

Shruti Joshi
Member
Hello,

I am facing issue with ./manage_externals/checkout_externals command.
It gives the following errors :

Checking out externals: clm, ERROR:root:Command '[u'git', u'clone', u'--quiet', u'ESCOMP/CTSM', u'clm']' returned non-zero exit status 128
ERROR:root:Failed with output:
git-lfs filter-process: 1: git-lfs filter-process: git-lfs: not found
fatal: The remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.

According to the below post, there seems to be some issue with svn certificate.
./manage_externals/checkout_externals script failing · Issue #65 · ESCOMP/CESM

But i have already checked for the svn certification by executing
svn list https://svn-ccsm-models.cgd.ucar.edu/cam1/release_tags/cam_cesm2_0_rel_08/components/cam

The output is as below :
SVN_EXTERNAL_DIRECTORIES
bld/
cime_config/
doc/
src/
test/
tools/

Please let me know how to resolve this issue
 

jedwards

CSEG and Liaisons
Staff member
The error you are getting is apparently from git while the post you reference is about svn. You may need to update your git client.
 

Shruti

Shruti Joshi
Member
Hello,

I have 2 systems with the same git version 2.17.1
./manage_externals/checkout_externals command seems to be successful in one system while the other gives error.
I also checked with latest CESM version 2.1.3 but facing the same error as above.

Also as per suggestion tried, "git checkout -f HEAD"
It gave the following output :
git-lfs filter-process: 1: git-lfs filter-process: git-lfs: not found
fatal: The remote end hung up unexpectedly

Can you please guide me through this?
 

jedwards

CSEG and Liaisons
Staff member
Try from the command line:

Code:
cd cesm/components

git clone https://github.com/ESCOMP/ctsm/ clm
 
Top