-
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
Last location cache not working with Docker #3596
Comments
|
I edited only the config.json file in this way:
And then launched
|
Where the location_cache should be saved? |
That's the "magic" of docker. Every time you restart the container it starts from the state 0, unless you actually map for example cache folder / cache file to your local filesystem ( same as you do with config.json @pensiero example ) |
What is the cache folder? |
@readtimeout why? |
@pensiero i think mistake |
@pensiero $POKEMONGOFOLDER/data
In your case it would be
|
Thanks @lukaszraczylo, I created #3604 |
@lukaszraczylo your edit works, however probably the cache is totally not working, as @readtimeout said |
yeaaaa, @brantje's PR also created an anonying as hell debug on the CLI, and I was wondering why my map wasn't updating, @readtimeout is indeed correct, enabled that loop again updates the map. @douglascamata just making you aware of this. |
Expected Behavior
After stopping and running again docker, the player doesn't start from the last location
Actual Behavior
After stopping and running again docker, it start from the location set in the
config.json
Your config.json (remove your credentials and any other private info)
Steps to Reproduce
docker run --name=pokego-bot1 --rm -it -v $(pwd)/configs/config.json:/usr/src/app/configs/config.json pokemongo-bot
Other Information
OS: Debian
Git Commit: d5812e9
Python Version: 2.7.3
The text was updated successfully, but these errors were encountered: