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

now i get this error 

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 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load

    **kw)

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

    return _default_decoder.decode(s)

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

Posted

now i get this error 

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 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load

    **kw)

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

    return _default_decoder.decode(s)

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

try verifying ur json... 

Posted

I fixed the JSON problem by changing the code to the following

 

{
  "{": {},
  "\"auth_service\":“google”,": {},
  "\"username\":“REMOVED”,": {},
  "\"password\":“REMOVED”,": {},
  "\"location\":“Copenhagen, Denmark”,": {},
  "\"gmapkey\":\"XXXXXREMOVEDXXXX\",": {},
  "\"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\"": {},
  "}": {}
}

But now I get this error again. pokecli.py: error: argument -a/--auth_service is required

Everything was done accordingly to the video, nothing was skipped or not correct.

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