./execute.py example.cfg
Traceback (most recent call last):
File "./execute.py", line 166, in
main()
File "./execute.py", line 143, in main
logging_level = config.getint( 'Misc', 'logging' )
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 351, in getint
return self._get(section, int, option)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 348, in _get
return conv(self.get(section, option))
ValueError: invalid literal for int() with base 10: '20 # Display info messages'
My example file is tab delimited (from one of the examples someone reported in a previous issue):
01 1115 W Franklin
02 Bessy the Cow
03 Big Farm Way
04 The cow jumped over the moon
05 Look at me
I am not sure what might be causing this error. Any help will be appreciated.
Hi, I am running into the following error:
./execute.py example.cfg Traceback (most recent call last): File "./execute.py", line 166, in
main()
File "./execute.py", line 143, in main
logging_level = config.getint( 'Misc', 'logging' )
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 351, in getint
return self._get(section, int, option)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 348, in _get
return conv(self.get(section, option))
ValueError: invalid literal for int() with base 10: '20 # Display info messages'
My example file is tab delimited (from one of the examples someone reported in a previous issue):
01 1115 W Franklin 02 Bessy the Cow 03 Big Farm Way 04 The cow jumped over the moon 05 Look at me
I am not sure what might be causing this error. Any help will be appreciated.