-
Notifications
You must be signed in to change notification settings - Fork 180
Common errors, known issues, and their solutions
- Error: "ImportError" message when running setup script
- Error: curses default colors when running viewer
- Issue: Directory name change for EnKF folder in COMROT
- Error: Git ssh variant setting when running checkout_externals
Example of error:
$ ./setup_workflow.py --expdir /path/to/your/experiment/directory
Traceback (most recent call last):
File "./setup_workflow.py", line 32, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
Cause: Missing python in your environment
Solution: Load a python module ("module load python") and retry setup script.
Example:
$ ./rocoto_viewer.py -d blah.db -w blah.xml
Traceback (most recent call last):
File "./rocoto_viewer.py", line 2376, in <module>
curses.wrapper(main)
File "/contrib/anaconda/anaconda2/4.4.0/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "./rocoto_viewer.py", line 1202, in main
curses.use_default_colors()
_curses.error: use_default_colors() returned ERR
Cause: wrong TERM setting for curses
Solution: set TERM to "xterm" (bash: export TERM=xterm ; csh/tcsh: setenv TERM xterm)
Issue: The EnKF COMROT folders were renamed during the GFS v15 development process to remove the period between "enkf" and "gdas": enkf.gdas.$PDY → enkfgdas.$PDY
Fix: Older tarballs on HPSS will have the older directory name with the period between 'enkf' and 'gdas'. Make sure to rename folder to 'enkfgdas.$PDY' after obtaining. Only an issue for the initial cycle.
Error seen on WCOSS-Cray (Luna/Surge).
Example:
$ checkout_externals
Processing externals description file : Externals.cfg
Checking status of externals: nemsfv3gfs, emc_post, ufs_utils, gsi, emc_gfs_wafs, emc_verif-global,
Checking out externals: nemsfv3gfs, ERROR:root:Command '[u'git', u'clone', u'--quiet', u'ssh://vlab.ncep.noaa.gov:29418/NEMSfv3gfs', u'fv3gfs.fd']' returned non-zero exit status 128
ERROR:root:Failed with output:
fatal: ssh variant 'simple' does not support setting port
ERROR: In directory
/gpfs/hps3/emc/global/noscrub/Joe.Schmo/git/feature-manage_externals/sorc
Process did not run successfully; returned status 128:
git clone --quiet ssh://vlab.ncep.noaa.gov:29418/NEMSfv3gfs fv3gfs.fd
See above for output from failed command.
Cause: Git ssh variant 'simple' does not support setting port
Solution: Adjust git config ssh setting:
$ git config --global ssh.variant ssh