tehp / OpenPoGoBot

A PokemonGo Python bot - NO LONGER MAINTAINED
MIT License
123 stars 53 forks source link

No JSON object could be decoded #347

Closed UnKn0wN-Binary-zz closed 8 years ago

UnKn0wN-Binary-zz commented 8 years ago

Expected Behavior

Bot Should start, was working perfectly today.

Actual Behavior

[2016-08-21 10:23:18] [Plugins] Loaded plugin "evolver". [2016-08-21 10:23:19] [Plugins] Loaded plugin "socket". [2016-08-21 10:23:19] [Plugins] Loaded plugin "recycle_items". [2016-08-21 10:23:19] [Plugins] Loaded plugin "collect_rewards". [2016-08-21 10:23:19] [Plugins] Loaded plugin "catch_pokemon". [2016-08-21 10:23:19] [Plugins] Loaded plugin "spin_pokestop". [2016-08-21 10:23:19] [Plugins] Loaded plugin "transfer_pokemon". [2016-08-21 10:23:19] [Plugins] Loaded plugin "egg_incubator". [2016-08-21 10:23:19] [x] PokemonGO Bot v1.0 [2016-08-21 10:23:19] [x] Configuration initialized [2016-08-21 10:23:19] [Socket] Starting socket server...T raceback (most recent call last): File "C:\Users\root\Desktop\OpenPoGoBot\pokecli.py", line 88, in main() File "C:\Users\root\Desktop\OpenPoGoBot\pokecli.py", line 77, in main bot.start() File "C:\Users\root\Desktop\OpenPoGoBot\pokemongo_bot\bot.py", line 59, in st rt self._setup_api() File "C:\Users\root\Desktop\OpenPoGoBot\pokemongo_bot\bot.py", line 89, in _s tup_api self._set_starting_position() File "C:\Users\root\Desktop\OpenPoGoBot\pokemongobot\bot.py", line 175, in et_starting_position location_json = json.load(last_location_file) File "C:\Python27\lib\jsoninit.py", line 291, in load **kw) File "C:\Python27\lib\jsoninit.py", line 339, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

Steps to Reproduce

Bot was working fine yesterday, went to go start it today and have this error now after changing nothing.

Other Information

OS: WIN7 Git Commit:

UnKn0wN-Binary-zz commented 8 years ago

Just have to remove the Filed in Data Labeled Last-Location.