PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

No config argument

Open Elim160 opened this issue 10 years ago • 7 comments

PokemonGO Bot v1.0 2016-08-07 11:14:31,685 [ cli] [INFO] No config argument specified, checking for /configs/config.json Traceback (most recent call last): File "pokecli.py", line 501, in main() File "pokecli.py", line 132, in main raise e ValueError: No JSON object could be decoded

this is the error phrase that I got after setting up my json file.

OS: Mac OS

Elim160 avatar Aug 07 '16 16:08 Elim160

Your JSON is not valid.

cwild avatar Aug 07 '16 16:08 cwild

Okay when I put my JSON into jsonlint.com , this is the error I get Error: Parse error on line 2: { "auth_service": “ptc”, "username": ------------------^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined' @cwild

Elim160 avatar Aug 07 '16 16:08 Elim160

fix the string (retyp the "") or paste the first section of your json here and I will fix it.

bruvv avatar Aug 07 '16 16:08 bruvv

Your quotes are not regular ones.

antoineneff avatar Aug 07 '16 16:08 antoineneff

Okay I changed them and now I am Getting this error PokemonGO Bot v1.0 2016-08-07 11:32:45,545 [ cli] [INFO] No config argument specified, checking for /configs/config.json Traceback (most recent call last): File "pokecli.py", line 501, in main() File "pokecli.py", line 132, in main raise e ValueError: Expecting : delimiter: line 3 column 20 (char 48)

Elim160 avatar Aug 07 '16 16:08 Elim160

NVM GOT it

Elim160 avatar Aug 07 '16 16:08 Elim160

@Elim160 can you read my question? If you want help than profide the info you are asked.... good to hear that you fixed it, if you can please post the fix and close the issue.

bruvv avatar Aug 07 '16 16:08 bruvv