| ConfigObjError | Python 2.4.6: /usr/local/bin/python2.4 Wed Jun 19 19:49:16 2013 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/voidspace/downman.py |
| 320 |
| 321 if __name__ == '__main__': |
| 322 main(getrequest(formvaluelist)) |
| 323 |
| 324 """ |
| main = <function main>, getrequest = <function getrequest>, formvaluelist = ['section', 'file', 'display'] |
| /home/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/voidspace/downman.py in main(formdict={'display': '', 'file': 'randlink.py', 'section': 'python'}) |
| 159 # first the basic log |
| 160 basicstat = os.path.join(statdir, basicfile + '-' + section + '.ini') # each section has it's own basic statfile |
| 161 thelist = ConfigObj(basicstat) |
| 162 if not filename in thelist: # if the filename doesn't already appear in the statfile |
| 163 thelist[filename] = [str(time.time()), 0] |
| thelist undefined, global ConfigObj = <class 'configobj.ConfigObj'>, basicstat = 'stats/basicstats-python.ini' |
| /home/fuzzyman/webapps/www.voidspace.org.uk/cgi-bin/modules/configobj.py in __init__(self={'configobj-4.5.1.zip': ['1371371705.08', '11'],...', '1'], 'guestbook.zip': ['1371371386.82', '1']}, infile=['configobj-4.5.1.zip = 1371371705.08, 11', 'configobj-4.4.0.zip = 1371326586.38, 302', 'configobj-4.5.0.zip = 1371326586.38, 277', 'configobj-4.5.1.zip = 1371326586.46, 275', 'configobj-4.5.3.zip = 1371326586.98, 297', 'dateutils.py = 1371326668.86, 0', 'pathutils.py = 1371327079.1, 0', 'akismet-0.1.1.zip = 1371329746.47, 16', 'akismet-0.1.4.zip = 1371329746.69, 15', 'akismet-0.1.2.zip = 1371329746.89, 15', 'akismet-0.1.3.zip = 1371329747.43, 15', 'googleCacheServer.py = 1371330797.22, 0', 'akismet-0.1.0.zip = 1371330841.78, 1', 'pycrypto-2.0.1.win32-py2.4.zip = 1371339529.13, 3', 'pycrypto-2.0.1.win32-py2.5.zip = 1371340322.77, 2', 'csl.bat = 1371343095.61, 2', 'mock.py = 1371343096.71, 1', 'listquote.py = 1371344972.38, 1', 'rest2web-0.5.1.zip = 1371345585.19, 0', 'rest2web-0.5.0beta1.zip = 1371348069.87, 2', ...], options={}, **kwargs={}) |
| 928 # set the config attribute |
| 929 error.config = self |
| 930 raise error |
| 931 # delete private attributes |
| 932 del self._errors |
| error = <configobj.ConfigObjError instance> |
ConfigObjError: Parsing failed.
args =
('Parsing failed.',)
config =
{'configobj-4.5.1.zip': ['1371371705.08', '11'],...', '1'], 'guestbook.zip': ['1371371386.82', '1']}
errors =
[<configobj.DuplicateError instance>]
filename =
None
line =
''
line_number =
None
lineno =
None
message =
'Parsing failed.'
msg =
'Parsing failed.'
offset =
None
print_file_and_line =
None
text =
None