Skip to content
Guest Big Announcement

[UPDATED] (WITH NEW API) Pokemon Go Bot for Mac!

Featured Replies

  • Replies 887
  • Views 125k
  • Created
  • Last Reply

would it be possible to create an application file like they do on windows so that no one need to compile it over Phyton? 

  • Author

would it be possible to create an application file like they do on windows so that no one need to compile it over Phyton? 

I dunno really... I will look into it

I get the below error. Can someone please help?

 

Kevins-MacBook-Pro:PokemonGo-Bot KHT$ source bin/activate

(PokemonGo-Bot) Kevins-MacBook-Pro:PokemonGo-Bot KHT$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 220, in <module>

    main()

  File "pokecli.py", line 197, in main

    config = init_config()

  File "pokecli.py", line 64, in init_config

    load.update(json.load(data))

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load

    **kw)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads

    return _default_decoder.decode(s)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode

    raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

  • Author

I get the below error. Can someone please help?

 

Kevins-MacBook-Pro:PokemonGo-Bot KHT$ source bin/activate

(PokemonGo-Bot) Kevins-MacBook-Pro:PokemonGo-Bot KHT$ python pokecli.py

Traceback (most recent call last):

  File "pokecli.py", line 220, in <module>

    main()

  File "pokecli.py", line 197, in main

    config = init_config()

  File "pokecli.py", line 64, in init_config

    load.update(json.load(data))

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load

    **kw)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads

    return _default_decoder.decode(s)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode

    raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

What are inside of your files? And did you install requirements.txt?

Actually, I fixed the slanted in the config.json and now I get the below error:

 

(PokemonGo-Bot) Kevins-MacBook-Pro:PokemonGo-Bot KHT$ python pokecli.py

[2016-07-28 21:03:15] [x] PokemonGO Bot v1.0

[2016-07-28 21:03:15] [x] Configuration initialized

[2016-07-28 21:03:18] 

[2016-07-28 21:03:18] [x] Address found: New York, Central Park

[2016-07-28 21:03:18] [x] Position in-game set as: (40.7711329, -73.97418739999999, 0.0)

[2016-07-28 21:03:18] 

Traceback (most recent call last):

  File "pokecli.py", line 220, in <module>

    main()

  File "pokecli.py", line 206, in main

    bot.start()

  File "/Users/KHT/Desktop/bot/PokemonGo-Bot/pokemongo_bot/__init__.py", line 31, in start

    self._setup_api()

  File "/Users/KHT/Desktop/bot/PokemonGo-Bot/pokemongo_bot/__init__.py", line 159, in _setup_api

    balls_stock = self.pokeball_inventory()

  File "/Users/KHT/Desktop/bot/PokemonGo-Bot/pokemongo_bot/__init__.py", line 234, in pokeball_inventory

    inventory_dict = inventory_req['responses']['GET_INVENTORY'][

KeyError: 'GET_INVENTORY'

Updated by itskht

Archived

This topic is now archived and is closed to further replies.

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.