Skip to content

Comments

Fix No such file or directory caused by #4513#4720

Merged
solderzzc merged 1 commit intoPokemonGoF:devfrom
cmezh:web_inventory
Aug 25, 2016
Merged

Fix No such file or directory caused by #4513#4720
solderzzc merged 1 commit intoPokemonGoF:devfrom
cmezh:web_inventory

Conversation

@cmezh
Copy link
Contributor

@cmezh cmezh commented Aug 25, 2016

Original output:

Traceback (most recent call last):
  File "pokecli.py", line 705, in <module>
    main()
  File "pokecli.py", line 104, in main
    bot.start()
  File "/home/cmezh/fork/sandbox/pokemongo_bot/__init__.py", line 109, in start
    init_inventory(self)
  File "/home/cmezh/fork/sandbox/pokemongo_bot/inventory.py", line 1219, in init_inventory
    _inventory = Inventory(bot)
  File "/home/cmezh/fork/sandbox/pokemongo_bot/inventory.py", line 1086, in __init__
    self.refresh()
  File "/home/cmezh/fork/sandbox/pokemongo_bot/inventory.py", line 1096, in refresh
    self.update_web_inventory()
  File "/home/cmezh/fork/sandbox/pokemongo_bot/inventory.py", line 1102, in update_web_inventory
    with open(web_inventory, "r") as infile:
IOError: [Errno 2] No such file or directory: u'/home/cmezh/fork/sandbox/pokemongo_bot/../web/inventory-notabot11.json'

@solderzzc
Copy link
Contributor

Good catch.

@solderzzc solderzzc merged commit 54f78b8 into PokemonGoF:dev Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants