Closed alexanderrock closed 8 years ago
Traceback (most recent call last):
File "D:\Github\PokemonGo-Bot\pokecli.py", line 446, in <module>
main()
File "D:\Github\PokemonGo-Bot\pokecli.py", line 71, in main
bot.tick()
File "D:\Github\PokemonGo-Bot\pokemongo_bot\__init__.py", line 92, in tick
if worker.work() == WorkerResult.RUNNING:
File "D:\Github\PokemonGo-Bot\pokemongo_bot\cell_workers\move_to_map_pokemon.py", line 161, in work
self.update_map_location()
File "D:\Github\PokemonGo-Bot\pokemongo_bot\cell_workers\move_to_map_pokemon.py", line 107, in update_map_location
return log.logger('Map location data was not valid', 'red')
NameError: global name 'log' is not defined
I'm having the same issue. Not sure.
@alexanderrock: do you have this https://github.com/AHAAAAAAA/PokemonGo-Map/ installed?
Never mind, seems that the wrong map was the case on my behalf at least.
log.logger is a typo and should be changed to logger.log
Expected Behavior
Bot starts
Actual Behavior
Bots stopped with following error
return log.logger('Map location data was not valid', 'red') NameError: global name 'log' is not defined
Could not reach PokemonGo-Map Server
Steps to Reproduce
Config
}
Map Config
OS: Gentoo Linux Git Commit: 361c0fa11783085ea201a71a99f6c43859e8c239 Python Version: 2.7.10