Skip to content

git-fleximod crashes when bringing in new COSP tag in ESCOMP/CAM branch #83

@cacraigucar

Description

@cacraigucar

We are trying to bring in ESCOMP/CAM#1355, but get the following error when we run git-fleximod update on it:


Traceback (most recent call last):
File "/glade/u/home/cacraig/cam_hgt_matrix_half_error/bin/git-fleximod", line 8, in
sys.exit(main())
^^^^^^
File "/glade/u/home/cacraig/cam_hgt_matrix_half_error/.lib/git-fleximod/git_fleximod/git_fleximod.py", line 349, in main
submodules_update(gitmodules, root_dir, fxrequired, force)
File "/glade/u/home/cacraig/cam_hgt_matrix_half_error/.lib/git-fleximod/git_fleximod/git_fleximod.py", line 225, in submodules_update
_, needsupdate, localmods, testfails = submod.status()
^^^^^^^^^^^^^^^
File "/glade/u/home/cacraig/cam_hgt_matrix_half_error/.lib/git-fleximod/git_fleximod/submodule.py", line 110, in status
ahash = parts[0][1:]
~~~~~^^^
IndexError: list index out of range


Note that the external user proposed a change to git-fleximod (AI generated) which supposedly fixes the problem. I did not try it as the proper fix is for it to be changed in the official git-fleximod github repo.

@jshaw35 @nusbaume @peverwhee @jimmielin @jedwards4b

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions