Traceback (most recent call last):

 "pokecli.py", line 803, in <module>
main()

 "pokecli.py", line 150, in main
bot = start_bot(bot, config)

 "pokecli.py", line 107, in start_bot
bot.start()

 "P:\pokemon go\PokemonGo-Bot\pokemongo_bot\__init__.py", line 134, in start
self.sleep_schedule.work()

 "P:\pokemon go\PokemonGo-Bot\pokemongo_bot\sleep_schedule.py", line 50, in work
self._sleep()

 "P:\pokemon go\PokemonGo-Bot\pokemongo_bot\sleep_schedule.py", line 171, in _sleep
'wake': wake

 "P:\pokemon go\PokemonGo-Bot\pokemongo_bot\event_manager.py", line 76, in emit
handler.handle_event(event, sender, level, formatted_msg, data)

 "P:\pokemon go\PokemonGo-Bot\pokemongo_bot\event_handlers\logging_handler.py", line 140, in handle_event
getattr(logger, level)(formatted_msg.encode(sys.stdout.encoding, "replace").decode("utf-8"))TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):

 "sqlmap.py", line 110, in main
checkEnvironment()

 "sqlmap.py", line 96, in checkEnvironment
if distutils.version.LooseVersion(VERSION) < distutils.version.LooseVersion("1.0"):

 "usr/lib/python2.7/distutils/version.py", line 296, in __cmp__
return cmp(self.version, other.version)AttributeError: LooseVersion instance has no attribute 'version'