<type 'exceptions.KeyError'> | Python 2.7.5: /usr/bin/python Mon Apr 19 04:46:47 2021 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/html/mscm/greb/cgi-bin/scny_i18n.py in |
267 keyToData = '%02d%02d' % (int(scenario), int(variable)) |
268 |
=> 269 pathToImages = product_map[keyToData] + '/' + locale |
270 # pathToImages will be something like scenario-102/tsurf/EN |
271 referenceDataFile = '../../greb/grads/data/' + config.get('ScenarioMapping', 'Scenario'+keyToData) |
pathToImages undefined, product_map = {'0101': 'scenario-01/tsurf', '0102': 'scenario-01/tatmos', '2001': 'scenario-20/tsurf', '2002': 'scenario-20/tatmos', '2003': 'scenario-20/tocean', '2004': 'scenario-20/vapor', '2005': 'scenario-20/ice', '2101': 'scenario-21/tsurf', '2102': 'scenario-21/tatmos', '2103': 'scenario-21/tocean', ...}, keyToData = '10201', locale = 'DE' |
<type 'exceptions.KeyError'>: '10201'
args =
('10201',)
message =
'10201'