-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Expecting property name: line 60 column 7 (char 1324) #2280
Comments
Replace MoveToFort section with this: { |
it crashed after that pull. So I created a new config.json from it and put my login info and changed back to my settings: "max_steps": 10, |
ok let me try this |
@justinbeatz |
@justinbeatz Give this man a raise! thx |
Created a PR to fix the issue with #2282 |
Expected Behavior
Should start Pokemon BOT
Actual Behavior
Traceback (most recent call last):
File "pokecli.py", line 452, in
main()
File "pokecli.py", line 53, in main
config = init_config()
File "pokecli.py", line 124, in init_config
load.update(json.load(data))
File "/usr/lib/python2.7/json/init.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 60 column 7 (char 1324)
Steps to Reproduce
Just pull the latest DEV branch, used the new config file example and changed my login info. When I run it, it fails.
pok1@pokebot1:~/PokemonGo-Bot$ git pull
remote: Counting objects: 81, done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 81 (delta 48), reused 35 (delta 35), pack-reused 12
Unpacking objects: 100% (81/81), done.
From https://github.com/PokemonGoF/PokemonGo-Bot
a9fd95b..eee7ba4 dev -> origin/dev
5df9610..b3c53ce feature/event-log -> origin/feature/event-log
Updating a9fd95b..eee7ba4
Fast-forward
CONTRIBUTORS.md | 2 ++
configs/config.json.example | 5 ++++-
pokecli.py | 1 -
pokemongo_bot/init.py | 41 +++++++++++++++++++++--------------------
pokemongo_bot/cell_workers/incubate_eggs.py | 2 +-
pokemongo_bot/cell_workers/move_to_fort.py | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
web | 2 +-
7 files changed, 91 insertions(+), 25 deletions(-)
The text was updated successfully, but these errors were encountered: