Fix exception err in old python, disabled list and logging.handlers