Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 25, 2016
Merged

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

merged 1 commit into from
Aug 25, 2016

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