-
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
object has no attribute 'position' #1102
Comments
Replaced sensitive info with 'x' to prevent being banned. |
same issue. EDIT: OS: OSX 10.11.5 |
Happened to me with both positive and negative coordinates. @DimaVIII |
Same position with dev build returns: |
@banksymate |
@DimaVIII What location are you using in your config, I want to see if it works for me. |
Getting this too. |
@banksymate "location": "53.551472,10.002872", |
Removed the try \ catch so I could get a error, this is what I got. Traceback (most recent call last): |
Maybe this regex isn't finding the coordinates with negatives correctly? |
Yes I can confirm this too, the issue is coming from the negative coordinates. |
Dev branch doesn't work with negative coordinates for me. |
I can confirm this issue for current master branch. |
Found out the issue was a entered 'ß' in location in master branch. This was no problem in older builds. |
* Add ability to show scanned area's on the map * Only send scans from the last 15 minutes to the map * Hide Scanned Location Info Window * Fix broken parse_map arguments from rebase * Fix broken parse_map arguments from rebase * Fix flashing circles bug and remove circles after 15 mins
Expected Behavior
Bot runs
Actual Behavior
Crashes,
LOG:
[2016-07-26 21:10:56] [x] PokemonGO Bot v1.0
[2016-07-26 21:10:56] [x] Configuration initialized
[2016-07-26 21:10:57] [x] The location given using -l could not be parsed. Checking for a cached location.
[2016-07-26 21:11:13] [#] Username: x
[2016-07-26 21:11:13] [#] Acccount Creation: x
[2016-07-26 21:11:13] [#] Bag Storage: x
[2016-07-26 21:11:13] [#] Pokemon Storage: x
[2016-07-26 21:11:13] [#] Stardust: x
[2016-07-26 21:11:13] [#] Pokecoins: 0
[2016-07-26 21:11:13] [#] PokeBalls: 10
[2016-07-26 21:11:13] [#] GreatBalls: x
[2016-07-26 21:11:13] [#] UltraBalls: x
[2016-07-26 21:11:13] [#] -- Level: x
[2016-07-26 21:11:13] [#] -- Experience: x
[2016-07-26 21:11:13] [#] -- Experience until next level: x
[2016-07-26 21:11:13] [#] -- Pokemon Captured: x
[2016-07-26 21:11:13] [#] -- Pokestops Visited: x
[2016-07-26 21:11:13] [#]
Traceback (most recent call last):
File "pokecli.py", line 220, in
main()
File "pokecli.py", line 206, in main
bot.start()
File "/root/pgo/PokemonGo-Bot/pokemongo_bot/init.py", line 32, in start
self.stepper = Stepper(self)
File "/root/pgo/PokemonGo-Bot/pokemongo_bot/stepper.py", line 32, in init
self.origin_lat = self.bot.position[0]
AttributeError: 'PokemonGoBot' object has no attribute 'position'
Config:
{
"auth_service": "ptc",
"username": "x",
"password": "x",
"location": "45.5231,-122.6765", // PORTLAND, OR
"gmapkey": "x",
"max_steps": 5,
"mode": "all",
"walk": 4.16,
"debug": false,
"test": false,
"initial_transfer": 0,
"location_cache": true,
"distance_unit": "km",
"item_filter": "101,102,103,104",
"evolve_all": "NONE"
}
Console Args:
python pokecli.py
Steps to Reproduce
Running it on my server.
Other Information
OS: Ubuntu Server 14.04
Git Commit: 8934837
The text was updated successfully, but these errors were encountered: