mchristopher / pokemongo-desktopmap Goto Github PK
View Code? Open in Web Editor NEWElectron App around PokemonGo-Map
Home Page: https://pokemon-go-updater.mike.ai/download
License: MIT License
Electron App around PokemonGo-Map
Home Page: https://pokemon-go-updater.mike.ai/download
License: MIT License
Great work on this! Very cool. For some reason, sometimes when plugging in custom lat/lng coords, sometimes the map will not load and throws the following AttributeError:
Traceback (most recent call last):
File "packages.zip\flask\app.py", line 2000, in __call__
return self.wsgi_app(environ, start_response)
File "packages.zip\flask\app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "packages.zip\flask\app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "packages.zip\flask\app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "packages.zip\flask\app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "packages.zip\flask\app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "packages.zip\flask\app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "packages.zip\flask\app.py", line 1625, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\example.py", line 807, in fullmap
'example_fullmap.html', key=GOOGLEMAPS_KEY, fullmap=get_map(), auto_refresh=auto_refresh)
File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\example.py", line 918, in get_map
zoom='15', )
File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\flask_googlemaps\__init__.py", line 43, in __init__
self.build_markers(markers)
File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\flask_googlemaps\__init__.py", line 79, in build_markers
self.add_marker(**marker)
File "C:\Users\Alex\Desktop\PokemonGoMap-Win\resources\app\map\flask_googlemaps\__init__.py", line 102, in add_marker
raise AttributeError('lat and lng required')
AttributeError: lat and lng required
Works fine right now just a possible suggestion
Hey I really appreciate you putting in the time to work on such a great project for the community. I was testing out the WIN version and was trying to manually type in coordinates and click "Set" and nothing would happen on the map. It would prompt a "GET" /next_loc with the coordinates I typed but I don't see any response. Is this simply for loading the pokemon and we just have to manually move the actual visual map? Is it just not working because of the server issues with niantic currently? Thanks!
Something like a sound or a text or email when a pokemon from a list of interested pokemon show up on the map you are looking at.
The set latitude and longitude only work from the opening screen, once the map has appeared they won't change the marker's position on the map. This is on the OS X version.
The map is currently not where I am located, it is across town. I got my current long/lat and put them in at the top. Then I clicked the set button. In the console, it says it saved that as the next location. Then, it goes through the steps and just does where it was before, not even going to the one I just tried to add. I can't figure out how to change the position, since it won't update
Using default coords or manual ones. Only shows a white screen doesn't load the map at all
What exactly does the refresh function? I'm not really sure if newly spawned pokemon are displayed on already scanned areas. Or do I have to restart the app everytime i want to scan the same area?
On the map you cannot see any pokemon, what it can be connected?
Heads up, this reports as a virus/malware component with Avast! and the programme will delete the .exe file upon detecting it. Requested a boot time scan, yadda, yadda.
It was quite unhappy with it, so fun times.
any way to increase the shown spawn radius of pokemon to show pokemon further way?
Simple enough. I may even tackle this myself. Just documenting it here in case somebody gets to it first.
Basically, I don't want to see a zillion zubats fill up the window. You can already sorta modify the source to have it ignore certain pokemon (Maybe you can just delete the images you don't want to load? Haven't tested), but that's cumbersome and I don't want to change things in source every time I want to see different pokemon.
If nobody wants to do UI work, a simple text file could work and just parse that. Ideally to help end users, Something in UI could be implemented.
This is more of a feature request.
Can you please add the ability to adjust the search range and do a location search via name such as "Street, Town, Country".
PokemonGo-Map already has this functionality
You're already the most awesome person in 2016, but could the next version retain a history of custom locations and maybe a way to save favorites? Or at least have the starting screen remember the last set of custom coordinates entered?
You're the best, thanks dude! :)
How do I change it to my location
Please, add key for Manual refresh, or make this automaticaly.
Hello,
I have found what I believe is a bug. When I launch the application, I am allowed to log in and use the application as described. However, if I close and relaunch an application, a bunch of errors are thrown. The entire error log is at the bottom of this post. As you can see in the video I attached, it works fine on the first run. On the second run, at 0:40 in the video is when the error is thrown. The big issue here is that a new python process is created, which allocates 1.9 GB of RAM to itself, and does NOT terminate when you close the application. At 1:02, you can see the application closed and the python process remaining. I recreate the bug again in the video, and you can see that the second time around it still leaves a python process open after the application is closed and it is also taking 1.9 GB of RAM.
Traceback (most recent call last):
File "packages.zip\flask\app.py", line 2000, in call
return self.wsgi_app(environ, start_response)
File "packages.zip\flask\app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "packages.zip\flask\app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "packages.zip\flask\app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "packages.zip\flask\app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "packages.zip\flask\app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "packages.zip\flask\app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "packages.zip\flask\app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\example.py", line 807, in fullmap
'example_fullmap.html', key=GOOGLEMAPS_KEY, fullmap=get_map(), auto_refresh=auto_refresh)
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\example.py", line 918, in get_map
zoom='15', )
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\flask_googlemaps__init__.py", line 43, in init
self.build_markers(markers)
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\flask_googlemaps__init__.py", line 79, in build_markers
self.add_marker(**marker)
File "C:\Users\David_Gaming\Desktop\New folder (2)\resources\app\map\flask_googlemaps__init__.py", line 102, in add_marker
raise AttributeError('lat and lng required')
AttributeError: lat and lng required
Sorry my bad english, map NO Loads,
map is white , Windows 7 Ultimate x64
If you cannot contact the login server or the release server, light up an "OFFLINE" icon. The servers are so unstable, we can't tell if the app is not working or the data is not. (we know the app is working. ;))
any chance to be able to see the lat long on mobile to update, that was I can have a tighter search range via steps. And the refresh button on mobile would be good as well.
AttributeError: 'tuple' object has no attribute 'parent_pid'
AttributeError: lat and lng required
on 4.4.0-31-generic GNU/Linux
and using python 2.7
I want to say thank you for you all taking the time to do this. I had a blast learning last night, it was working flawless. The servers been down most the day.
Thank you again
It was working fine until about 10 minutes before this post. Suddenly I'm getting 500 errors:
127.0.0.1 - - [21/Jul/2016 13:34:50] "GET / HTTP/1.1" 500 -
main.html:168 [2016-07-21 13:34:50,401] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "packages.zip/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "packages.zip/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "packages.zip/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "packages.zip/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "packages.zip/flask/app.py", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "./example.py", line 824, in fullmap
'example_fullmap.html', key=GOOGLEMAPS_KEY, fullmap=get_map(), >auto_refresh=auto_refresh)
File "./example.py", line 935, in get_map
zoom='15', )
File "/home/pike/Downloads/PokemonGoMap-Lin-x64/resources/app/map/flask_googlemaps>/init.py", line 44, in init
self.build_markers(markers)
File "/home/pike/Downloads/PokemonGoMap-Lin-x64/resources/app/map/flask_googlemaps>/init.py", line 80, in build_markers
self.add_marker(**marker)
File "/home/pike/Downloads/PokemonGoMap-Lin-x64/resources/app/map/flask_googlemaps/init.py", line 103, in add_marker
raise AttributeError('lat and lng required')
AttributeError: lat and lng requiredmain.html:168 127.0.0.1 - - [21/Jul/2016 13:34:50] "GET / HTTP/1.1" 500 -
Its an amazing project, but it just showed 5 different pokemons of ~50 after 5 minutes.
Any idea?
I'm on Mac OSX (El Capitan) and it seems like for the past several hours, when I open the program, it doesn't track my GPS location. It will drop me off the coast of California and I'm in Virginia. When I logged in about five minutes ago, it dropped me at my house but just to see, I closed the program and logged in again and it had me off the coast of California again.
my map is working but there are no pokemon appearing at the moment could I please get some help I would love to have this map working.
Should include a Pokemon Trainer Club login as well instead of just a Google only Login.
I've notices it's a little on the annoying side to open up google maps and move around to get GPS coordinates for different popular pokemon locations around town, then copy them and restart the app every time (since the Set location doesn't seem to be working, at least for me). But even if Set Location was working, it would be much more handy to be able to just long click on the map to move the waypoint as needed.
Thanks for the work you've done so far!
I have some ideas that may make this even better
4 Combine to find them all!!!
Also set location doesn't work for me
There should be a way to save your user name or password so when you reopen the application from a closed state you done need to re-auth yourself.
I have never seen it work and not from any the comments on reddit as well. If I turn location service on windows I get sent to where thinks I am. I like to set it to an exact location :(
how can i change my position and what do the numbers and the set on the top mean?
When I open it it puts me in the middle of the ocean. No pokemon are spawning when I was on land. I am running Mac osx el Capitan version 10.11.5. Anyone know whats wrong?
If you close the app - the Python thread continues to run in the background. Definitely an issue with the packaging. Process manager will show this. (OS X specifically).
Also, a leak means it will eventually eat up gigabytes of data. That could be the underlying PoGo API library's fault.
Map displays Pokemons and Gyms, but not PokeStops. I know it should, cause I used no-exe python version before and there is an argument for that. -dp
if I remember this correctly.
I open the map on my mac and it gets my location and I can see everything but, no pokemon are appearing on the map. I do not know why this is doing it could I please get some help.
I "refresh" the location but the app still remain on the previous settings.
there are no pokemon on map, still after 10 minutes not
Can you add instructions for how the program can be built and run from the sources?
Also would it be possible to run this on a webserver like wamp and open the page in chrome?
When I try to login the map does not load and I get the following error message:
Starting Python process...
Got open port: 8000
Maps path: /home/benjamin/Downloads/PokemonGoMap/resources/app/map
python ./example.py --auth_service ptc --token ## --location #.#,#.# --auto_refresh 10 --step-limit 7 --display-gym --port 8000 --parent_pid 17445
Python: File "./example.py", line 111
print '[-] {}'.format(message)
^
SyntaxError: invalid syntax
The problem is that you call the script with python
which is linked to python3.x
on my system (and probably on many others aswell), but the error message suggests that you need to call python2.x
. So you should explicitly specify which python version you need.
I can login but the map is not loading. Only white blank screen
When logging in, I first set the map location and then log in, but following that an error screen occurs and I wanted to see if I was doing something wrong. Thank you!
Thanks so much for this amazing app. I got the map loading and working but it seemed like after about 15-20 minutes it stopped loading any fresh pokemon spawns. Perhaps it is just user error and I am supposed to be doing something to cause a "refresh" ? Or is it supposed to constantly update the new pokemon by itself every X seconds? Thanks!
no pokemon.
if i select extract files.. "cannot create phyton.exe"
if extract here.. works
and wrong location since 0.03
First off, amazing work on this! I've tried a couple of the other self hosted options, but this one works the best by a long shot for me.
I however have strong passwords both on google and PTC, and there's currently no way paste into the fields, same for the coordinates.
If this is considered a bug, consider it submitted. If not, feel free to ignore! :)
can you get this working on IOS ? so i can look on my map while driving around using my location
To prevent a blank screen or using an API key limit, permit users to enter their own Google Maps API key.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.