PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Update run with docker instructions

Open pan-long opened this issue 10 years ago • 9 comments

Expected Behavior

Bot is working

Actual Behavior

Bot complaining couldn't find encrypt.so

Steps to Reproduce

Follow the instructions here

Other Information

OS: OSX(docker) Git Commit: ad6c21aa1dc0902c62e4001f9a81ce1fcd8a9f59

pan-long avatar Aug 07 '16 07:08 pan-long

https://github.com/PokemonGoF/PokemonGo-Bot/pull/2695

lafin avatar Aug 07 '16 07:08 lafin

@lafin Thanks for that, I will then wait the PR to be merged and close this issue.

pan-long avatar Aug 07 '16 08:08 pan-long

btw, I tested the PR + my dockerfile modification, bot is currently running smoothly ;)

acaranta avatar Aug 07 '16 08:08 acaranta

@acaranta I just applied your PR and rebuild my docker. It doesn't work for me. It still gives me OSError: encrypt.so: cannot open shared object file: No such file or directory Any ideas?

pan-long avatar Aug 07 '16 08:08 pan-long

$ docker build -t pokemongo-bot "docker build" requires exactly 1 argument(s). See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile

looking for some help dont really no how to get from this to

docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config-account1.json:/usr/src/app/configs/config.json pokemongo-bot

this is new to me, im a noob :(

trademarrk avatar Aug 07 '16 08:08 trademarrk

@trademarrk docker build -t pokemongo-bot .' don't forget the.` at the end.

pan-long avatar Aug 07 '16 08:08 pan-long

@acaranta I changed the dockerfile and rebuilt it, but I still get OSError: encrypt.so: cannot open shared object file: No such file or directory

gregzetko avatar Aug 07 '16 08:08 gregzetko

As said in my Dockerfile PR, it needs the #2643 PR to be applied, (at least the modification to the init file ! otherwise, nope it will not work ;) sorry ;)) .. What I did to try, run, and PR is to manually edit the init file in order for the encrypt.so file to be check "locally".

acaranta avatar Aug 07 '16 08:08 acaranta

@pan-long thanks a lot, got past it now and the image is created (y), seemed to get this issue pokecli.py: error: argument -a/--auth_service is required

when i put in this docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config-account1.json:/usr/src/app/configs/config.json pokemongo-bot I already edited the config.json though :S

trademarrk avatar Aug 07 '16 08:08 trademarrk