| TypeError | Python 2.4.3: /usr/local/bin/python2.4 Tue Jan 6 20:05:11 2009 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home2/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/voidspace/downman2.py |
| 89 options = { 'fileerror' : True, 'configspec_only' : True, 'configspec' : configspec, 'exceptions' : True } |
| 90 try: |
| 91 config = ConfigObj(config_file, options) |
| 92 except Exception: # config file doesn't exist or not all the keywords are in place |
| 93 raise |
| config undefined, ConfigObj = <class 'configobj.ConfigObj'>, config_file = 'downman.ini', options = {'configspec': ['statdir', 'basicfile', 'statlog', 'defaultsection', 'chunksize', 'excludelist', 'sectionlist'], 'configspec_only': True, 'exceptions': True, 'fileerror': True} |
| /usr/local/lib/python2.4/site-packages/configobj.py in __init__(self=ConfigObj({}), infile='downman.ini', options={'configspec': ['statdir', 'basicfile', 'statlog', 'defaultsection', 'chunksize', 'excludelist', 'sectionlist'], 'configspec_only': True, 'exceptions': True, 'fileerror': True}, **kwargs={}) |
| 1147 for entry in options.keys(): |
| 1148 if entry not in defaults.keys(): |
| 1149 raise TypeError, 'Unrecognised option "%s".' % entry |
| 1150 # TODO: check the values too. |
| 1151 # |
| builtin TypeError = <class exceptions.TypeError>, entry = 'exceptions' |
TypeError: Unrecognised option "exceptions".
args =
('Unrecognised option "exceptions".',)