Crash on launch in dev branch
Expected Behavior
Start walking towards a pokestop
Actual Behavior
[00:04:51] Scanning area for objects....
[00:04:51] Walking from (4886673895734975231, 4886673885291154728) to [4.886425257326149e+18, 4.886414562853954e+18] 11101.88km
Traceback (most recent call last):
File "pokecli.py", line 272, in
Steps to Reproduce
Start bot with location "Luzern" and cached location turned off. Config: { "auth_service": "google", "username": "[email protected]", "password": "xxx", "location": "Luzern Löwenplatz", "gmapkey": "xxx", "max_steps": 6, "mode": "all", "walk": 4.16, "debug": false, "test": false, "initial_transfer": 0, "location_cache": false, "distance_unit": "km", "item_filter": { "1": { "keep" : 100 }, "101": { "keep" : 10 }, "102": { "keep" : 30 }, "103": { "keep" : 30 }, "201": { "keep" : 30 }, "701": { "keep" : 100 } }, "evolve_all": "NONE", "evolve_speed": 20,
Other Information
OS: Archlinux Git Commit: 15e0161d32c7a78c230c6e75cfd6867663c985d1
this seems related to the coordinates not being passed correctly, like in #1263
Exactly the same problem.
revert to a working commit,
git reset --hard 74e37de
unless you know how to make it work again.
+1 Same issue
I had the same issue, I did a reinstall of the requirements.txt and it is now working fine.
you, it worked like he said.
Do:
c:\python27\scripts\pip.exe install -r requirements.txt --upgrade
and it will work again.
on lixux just do
pip install -r requirements.txt --upgrade
Correct, c:\python27\scripts\pip.exe install -r requirements.txt --upgrade is the fix for this.
The new version of the PgoAPI we use handles coordinates differently.
Still having this issue. Tried reinstalling everything. (pip uninstall -r requirements.txt and then an install) But coordinates are still messed up.
Pgoapi-1.1.0 is the correct one?
Can you paste the first line of requirements.txt?
@Calcyfer -e git+https://github.com/tejado/pgoapi.git@81e786cabf027a1c8fbd1e9a07e1c11aa3d8ee8b#egg=pgoapi
That's the right one.
Does /pokemongo_bot/init.py have i2f in it anywhere?
If not, what are the coordinates you are giving?
Yes it does.
from cell_workers.utils import distance, get_cellid, encode, i2f
Coordinates are: 40.782771,-73.969303
If that's the only location i2f is present in that file, that's not the issue.
Have you tried removing the entire folder (keeping config) and re-pulling and installing?
If that doesn't fix it, I'm afraid I can't figure out what the issue is.
@Calcyfer removed everything and repulled and it's working fine now. No idea where the problem would lie. Thanks :)
Welcome, glad it works. :)