10. Common Errors Known Issues

10.1. Error: Reserved Variables Causing Workflow Issues

Several variables are reserved in the workflow and should not be used as environment variables in your shell. Some of the common ones include (but are not limited to): HOMEgfs, machine, ROTDIR, COMROT, COMROOT, COMOUT, COMIN, STMP, PTMP, DATAROOT, DATA, ACCOUNT, PDY, cyc, RUN, etc. If you are using any of these variables in your shell, you may encounter unexpected behavior in the workflow.

10.2. Error: “ImportError” message when running setup script

Example:

$ ./setup_workflow.py /path/to/your/experiment/directory
/usr/bin/env: python3: No such file or directory

Cause: Missing python module in your environment

Solution: Load a python module (“module load python”) and retry setup script.

10.3. Error: curses default colors when running viewer

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)

10.4. Issue: Directory name change for EnKF folder in ROTDIR

Issue: The EnKF ROTDIR 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.