Opened 10 years ago

Closed 10 years ago

#172 closed defect (fixed)

BATCH_HOST_TRANSLATE should not be mandatory

Reported by: ramonb Owned by: ramonb
Priority: normal Milestone: 1.1.1
Component: jobmond Version: 1.1
Keywords: Cc:
Estimated Number of Hours:


if BATCH_HOST_TRANSLATE is not set, an exception is raised

Traceback (most recent call last):
  File "/usr/sbin/jobmond", line 2180, in <module>
  File "/usr/sbin/jobmond", line 2095, in main
    if not processArgs( sys.argv[1:] ):
  File "/usr/sbin/jobmond", line 95, in processArgs
    return loadConfig( JOBMOND_CONF )
  File "/usr/sbin/jobmond", line 609, in loadConfig
  File "/usr/lib/python2.7/", line 618, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'batch_host_translate' in section: 'DEFAULT'

however that setting should be optional

Change History (2)

comment:1 Changed 10 years ago by ramonb

  • Owner changed from somebody to ramonb
  • Status changed from new to assigned

comment:2 Changed 10 years ago by ramonb

  • Resolution set to fixed
  • Status changed from assigned to closed

In 927:


  • prevent NoOptionError? Exception to occur when BATCH_HOST_TRANSLATE is not set
  • closes #172
Note: See TracTickets for help on using tickets.