<class 'ConfigParser.NoSectionError'> | Python 2.7.5: /usr/bin/python Fri Apr 26 17:57:42 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/srv/www/simpleclimatemodel/source/greb/cgi-bin/dmc_i18n.py in |
318 pathToScripts = '../../greb/images/' + pathToImages + '/' |
319 scriptUrl='<a href=\''+pathToScripts+'plot.map.gs'+'\' download>Grads graphic script</a>' |
=> 320 referenceDataFileUrlbin ='<a href=\''+referenceDataFile+'\' download>bin</a> <a href=\''+referenceDataFile.replace(".bin", ".ctl")+'\' download>ctl</a> ' + config.get('DownloadData', 'dataFile') |
321 referenceDataFileUrlnetcdf ='<a href=\''+referenceDataFile.replace('.bin','.nc')+'\' download>NetCDF</a> ' + config.get('DownloadData', 'dataFile') |
322 sensitityDataFileUrlbin ='<a href=\''+sensitityDataFile+'\' download>bin</a> <a href=\''+sensitityDataFile.replace(".bin", ".ctl")+'\' download>ctl</a> ' + config.get('DownloadData', 'dataFile') |
referenceDataFileUrlbin undefined, referenceDataFile = '../../greb/cgi-bin/data-mean-decon/greb.mean.decon.exp-11111111111.bin', referenceDataFile.replace = <built-in method replace of str object>, config = <ConfigParser.RawConfigParser instance>, config.get = <bound method RawConfigParser.get of <ConfigParser.RawConfigParser instance>> |
/usr/lib64/python2.7/ConfigParser.py in get(self=<ConfigParser.RawConfigParser instance>, section='DownloadData', option='dataFile') |
328 if section not in self._sections: |
329 if section != DEFAULTSECT: |
=> 330 raise NoSectionError(section) |
331 if opt in self._defaults: |
332 return self._defaults[opt] |
global NoSectionError = <class 'ConfigParser.NoSectionError'>, section = 'DownloadData' |
<class 'ConfigParser.NoSectionError'>: No section: 'DownloadData'
args =
('DownloadData',)
message =
"No section: 'DownloadData'"
section =
'DownloadData'