Jump to content

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


Amuyea

888 posts in this topic

Recommended Posts

Hey buddy, worked fine for few hours and then these errors appear - any idea how i can fix it? Tried retyping source bin/activate and python pokecli.py but this was of no help. Thanks.  (y) 

 

[05:52:06] PokemonGO Bot v1.0

[05:52:06] No config argument specified, checking for /configs/config.json

Traceback (most recent call last):

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

    main()

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

    config = init_config()

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

    load.update(json.load(data))

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load

    **kw)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads

    return _default_decoder.decode(s)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode

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

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode

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

ValueError: No JSON object could be decoded

Copy the json in json files and copy it into http://jsonlint.com/ Then fix the error it gives you in your json.

Link to comment
Share on other sites

Hey buddy, worked fine for few hours and then these errors appear - any idea how i can fix it? Tried retyping source bin/activate and python pokecli.py but this was of no help. Thanks.  (y) 

 

[05:52:06] PokemonGO Bot v1.0

[05:52:06] No config argument specified, checking for /configs/config.json

Traceback (most recent call last):

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

    main()

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

    config = init_config()

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

    load.update(json.load(data))

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load

    **kw)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 339, in loads

    return _default_decoder.decode(s)

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode

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

  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode

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

ValueError: No JSON object could be decoded

 

every issue due to the JSON - Object can be avoided when checking if the object u modified is a valid JSON. 

As mentioned there are some websites where u can check whether its valid or not. Often problems are located in the ' " ' . So check if those are right in place and if there "up" .. german textEdit programs tend to put them on the bottom of the string.. thats not valid with JSON.

Link to comment
Share on other sites

Sometimes the bot crashes and you have to the the process of restarting it (start server, bin/activate , install requirements and starting the bot) all over again. I wrote an shell script to safe the work for you. Just drag and drop the file into your pokemongo - bot folder where the "pokecli.py" lays and execute via the terminal with the command "./restart.sh" ... and there you go.

 

Here the Download-Link: http://bit.ly/2ajwULb

Link to comment
Share on other sites

omg still error 

 

[2016-07-30 09:21:11] [x] PokemonGO Bot v1.0

[2016-07-30 09:21:11] [x] Configuration initialized

[2016-07-30 09:21:11] [x] Coordinates found in passed in location, not geocoding.

[2016-07-30 09:21:11] 

[2016-07-30 09:21:11] [x] Address found: 59.333409,18.045008

[2016-07-30 09:21:11] [x] Position in-game set as: (59.333409, 18.045008, 0.0)

[2016-07-30 09:21:11] 

[2016-07-30 09:21:13] Login Error, server busy

 

any idea how to solve this ? it's been like this since last nite :(

Link to comment
Share on other sites

omg still error 

 

[2016-07-30 09:21:11] [x] PokemonGO Bot v1.0

[2016-07-30 09:21:11] [x] Configuration initialized

[2016-07-30 09:21:11] [x] Coordinates found in passed in location, not geocoding.

[2016-07-30 09:21:11] 

[2016-07-30 09:21:11] [x] Address found: 59.333409,18.045008

[2016-07-30 09:21:11] [x] Position in-game set as: (59.333409, 18.045008, 0.0)

[2016-07-30 09:21:11] 

[2016-07-30 09:21:13] Login Error, server busy

 

any idea how to solve this ? it's been like this since last nite :(

The only time i received this error was because of a non valid json.. check if ur json is valid ... or if username and password really are correct.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines