[New-bugs-announce] [issue14388] configparser.py traceback

Sol Jerome report at bugs.python.org
Thu Mar 22 14:40:33 CET 2012

New submission from Sol Jerome <solj+dev at soljerome.com>:

This seems like it could be user error, but the traceback doesn't provide useful information on where the problem could be. The relevant class is at the following URL.


Traceback (most recent call last):
  File "/root/bcfg2/Bcfg2/Server/FileMonitor.py", line 64, in handle_one_event
  File "/root/bcfg2/Bcfg2/Server/Plugins/Packages/PackagesSources.py", line 52, in HandleEvent
  File "/root/bcfg2/Bcfg2/Server/Plugins/Packages/__init__.py", line 193, in Reload
  File "/root/bcfg2/Bcfg2/Server/Plugins/Packages/__init__.py", line 203, in _load_config
  File "/root/bcfg2/Bcfg2/Server/Plugins/Packages/__init__.py", line 221, in _load_sources
    if not self.disableMetaData:
  File "/root/bcfg2/Bcfg2/Server/Plugins/Packages/__init__.py", line 65, in disableMetaData
    return not self.config.getboolean("global", "resolver")
  File "/root/bcfg2/Bcfg2/Server/Plugin.py", line 1216, in getboolean
    section, option)
  File "/usr/lib64/python3.2/configparser.py", line 819, in getboolean
    raw=raw, vars=vars)
  File "/usr/lib64/python3.2/configparser.py", line 793, in _get
    return conv(self.get(section, option, **kwargs))
TypeError: get() got an unexpected keyword argument 'raw'

Please let me know if more information is required.

components: Library (Lib)
messages: 156559
nosy: solj
priority: normal
severity: normal
status: open
title: configparser.py traceback
type: crash
versions: Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list