Closed midnightsun183 closed 8 years ago
if you have 2fa enabled then you need to set your google apps password
thanks Dauth for the suggestion, but it didn't work.
Deactivated 2fa, I've also tried setting up a new google account, using "email@gmail", "email@gmail.com", ptc sign in, new ptc account sign in, used -a
and, --auth_service
in config.json
as well as pokecli.py
.
I've also restarted the bot, done a re-build; still nothing.
Any suggestions?
FML now this:
File "pokecli.py", line 182
required=required(“auth_service"),
Which would indicate a problem with pokecli.py
... but that is the same as source from GitHub.
# Read passed in Arguments
required = lambda x: not x in load
add_config(
parser,
load,
short_flag="-a",
long_flag="--auth_service",
help="Auth Service ('ptc' or 'google')",
required=required(“auth_service"),
default=None
i'm also having this issue.
You need to change the quotation marks around yourusername and password. The quotes autocorrect into slanted quotation marks, and invalidates the json. You need to either paste the json into a json validator like this or simply copy and paste the correct quotes " <-- this, in place of the faulty ones. That should solve the issue,
@midnightsun183 Also, I noticed that your username is not an email, if you are not logging in with your google account, chance the auth_service: "google" from "google" to "ptc" for the pokemon trainer account. If that isn't clear, I made a config file for you guys here: Its similar to the one I use, and it will catch anything above cp 400 or iv 0.4, automatically sell pokemon below your highest cp one, and gets around 25k xp/hour.
I have the correct quotations and my bot worked great yesterday but now it is also doing this. Any ideas?
Ok I think I've got it. Here's what I did.
Clear all Docker images
docker rmi $(docker images -q)
Change the italicized quotation marks to " " on username & password (also check the rest of the config.json for them).
Also check Pokecli.py [Also try using a differnt code editor, for some reason it doesn't always show]
cd to "PokemonGo-Bot" directory
Rebuild the image:
docker build -t pokemongo-bot .
To run PokemonGo-Bot Docker image you've created:
docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config-account1.json:/usr/src/app/configs/config.json pokemongo-bot
If you change anything, or reconfigure anything; restart from step 1.
Big thanks to @PraeceptorXS, @Dauth
Ok I think I've got it. Here's what I did.
Clear all Docker images docker rmi $(docker images -q)
Change the italicized quotation marks to " " on username & password (also check the rest of the config.json for them).
Also check Pokecli.py [Also try using a different code editor, for some reason it doesn't always show correctly]
cd to "PokemonGo-Bot" directory
Rebuild the image: docker build -t pokemongo-bot .
To run PokemonGo-Bot Docker image you've created:
docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config-account1.json:/usr/src/app/configs/config.json pokemongo-bot
If you change anything, or reconfigure anything; restart from step 1.
Big thanks to @PraeceptorXS, @Dauth
Expected Behavior
Log in and run. Entered:
docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config-account1.json:/usr/src/app/configs/config.json pokemongo-bot
Actual Behavior
I'm assuming I've made an error in
config.json
in eitherauth_service
orusername
.Other Information
Config:
OS: OS X Yosemite 10.10.2 Python Version: Python 2.7.12