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

Only lets me login 1 time per account?

Open Rodwiththegreatbod opened this issue 10 years ago • 2 comments

Expected Behavior

To be able to start the Bot in terminal, then stop it, then be able to start it again whenever I choose.

Actual Behavior

I can only run the bot one time per account. After that, I have to change my account information in the config file for it to work.

Steps to Reproduce

Just running the bot

Other Information

This is the error that shows in terminal Traceback (most recent call last): File "pokecli.py", line 220, in main() File "pokecli.py", line 206, in main bot.start() File "/Users/userstuff/PokemonGo-Bot/pokemongo_bot/init.py", line 31, in start self._setup_api() File "/Users/userstuff/PokemonGo-Bot/pokemongo_bot/init.py", line 159, in _setup_api balls_stock = self.pokeball_inventory() File "/Users/userstuff/PokemonGo-Bot/pokemongo_bot/init.py", line 234, in pokeball_inventory inventory_dict = inventory_req['responses']['GET_INVENTORY'][ KeyError: 'GET_INVENTORY' OS: Git Commit: commit 4182e93f9bfbe471d07b74e95c55cdfbacda127b Python Version: Python 2.7.10

Rodwiththegreatbod avatar Aug 02 '16 22:08 Rodwiththegreatbod

Could you please explain how to fix both issues? The error I show only appears when I use Control C in terminal to stop the bot, then try to restart the bot with the same account logged in. For example, if I tried to use the bot with [email protected], it would work fine for the first use. But if I stopped the bot in terminal, then tried to start it again (still using the account [email protected]) the error I pasted in my issue would appear. However, the error disappears after I try using a new account with the bot. Any help would be greatly appreciated.

Cheers

On Tue, Aug 2, 2016 at 6:52 PM, Benjamin G [email protected] wrote:

your error has nothing to do with what you are describing

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PokemonGoF/PokemonGo-Bot/issues/2405#issuecomment-237073602, or mute the thread https://github.com/notifications/unsubscribe-auth/AKNs_Vgf6jHE_vNfj2aWdwc5-9qACJXkks5qb8ocgaJpZM4JbHxV .

Rodwiththegreatbod avatar Aug 02 '16 23:08 Rodwiththegreatbod

I get that Get_Inventory error often, usually first time starting the bot. I just attempt to start it again immediately afterwards and it works.

Avaryan avatar Aug 03 '16 01:08 Avaryan