Closed lifeofbolo closed 8 years ago
https://github.com/PokemonGoF/PokemonGo-Bot/wiki/No-JSON-object-could-be-decoded-or-decoder.py-error
Also some of your double quotes don't look right in the screenshot
im getting this...
Yes, you seem to be getting the double quotes wrong. Probably something your text editor does. Try copying the example file, and editing only the text inside the quotes
@mrthrowaway whats the next step? :-D
python pokecli.py
@mrthrowaway but what does this mean?
Where is your config.json file? If its in a different location other than the default or if you've renamed it
do python pokecli.py -cf path/to/config.json
@mrthrowaway getting this now :-) whats next?
(PokemonGo-Bot) Kenneths-MacBook-Pro:PokemonGo-Bot kennethbolo$ python pokecli.py [2016-07-30 21:04:11] [x] PokemonGO Bot v1.0 [2016-07-30 21:04:11] [x] Configuration initialized [2016-07-30 21:04:11] [#] IMPORTANT: Rename and configure release_config.json.example for your Pokemon release logic first!
IMPORTANT: Rename and configure release_config.json.example for your Pokemon release logic first!
That :P
change it back to config.json.example?
nope. you'll find a file named release_config.json.example
, change it to release_config.json
@mrthrowaway I'm getting this now.
[2016-07-30 22:33:51] [x] PokemonGO Bot v1.0 [2016-07-30 22:33:51] [x] Configuration initialized [2016-07-30 22:33:51] [x] The location given using -l could not be parsed. Checking for a cached location. [2016-07-30 22:33:53] Login Error, server busy
Login error happens when the pokemon go servers are busy. If you location isn't recognized, you could try entering the latitude and longitude manually
@mrthrowaway I managed to run it. By cloning and adding the Google generated password. But how do i set it up with the web ui?
git submodule init
git submodule update
cd web
<edit userdata.js or config/userdata.js depending on what version you're on>
python -m SimpleHTTPServer
And browse to http://localhost:8000
@mrthrowaway should i run it in a new terminal window? or in the same terminal as pokecli.py?
right now i'm running it in this order.
run it separately
@mrthrowaway do i need to download openpogoweb-master first? i'm getting this message
git submodule
command should be run inside PokemonGo-Bot
@mrthrowaway So what order should i put git submodule in?
cd pokemongo-bot virtualenv . source bin/activate
cd path/to/PokemonGo-Bot git submodule init git submodule update cd web <edit userdata.js or config/userdata.js depending on what version you're on> The above bit only needs to be done the first time To start the web interface, cd path/to/PokemonGo-Bot/web python -m SimpleHTTPServer
This is run separately from your bot, presumably in another terminal window/tab
@mrthrowaway is this correct? i'm getting a blank screen on my localhost.
you need to run the server from inside the web directory
@mrthrowaway u mean the OpenPoGoWeb-master this is the current state, what did i miss?
If you followed the installation instructions, you end up with the PokemonGo-Bot/
directory with the web/
directory inside it.
If your OpenPoGoWeb directory is named something other than web
or located elsewhere, you'll have to rename it to web
and move it inside the bot directory
@mrthrowaway now its running a blank screen on the web ui
Umm. Did you install the bot using git like the installation instructions said or did you download a zip file?
@mrthrowaway now i am getting this?
At this point, I'd just start over and go through the installation instructions step by step
https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Installation
At the end, you will have the directory named PokemonGo-Bot
from where you run the bot, and a web
directory inside that from where you run the web interface.
If you still have issues, join the Slack chanel at https://pokemongo-bot.herokuapp.com/ Someone with more experience with MacOS may be able to help you there
Regarding the error you last posted https://github.com/PokemonGoF/PokemonGo-Bot/issues/2082
thank you very much 👍