Skip to content

Crash after bot restart - Inventory Delta (Dev) #2523

@alb3rto

Description

@alb3rto

Expected Behavior

Run the bot

Actual Behavior

File "pokecli.py", line 446, in <module> main() File "pokecli.py", line 71, in main bot.tick() File "/home/alb3rto/PokemonGo-Bot/pokemongo_bot/__init__.py", line 92, in tick if worker.work() == WorkerResult.RUNNING: File "/home/alb3rto/PokemonGo-Bot/pokemongo_bot/cell_workers/spin_fort.py", line 72, in work " (Total: " + str(self.bot.item_inventory_count(item_id)) + ")", 'yellow' File "/home/alb3rto/PokemonGo-Bot/pokemongo_bot/__init__.py", line 421, in item_inventory_count 'GET_INVENTORY']['inventory_delta']['inventory_items'] KeyError: 'inventory_delta'

Steps to Reproduce

Start bot

Other Information

OS: ArchLinux
Git Commit: 2f91fd0
Python Version: Python 2.7.12

Inventory is not full (248/350)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions