Hereby some grep output as promised in previous mail:
[root@geppetto ansible]# grep -i error -B 2 -A 2 cobbler.py.debuglog > errorswithsomelinesbeforeandsomeafter.log
[root@geppetto ansible]# [root@geppetto ansible]# cat errorswithsomelinesbeforeandsomeafter.log
argparse.py(64): __version__ = '1.2.1'
argparse.py(66): 'ArgumentParser',
argparse.py(67): 'ArgumentError',
argparse.py(68): 'ArgumentTypeError',
argparse.py(69): 'FileType',
argparse.py(70): 'HelpFormatter',
--
copy.py(51): import types
copy.py(52): from copy_reg import dispatch_table
copy.py(54): class Error(Exception):
--- modulename: copy, funcname: Error
copy.py(54): class Error(Exception):
copy.py(55): pass
copy.py(56): error = Error # backward compatibility
copy.py(58): try:
copy.py(59): from org.python.core import PyStringMap
copy.py(60): except ImportError:
copy.py(61): PyStringMap = None
copy.py(63): __all__ = ["Error", "copy", "deepcopy"]
copy.py(65): def copy(x):
copy.py(98): _copy_dispatch = d = {}
--
locale.py(14): import sys, encodings, encodings.aliases
locale.py(15): import functools
locale.py(23): __all__ = ["getlocale", "getdefaultlocale", "getpreferredencoding", "Error",
locale.py(24): "setlocale", "resetlocale", "localeconv", "strcoll", "strxfrm",
locale.py(25): "str", "atof", "atoi", "format", "format_string", "currency",
--
argparse.py(677): def _get_help_string(self, action):
argparse.py(691): def _get_action_name(argument):
argparse.py(704): class ArgumentError(Exception):
--- modulename: argparse, funcname: ArgumentError
argparse.py(704): class ArgumentError(Exception):
argparse.py(709): """
argparse.py(711): def __init__(self, argument, message):
argparse.py(715): def __str__(self):
argparse.py(724): class ArgumentTypeError(Exception):
--- modulename: argparse, funcname: ArgumentTypeError
argparse.py(724): class ArgumentTypeError(Exception):
argparse.py(725): """An error from trying to convert a command line string to a type."""
argparse.py(726): pass
argparse.py(733): class Action(_AttributeHolder):
--
argparse.py(1439): def _get_handler(self):
argparse.py(1448): def _check_conflict(self, action):
argparse.py(1462): def _handle_conflict_error(self, action, conflicting_actions):
argparse.py(1469): def _handle_conflict_resolve(self, action, conflicting_actions):
argparse.py(1484): class _ArgumentGroup(_ActionsContainer):
--
argparse.py(1564): fromfile_prefix_chars=None,
argparse.py(1565): argument_default=None,
argparse.py(1566): conflict_handler='error',
argparse.py(1567): add_help=True):
argparse.py(1636): def _get_kwargs(self):
--
argparse.py(2338): def _print_message(self, message, file=None):
argparse.py(2347): def exit(self, status=0, message=None):
argparse.py(2352): def error(self, message):
cobbler.py(59): import ConfigParser
--- modulename: ConfigParser, funcname: <module>
ConfigParser.py(88): """
ConfigParser.py(90): import re
ConfigParser.py(92): __all__ = ["NoSectionError", "DuplicateSectionError", "NoOptionError",
ConfigParser.py(93): "InterpolationError", "InterpolationDepthError",
ConfigParser.py(94): "InterpolationSyntaxError", "ParsingError",
ConfigParser.py(95): "MissingSectionHeaderError",
ConfigParser.py(96): "ConfigParser", "SafeConfigParser", "RawConfigParser",
ConfigParser.py(97): "DEFAULTSECT", "MAX_INTERPOLATION_DEPTH"]
ConfigParser.py(99): DEFAULTSECT = "DEFAULT"
ConfigParser.py(101): MAX_INTERPOLATION_DEPTH = 10
ConfigParser.py(106): class Error(Exception):
--- modulename: ConfigParser, funcname: Error
ConfigParser.py(106): class Error(Exception):
ConfigParser.py(107): """Base class for ConfigParser exceptions."""
ConfigParser.py(109): def _get_message(self):
--
ConfigParser.py(128): def __repr__(self):
ConfigParser.py(131): __str__ = __repr__
ConfigParser.py(133): class NoSectionError(Error):
--- modulename: ConfigParser, funcname: NoSectionError
ConfigParser.py(133): class NoSectionError(Error):
ConfigParser.py(134): """Raised when no section matches a requested option."""
ConfigParser.py(136): def __init__(self, section):
ConfigParser.py(140): class DuplicateSectionError(Error):
--- modulename: ConfigParser, funcname: DuplicateSectionError
ConfigParser.py(140): class DuplicateSectionError(Error):
ConfigParser.py(141): """Raised when a section is multiply-created."""
ConfigParser.py(143): def __init__(self, section):
ConfigParser.py(147): class NoOptionError(Error):
--- modulename: ConfigParser, funcname: NoOptionError
ConfigParser.py(147): class NoOptionError(Error):
ConfigParser.py(148): """A requested option was not found."""
ConfigParser.py(150): def __init__(self, option, section):
ConfigParser.py(156): class InterpolationError(Error):
--- modulename: ConfigParser, funcname: InterpolationError
ConfigParser.py(156): class InterpolationError(Error):
ConfigParser.py(157): """Base class for interpolation-related exceptions."""
ConfigParser.py(159): def __init__(self, option, section, msg):
ConfigParser.py(164): class InterpolationMissingOptionError(InterpolationError):
--- modulename: ConfigParser, funcname: InterpolationMissingOptionError
ConfigParser.py(164): class InterpolationMissingOptionError(InterpolationError):
ConfigParser.py(165): """A string substitution required a setting which was not available."""
ConfigParser.py(167): def __init__(self, option, section, rawval, reference):
ConfigParser.py(177): class InterpolationSyntaxError(InterpolationError):
--- modulename: ConfigParser, funcname: InterpolationSyntaxError
ConfigParser.py(177): class InterpolationSyntaxError(InterpolationError):
ConfigParser.py(179): does not conform to the required syntax."""
ConfigParser.py(181): class InterpolationDepthError(InterpolationError):
--- modulename: ConfigParser, funcname: InterpolationDepthError
ConfigParser.py(181): class InterpolationDepthError(InterpolationError):
ConfigParser.py(182): """Raised when substitutions are nested too deeply."""
ConfigParser.py(184): def __init__(self, option, section, rawval):
ConfigParser.py(192): class ParsingError(Error):
--- modulename: ConfigParser, funcname: ParsingError
ConfigParser.py(192): class ParsingError(Error):
ConfigParser.py(193): """Raised when a configuration file does not follow legal syntax."""
ConfigParser.py(195): def __init__(self, filename):
ConfigParser.py(200): def append(self, lineno, line):
ConfigParser.py(204): class MissingSectionHeaderError(ParsingError):
--- modulename: ConfigParser, funcname: MissingSectionHeaderError
ConfigParser.py(204): class MissingSectionHeaderError(ParsingError):
ConfigParser.py(205): """Raised when a key-value pair is found before any section header."""
ConfigParser.py(207): def __init__(self, filename, lineno, line):
--
xmlrpclib.py(186): MAXINT = 2L**31-1
xmlrpclib.py(187): MININT = -2L**31
xmlrpclib.py(194): PARSE_ERROR = -32700
xmlrpclib.py(195): SERVER_ERROR = -32600
xmlrpclib.py(196): APPLICATION_ERROR = -32500
xmlrpclib.py(197): SYSTEM_ERROR = -32400
xmlrpclib.py(198): TRANSPORT_ERROR = -32300
xmlrpclib.py(201): NOT_WELLFORMED_ERROR = -32700
xmlrpclib.py(202): UNSUPPORTED_ENCODING = -32701
xmlrpclib.py(203): INVALID_ENCODING_CHAR = -32702
--
xmlrpclib.py(205): METHOD_NOT_FOUND = -32601
xmlrpclib.py(206): INVALID_METHOD_PARAMS = -32602
xmlrpclib.py(207): INTERNAL_ERROR = -32603
xmlrpclib.py(215): class Error(Exception):
--- modulename: xmlrpclib, funcname: Error
xmlrpclib.py(215): class Error(Exception):
xmlrpclib.py(216): """Base class for client errors."""
xmlrpclib.py(217): def __str__(self):
xmlrpclib.py(230): class ProtocolError(Error):
--- modulename: xmlrpclib, funcname: ProtocolError
xmlrpclib.py(230): class ProtocolError(Error):
xmlrpclib.py(231): """Indicates an HTTP protocol error."""
xmlrpclib.py(232): def __init__(self, url, errcode, errmsg, headers):
xmlrpclib.py(238): def __repr__(self):
xmlrpclib.py(249): class ResponseError(Error):
--- modulename: xmlrpclib, funcname: ResponseError
xmlrpclib.py(249): class ResponseError(Error):
xmlrpclib.py(250): """Indicates a broken response package."""
xmlrpclib.py(251): pass
xmlrpclib.py(262): class Fault(Error):
--- modulename: xmlrpclib, funcname: Fault
xmlrpclib.py(262): class Fault(Error):
xmlrpclib.py(263): """Indicates an XML-RPC fault package."""
xmlrpclib.py(264): def __init__(self, faultCode, faultString, **extra):
--
xmlrpclib.py(515): try:
xmlrpclib.py(517): import _xmlrpclib
xmlrpclib.py(520): except (AttributeError, ImportError):
xmlrpclib.py(521): FastParser = FastUnmarshaller = None
xmlrpclib.py(523): try:
xmlrpclib.py(524): import _xmlrpclib
xmlrpclib.py(526): except (AttributeError, ImportError):
xmlrpclib.py(527): FastMarshaller = None
xmlrpclib.py(536): try:
xmlrpclib.py(537): import sgmlop
xmlrpclib.py(540): except ImportError:
xmlrpclib.py(541): SgmlopParser = None # sgmlop accelerator not available
xmlrpclib.py(579): try:
--
__init__.py(31): try:
__init__.py(32): import _xmlplus
__init__.py(33): except ImportError:
__init__.py(34): pass
--- modulename: __init__, funcname: <module>
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
gettext.py(468): if not mofiles:
gettext.py(469): if fallback:
gettext.py(471): raise IOError(ENOENT, 'No translation file found for domain', domain)
gettext.py(533): except IOError:
gettext.py(534): return message
--- modulename: argparse, funcname: add_argument_group
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
gettext.py(468): if not mofiles:
gettext.py(469): if fallback:
gettext.py(471): raise IOError(ENOENT, 'No translation file found for domain', domain)
gettext.py(533): except IOError:
gettext.py(534): return message
--- modulename: argparse, funcname: add_argument_group
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
genericpath.py(17): try:
genericpath.py(18): st = os.stat(path)
genericpath.py(19): except os.error:
genericpath.py(20): return False
gettext.py(447): for lang in nelangs:
--
gettext.py(468): if not mofiles:
gettext.py(469): if fallback:
gettext.py(471): raise IOError(ENOENT, 'No translation file found for domain', domain)
gettext.py(533): except IOError:
gettext.py(534): return message
--- modulename: argparse, funcname: add_argument
[root@geppetto ansible]#