-
example.py: error: argument -l/--location: expected one argument
I get this error when I change the coords from central park to sydney. Central park works just fine, I only replaced this:
start python example.py -u XXXX -p XXXX -l 40.768342,-73.973298 -st 10
into this
start python example.py -u XXXX -p XXXX -l -33.858949,151.213280 -st 10
-
Private
Originally Posted by
serotini
example.py: error: argument -l/--location: expected one argument
I get this error when I change the coords from central park to sydney. Central park works just fine, I only replaced this:
start python example.py -u XXXX -p XXXX -l 40.768342,-73.973298 -st 10
into this
start python example.py -u XXXX -p XXXX -l -33.858949,151.213280 -st 10
I use a textbased location: start python example.py -u XXXX -p XXXX -l "Vondelpark, Amsterdam" -st 10
Application is automatically converting the text to coordinates. That is working.
-
Member
It worked so well like 8-9 times but now all of sudden i get this: UnicodeDecodeError: 'utf8' codec can't decode byte 0x86 in position 3: 'utf8' codec can't decode byte 0x86 in position 3: invalid start byte in field: ResponseEnvelop.Profile.unknown11
-
Member
Originally Posted by
Schroom
Would it be possible to create a new fake pokemon trainer account for this, just to get the pokemon location, and then go to that location with my real Google Account?
thats kinda exactly what were doing, and whats being advertised all the time ... the acc you use to generate the map is a throwaway acc, you DO NOT WANT it to be your main acc, because ittl surely get banned. find the mons with the throwaway, go collect with main.
-
Originally Posted by
nvb9
I use a textbased location: start python example.py -u XXXX -p XXXX -l "Vondelpark, Amsterdam" -st 10
Application is automatically converting the text to coordinates. That is working.
What would I have to type to get this spot then?
https://www.google.nl/maps/place/Syd...!4d151.2092955
-
Private
Originally Posted by
serotini
Try "albert street, sydney"
-
Corporal
Originally Posted by
serotini
example.py -u LOGIN -p PASS -l "-33.8590932, 151.2129636" -st 3
-
Member
Originally Posted by
linusman216
It worked so well like 8-9 times but now all of sudden i get this: UnicodeDecodeError: 'utf8' codec can't decode byte 0x86 in position 3: 'utf8' codec can't decode byte 0x86 in position 3: invalid start byte in field: ResponseEnvelop.Profile.unknown11
No possible fix? Reinstalled everything 2 times as well.
Here is the complete error message. http://imgur.com/rq3Fgup
And another: http://imgur.com/0Jc0jyb
Last edited by linusman216; 07-17-2016 at 06:40 AM.
-
Member
please help on python
usage: example.py (-h) -u username -p username -1 location -st STEP_Limit (-d)
example.py: error: unrecongnized arguments: AUSTRALIA
after i enter
c:\
cd C:\YOUR PATH\PokemonGo-Map-master
start python example.py -u pass -p pass -l SYDNEY, AUSTRALIA -st 10
start chrome.exe http://localhost:5000/
pause
-
Corporal
Originally Posted by
ts00172511
please help on python
usage: example.py (-h) -u username -p username -1 location -st STEP_Limit (-d)
example.py: error: unrecongnized arguments: AUSTRALIA
after i enter
c:\
cd C:\YOUR PATH\PokemonGo-Map-master
start python example.py -u pass -p pass -l SYDNEY, AUSTRALIA -st 10
start chrome.exe
http://localhost:5000/
pause
start python example.py -u pass -p pass -l "SYDNEY, AUSTRALIA" -st 10
-
Post Thanks / Like - 1 Thanks
ts00172511 (1 members gave Thanks to piotr55 for this useful post)
-
Member
now server down
thanks for the reply will try it when server up again
-
Corporal
Originally Posted by
ts00172511
now server down

thanks for the reply will try it when server up again
just retry to get another API endpoint
-
Post Thanks / Like - 1 Thanks
ts00172511 (1 members gave Thanks to piotr55 for this useful post)
-
Member
just tried this it say RPC server offline
im getting this
File "C:\Python27\lib\site-packages\flask\app.py", line 2000, in __call__
return self.wsgi_app(environ, start_response)
File "C:\Python27\lib\site-packages\flask\app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "C:\Python27\lib\site-packages\flask\app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1625, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\pogo\example.py", line 235, in fullmap
main()
File "C:\pogo\example.py", line 319, in main
h = heartbeat(api_endpoint, access_token, response)
File "C:\pogo\example.py", line 221, in heartbeat
response.unknown7,
AttributeError: 'NoneType' object has no attribute 'unknown7'
Last edited by ts00172511; 07-17-2016 at 06:53 AM.
-
Member
Originally Posted by
piotr55
^^ exactly this u have to do. confirmed working
fix for only walking north (not fully tested)
replace lines 347 - 354 in example.py
Code:
if pos is 1:
set_location_coords(origin.lat().degrees+offset, origin.lng().degrees-offset, 0)
elif pos is 2:
set_location_coords(origin.lat().degrees+offset, origin.lng().degrees+offset, 0)
elif pos is 3:
set_location_coords(origin.lat().degrees-offset, origin.lng().degrees-offset, 0)
elif pos is 4:
set_location_coords(origin.lat().degrees-offset, origin.lng().degrees+offset, 0)
now we get a cross pattern :X
-
Member
this moment when u look for the issue for "unrecongnized arguments: 12.409309" and u just forget to put your location between this: "... XD now its all working fine :P