Jump to content

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


Amuyea

888 posts in this topic

Recommended Posts

  • Replies 887
  • Created
  • Last Reply
Posted

 

File "/Library/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

I keep getting this error when I try to run the bot

 

There are solution in more pages back

 

 

Hi guys, sorry to bother you. So i'm not a coder, however i managed to follow the instructions and install pretty much everything.

 

Now i get this

 

usage: pokecli.py [-h] [-cf CONFIG] -a AUTH_SERVICE [-u USERNAME]

                  [-p PASSWORD] [-l LOCATION] [-lc LOCATION_CACHE] [-m MODE]

                  [-w WALK] [-k GMAPKEY] [-ms MAX_STEPS]

                  [-it INITIAL_TRANSFER] [-d DEBUG] [-t TEST]

                  [-du DISTANCE_UNIT] [-if ITEM_FILTER] [-ev EVOLVE_ALL]

                  [-ec EVOLVE_CAPTURED]

pokecli.py: error: argument -a/--auth_service is required

 

From what i've understood, from http://jsonlint.com/ my config.json seems to be the problem?

 

I saw someone changed it with the following:

 

{

"{": {},
"\"auth_service\":“google”,": {},
"\"username\":"[email protected]”,”: {},
"\"password\”:”xxxxxx”,”: {},
"\"location\":“Zurich, Switzerland”,": {},
"\"gmapkey\":\"xxxxxx\",": {},
"\"max_steps\":5,": {},
"\"mode\":\"all\",": {},
"\"walk\":4.16,": {},
"\"debug\":false,": {},
"\"test\":false,": {},
"\"initial_transfer\":0,": {},
"\"location_cache\":true,": {},
"\"distance_unit\":\"km\",": {},
"\"item_filter\":\"101,102,103,104\",": {},
"\"evolve_all\":\"NONE\"": {},
"}": {}
}
 
what should i do?
 
thank you!

 

Try it?

 

 

Samuels-MacBook-Air:PokemonGo-Bot FlyPatch$ python pokecli.py

Traceback (most recent call last):

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

    import requests

ImportError: No module named requests

Samuels-MacBook-Air:PokemonGo-Bot FlyPatch$ 

 

Did you install requirements.txt?

 

 

d '/Users/FlyPatch/Downloads/POKEMON copy/PokemonGo-Bot/' && '/usr/bin/python'  '/Users/FlyPatch/Downloads/POKEMON copy/PokemonGo-Bot/pokecli.py'  && echo Exit status: $? && exit 1

Samuels-MacBook-Air:~ FlyPatch$ cd '/Users/FlyPatch/Downloads/POKEMON copy/PokemonGo-Bot/' && '/usr/bin/python'  '/Users/FlyPatch/Downloads/POKEMON copy/PokemonGo-Bot/pokecli.py'  && echo Exit status: $? && exit 1

Traceback (most recent call last):

  File "/Users/FlyPatch/Downloads/POKEMON copy/PokemonGo-Bot/pokecli.py", line 39, in <module>

    from pokemongo_bot import logger

  File "/Users/FlyPatch/Downloads/POKEMON copy/PokemonGo-Bot/pokemongo_bot/__init__.py", line 10, in <module>

    import yaml

ImportError: No module named yaml

Samuels-MacBook-Air:PokemonGo-Bot FlyPatch$ 

 

There are solution in pages back

 

I readed all the comments in this post but never found an fix for this:

 

When i try to do 'sudo pip install pgoapi' i get this error:

 

The directory '/Users/Jonas/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

The directory '/Users/Jonas/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

Collecting pgoapi

  Could not find a version that satisfies the requirement pgoapi (from versions: )

No matching distribution found for pgoapi

 

Btw i am the owner of the directory..

I think there are solution in pages back

Posted

It does not work for me anymore.. I re-downloaded bot files :wallbash: , checked every page for "Line38 ImportError: No module named requests.". But none helped.

And yes I've downloaded requirements.txt. I don't know what to do.

Can you please help me? I'm sorry if I'm pushing. I appreciate your help. 

  

 ^

  l

That was an hour ago. I got that error several times. And after i get that error, i re-down. files and try again. And it sometimes gives the same error, and sometimes bot starts and works. I don't understand why? 

And what is the solution because re-re-re-downloading is pretty boring and unreliable.  :/  

Again, i appreciate your help  (y)

Posted

No offence to you Amuyea, but this bot sucks lol, slow as hell, also it got me softbanned on both my account after using one location lol. It also took me an hour to setup, thanks for sharing though.

Posted

Hi Amuyea,

 

Thanks for the prompt reply. I tried to use the following:

 

{
"{": {},
"\"auth_service\":"google",": {},
"\"username\":"[email protected]",": {},
"\"password\":"xxxxxx",": {},
"\"location\":"Zurich, Switzerland",": {},
"\"gmapkey\":\"xxxxxx\",": {},
"\"max_steps\":5,": {},
"\"mode\":\"all\",": {},
"\"walk\":4.16,": {},
"\"debug\":false,": {},
"\"test\":false,": {},
"\"initial_transfer\":0,": {},
"\"location_cache\":true,": {},
"\"distance_unit\":\"km\",": {},
"\"item_filter\":\"101,102,103,104\",": {},
"\"evolve_all\":\"NONE\"": {},
"}": {}
}
 
JSONLint tells me:
Error: Parse error on line 3:
...\"auth_service\":"    google ",": {},    "\"
----------------------^
Expecting 'EOF', '}', ':', ',', ']', got 'undefined'
 
Then i also used this (taken from your pokemon-bot-master:
{
"auth_service": "google",
"username": "[email protected]",
"password": "xxxx",
"location": "Zurich, Switzerland",
"gmapkey": "xxxxx",
"max_steps": 5,
"mode": "all",
"walk": 4.16,
"debug": false,
"test": false,
"initial_transfer": 0,
"location_cache": true,
"distance_unit": "km",
"item_filter": "101,102,103,104",
"evolve_all": "NONE"
}
 
JSONLint at first told me there was an issue, it seems like it was the difference between " and the "italic one, now i get Valid JSON.
 
However, I still get this:

usage: pokecli.py [-h] [-cf CONFIG] -a AUTH_SERVICE [-u USERNAME]

                  [-p PASSWORD] [-l LOCATION] [-lc LOCATION_CACHE] [-m MODE]

                  [-w WALK] [-k GMAPKEY] [-ms MAX_STEPS]

                  [-it INITIAL_TRANSFER] [-d DEBUG] [-t TEST]

                  [-du DISTANCE_UNIT] [-if ITEM_FILTER] [-ev EVOLVE_ALL]

                  [-ec EVOLVE_CAPTURED]

pokecli.py: error: argument -a/--auth_service is required

 
Sorry no idea what to do, any suggestions?

Archived

This topic is now archived and is 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