PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

UnboundLocalError: local variable 'bot' referenced before assignment

Open AllanJWLui opened this issue 10 years ago • 4 comments

Upon running master branch:

$ ./run.sh 2016-08-07 18:03:59,911 [ cli] [INFO] PokemonGO Bot v1.0 Traceback (most recent call last): File "pokecli.py", line 493, in main() File "pokecli.py", line 126, in main if bot: UnboundLocalError: local variable 'bot' referenced before assignment

Other Information

OS: Windows 10 Git Commit: ad6c21aa1dc0902c62e4001f9a81ce1fcd8a9f59 Python Version: 2.7.12

AllanJWLui avatar Aug 07 '16 10:08 AllanJWLui

I got this error before, when the config file have syntax error, missing a comma. Suggest u check ur config file.

loklam avatar Aug 07 '16 10:08 loklam

thanks!

AllanJWLui avatar Aug 07 '16 10:08 AllanJWLui

@arkriloth Can this be closed?

k4n30 avatar Aug 11 '16 15:08 k4n30

yup

AllanJWLui avatar Aug 11 '16 21:08 AllanJWLui