Code Monkey home page Code Monkey logo

rocketmap's Introduction

RocketMap

Python 2.7 License Build Status

Live visualization of all the PokΓ©mon (with option to show gyms, raids and PokΓ©Stops) in your area. This is a proof of concept that we can load all the PokΓ©mon visible nearby given a location. Currently runs on a Flask server displaying Google Maps with markers on it.

Map

Features:

  • Shows PokΓ©mon, PokΓ©Stops, raids and gyms with a clean GUI.
  • Notifications
  • Lure information
  • Multithreaded mode
  • Filters
  • Independent worker threads (many can be used simultaneously to quickly generate a livemap of a huge geographical area)
  • Localization (en, es, fr, pt_br, de, ru, ko, ja, zh_tw, zh_cn, zh_hk)
  • DB storage (mysql) of all found PokΓ©mon
  • Incredibly fast, efficient searching algorithm (compared to everything else available)

Information

Installation

For instructions on how to setup and run the tool, please refer to the project documentation.

Deployment

Please note, deployments are not supported officially. You are using these deployment links at your own risk. Deploy Deploy on Scalingo

Contributions

Please submit all pull requests to develop branch.

Building off tejado's python pgoapi, Mila432's API, leegao's additions and Flask-GoogleMaps. Current version relies primarily on the pgoapi and Google Maps JS API.

Discord and front-end use Iconset by Roundicons Freebies and icon by Flat Icons from www.flaticon.com. License: CC 3.0 BY can be found here.

rocketmap's People

Contributors

6iz avatar ahaaaaaaa avatar alderon86 avatar andrewda avatar baithamel avatar brownslaughter avatar carltaylor1989 avatar chlodochar avatar chuyskywalker avatar foodforarabbit avatar friscomad avatar frostthefox avatar invisiblek avatar jagauthier avatar justsomedudeonthenet avatar jz6 avatar marauder37 avatar medghaim avatar monkeyleet avatar neskk avatar obihoernchen avatar onilton avatar parkershepherd avatar pogo-excalibur avatar primaxius avatar pyr0ball avatar sebastienvercammen avatar sirlindqvist avatar siteeffect avatar tomballgithub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rocketmap's Issues

Display problem with Google Chrome Browser

Hello,

I have a display problem with Google chrome.

I have a blank screen on the map location and on the left there are not tabs but I have not this problem on a private navigation window.

No problem with Firefox and Chrome on Android.

I deleted all cookies for my server IP but always this problem.

Screenshot:
(left: normal browser window / right: private browser)
https://i.gyazo.com/a5a892937e243ccedcd62344b6770ed0.png

( look on the left, there are the old "option" icon and blue buttons of the old version of PokeGo-map )

Thanks

Exceeded maximum connections.

Expected Behavior

Well, it should not result in a 500 internal server error and give me the requested file.
This is by using a script for running the webserver only, and then I have a script for the scanners.

[2016-08-08 10:44:27,527] ERROR in app: Exception on /raw_data [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1637, in full_dispatch_request
rv = self.preprocess_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1837, in preprocess_request
rv = func()
File "/usr/local/lib/python2.7/dist-packages/playhouse/flask_utils.py", line 165, in connect_db
self.database.connect()
File "/usr/local/lib/python2.7/dist-packages/peewee.py", line 3402, in connect
**self.connect_kwargs)
File "/usr/local/lib/python2.7/dist-packages/playhouse/pool.py", line 127, in _connect
raise ValueError('Exceeded maximum connections.')
ValueError: Exceeded maximum connections.

2016-08-08 10:44:27,527 [ Thread-11337][ app][ ERROR] Exception on /raw_data [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1637, in full_dispatch_request
rv = self.preprocess_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1837, in preprocess_request
rv = func()
File "/usr/local/lib/python2.7/dist-packages/playhouse/flask_utils.py", line 165, in connect_db
self.database.connect()
File "/usr/local/lib/python2.7/dist-packages/peewee.py", line 3402, in connect
**self.connect_kwargs)
File "/usr/local/lib/python2.7/dist-packages/playhouse/pool.py", line 127, in _connect
raise ValueError('Exceeded maximum connections.')
ValueError: Exceeded maximum connections.

Current Behavior

I get this error as I browse around the map, and it results in 500 internal server error, so the map is unstable and result in not updating as frequent as normal.

Possible Solution

Steps to Reproduce (for bugs)

I think it has something to do with the amount of workers, but i'm not 100% sure.

  1. Run latest version (3.0.0)
  2. Have multiple scanners on a given location.

Context

As it gives me 500 internal server error, it makes it hard to navigate around the site without having to refresh the page a few times because it gives an 500 internal server error to maybe a javascript file, or loading a picture of a pokemon for the map.

Your Environment

  • Version used: 3.0.0
  • Environment name and version (e.g. Python 2.7): Python 2.7
  • Operating System and version (desktop or mobile): Debian 8.0

Where to go for help

So before the api update I had this working find with little to no issues even updating the develop branch every time there was an update I would completely redue everything with no issues. But now it seems I just get error after error. I tried to ask but they just closed the issue :/ is there anywhere I can go for help. I would really like to get the map backup before they change the API again :( Thanks for any help you can provide me.

Add Discord server URL on Readme

Expected Behavior

Discord link somewhere.

Current Behavior

Discord link cannot be found anywhere. I deleted the server by mistake and I can't rejoin. ^^

Possible Solution

Adding the Discord link in the readme.

Steps to Reproduce (for bugs)

  1. Delete your Discord server.
  2. Search a link the rejoin the server.
  3. Enjoy

Context

I'm sad because I can't join the fun.

Your Environment

  • Version used:
  • Environment name and version (e.g. Python 2.7):
  • Operating System and version (desktop or mobile):

No module named flask_compress

After PGO API installed, when I tried to run runserver.py, it I receive this:-

ImportError: No module named flask_compress

Cert file missing?

2016-08-08 11:28:02,796 [ MainThread][ runserver][ INFO] Parsed location is: -22.9621/14.4845/0.0000 (lat/lng/alt)
2016-08-08 11:28:02,796 [ MainThread][ runserver][ INFO] Parsing of Pokestops disabled
2016-08-08 11:28:02,796 [ MainThread][ runserver][ INFO] Parsing of Gyms disabled
2016-08-08 11:28:02,799 [ MainThread][ models][ INFO] Connecting to local SQLite database
2016-08-08 11:28:02,802 [ search_thread][ search][ INFO] Search overseer starting
2016-08-08 11:28:02,802 [ search_thread][ search][ INFO] Starting search worker threads
2016-08-08 11:28:02,802 [ search_thread][ search][ INFO] New location caught, moving search grid
2016-08-08 11:28:02,803 [ search_worker_0][ search][ INFO] Search step 1 beginning (queue size is 19)
2016-08-08 11:28:02,805 [ search_worker_0][ auth_ptc][ INFO] PTC User Login for: *********
Traceback (most recent call last):
File "runserver.py", line 167, in
context.load_cert_chain(keyfile="/etc/letsencrypt/live/git.derzer.at/privkey.pem", certfile="/etc/letsencrypt/live/git.derzer.at/cert.pem")
IOError: [Errno 2] No such file or directory

I'm receiving this error when I start my map. I use this command in python to start it up:

python runserver.py -a ptc -u ********* -p ************ -l "areallocation" -st 5 -H 0.0.0.0 -P 5000 -ng -nk -k MYGOOGLEMAPAPI

I'm running Python 2.7 on a Window 7 64bit VM

TypeError Issue at startup : got an unexpected keyword argument 'syntax'

I cloned the repo, installed python modules, installed grunt globally, installed nodes modules.
When I start the app with python ./runserver.py --help I've got the following error :

> python ./runserver.py --help
Traceback (most recent call last):
  File "./runserver.py", line 29, in <module>
    import pgoapi
  File "/usr/local/lib/python2.7/dist-packages/pgoapi/__init__.py", line 50, in <module>
    from pgoapi.pgoapi import PGoApi
  File "/usr/local/lib/python2.7/dist-packages/pgoapi/pgoapi.py", line 34, in <module>
    from pgoapi.rpc_api import RpcApi
  File "/usr/local/lib/python2.7/dist-packages/pgoapi/rpc_api.py", line 50, in <module>
    from POGOProtos.Networking.Envelopes_pb2 import RequestEnvelope
  File "/usr/local/lib/python2.7/dist-packages/pgoapi/protos/POGOProtos/Networking/Envelopes_pb2.py", line 16, in <module>
    from POGOProtos.Networking import Requests_pb2 as POGOProtos_dot_Networking_dot_Requests__pb2
  File "/usr/local/lib/python2.7/dist-packages/pgoapi/protos/POGOProtos/Networking/Requests_pb2.py", line 23, in <module>
    ENCOUNTER\x10\x91\x01\x12!\n\x1c\x43OLLECT_DAILY_DEFENDER_BONUS\x10\x92\x01\x12\x14\n\x0fUPGRADE_POKEMON\x10\x93\x01\x12\x19\n\x14SET_FAVORITE_POKEMON\x10\x94\x01\x12\x15\n\x10NICKNAME_POKEMON\x10\x95\x01\x12\x10\n\x0b\x45QUIP_BADGE\x10\x96\x01\x12\x19\n\x14SET_CONTACT_SETTINGS\x10\x97\x01\x12\x15\n\x10GET_ASSET_DIGEST\x10\xac\x02\x12\x16\n\x11GET_DOWNLOAD_URLS\x10\xad\x02\x12\x1c\n\x17GET_SUGGESTED_CODENAMES\x10\x91\x03\x12\x1d\n\x18\x43HECK_CODENAME_AVAILABLE\x10\x92\x03\x12\x13\n\x0e\x43LAIM_CODENAME\x10\x93\x03\x12\x0f\n\nSET_AVATAR\x10\x94\x03\x12\x14\n\x0fSET_PLAYER_TEAM\x10\x95\x03\x12\x1b\n\x16MARK_TUTORIAL_COMPLETE\x10\x96\x03\x12\x16\n\x11LOAD_SPAWN_POINTS\x10\xf4\x03\x12\t\n\x04\x45\x43HO\x10\x9a\x05\x12\x1b\n\x16\x44\x45\x42UG_UPDATE_INVENTORY\x10\xbc\x05\x12\x18\n\x13\x44\x45\x42UG_DELETE_PLAYER\x10\xbd\x05\x12\x17\n\x12SFIDA_REGISTRATION\x10\xa0\x06\x12\x15\n\x10SFIDA_ACTION_LOG\x10\xa1\x06\x12\x18\n\x13SFIDA_CERTIFICATION\x10\xa2\x06\x12\x11\n\x0cSFIDA_UPDATE\x10\xa3\x06\x12\x11\n\x0cSFIDA_ACTION\x10\xa4\x06\x12\x11\n\x0cSFIDA_DOWSER\x10\xa5\x06\x12\x12\n\rSFIDA_CAPTURE\x10\xa6\x06\x62\x06proto3')
TypeError: __init__() got an unexpected keyword argument 'syntax'

Environment

  • Version used: Latest commit (78fee4a)
  • Environment name and version:
    • Debian (Jessie)
    • Python 2.7.9
    • Pip 1.5.6
    • NPM 3.3.12
    • Node 5.1.0

Solution

On debian:
sudo apt-get autoremove python-protobuf
pip install -r requirements.txt

Anyone got this running on CentOS 6?

Hi,

Trying to make this work on CentOS 6 which by default ships with Python 2.6 and has glibc < 2.14 (while 2.14 is now required by the pgapi) so I've been fiddling some with SCL and compiling my own glibc but the proces hangs at:
2016-08-08 09:56:28,318 [ search_worker_0][ auth_ptc][ INFO] PTC User Login for: USERNAME

Of course, the USERNAME shows the real username, which I've replaced with this placeholder. It doesn't seem to be looping as CPU usage isn't increased. It simply "hangs". The same username works fine on another CentOS 7 testmachine.

Who has this running on CentOS 6? Please share the magic :-)

Error when On start (Can't assign requested address)

016-08-08 16:18:09,675 [ MainThread][ runserver][ INFO] Parsed location is: -8.7265/115.1684/0.0000 (lat/lng/alt)
2016-08-08 16:18:09,677 [ MainThread][ models][ INFO] Connecting to local SQLite database
2016-08-08 16:18:09,679 [ search_thread][ search][ INFO] Search overseer starting
2016-08-08 16:18:09,679 [ search_thread][ search][ INFO] Starting search worker threads
2016-08-08 16:18:09,681 [ search_thread][ search][ INFO] New location caught, moving search grid
2016-08-08 16:18:09,682 [ search_worker_0][ search][ INFO] Search step 1 beginning (queue size is 45)
2016-08-08 16:18:09,682 [ search_worker_0][ auth_google][ INFO] Google User Login for: cor******[email protected]
Traceback (most recent call last):
File "runserver.py", line 165, in
app.run(threaded=True, use_reloader=False, debug=args.debug, host=args.host, port=args.port)
File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 843, in run
run_simple(host, port, self, *_options)
File "/usr/local/lib/python2.7/site-packages/werkzeug/serving.py", line 694, in run_simple
inner()
File "/usr/local/lib/python2.7/site-packages/werkzeug/serving.py", line 656, in inner
fd=fd)
File "/usr/local/lib/python2.7/site-packages/werkzeug/serving.py", line 544, in make_server
passthrough_errors, ssl_context, fd=fd)
File "/usr/local/lib/python2.7/site-packages/werkzeug/serving.py", line 464, in init
HTTPServer.init(self, (host, int(port)), handler)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 417, in init
self.server_bind()
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 431, in server_bind
self.socket.bind(self.server_address)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 49] Can't assign requested address

Issue with new install

I used the run the PGM from the first repo and it worked great.
Now I get these errors:

Exception in search_worker:
Traceback (most recent call last):
  File "C:\PGM\pogom\search.py", line 219, in search_worker_thread
    check_login(args, account, api, step_location)
  File "C:\PGM\pogom\search.py", line 266, in check_login
    api.set_authentication(provider = account['auth_service'], username = account['username'], password = account['password'])
  File "c:\pokemongo-map\src\pgoapi\pgoapi\pgoapi.py", line 89, in __getattr__
    raise AttributeError
AttributeError

Expected Behavior

I expect the worker to work and the map to display.

Current Behavior

Nothing starts because of these errors

Steps to Reproduce (for bugs)

  1. use this config.ini file (personal data obscured):
auth-service:           ptc
username:               ***
password:               ***
location:               ***
gmaps-key:              ***
host:                   0.0.0.0
  1. run command runserver.py -st 5 -dc

Your Environment

  • Version used: latest dev version
  • Environment name and version (e.g. Python 2.7): Python 2.7
  • Operating System and version (desktop or mobile): Windows 10

Suggestion: Add Login / Password

Add a login prompt for accessing the service?

Expected Behavior

I run a server for a group of friends, mapping our small town.
I therefore try to limit access to just us, but there's always bound to be "leaks" of the adress and now we are suspecting it has been spread to alot of people, resulting in slowdowns on server.
We also see the scan pointer being moved all the time to far away locations, suggseting there's a lot of people using the location search.

Current Behavior

As of now, everyone can access the site.

Possible Solution

Add a login/password prompt where I assign these logins for my users to use only.
Would be great if a log would record given users login timestamps and IP.

Context

Server being slow due to lots of unwanted traffic.

Your Environment

  • Version used: Developer
  • Environment name and version: . Python 2.7
  • Operating System and version (desktop or mobile): desktop win 10.

xxhash Installation Error

When installing on a fresh Linux environment, xxhash installation errors will cause pip install -r requirements.txt to crash. This may result in errors such as (excuse the paraphrasing) "pgoapi is not installed", "please update to protobuf3" or similar.

Installing python-dev packages with apt-get install python-dev prior to installing requirements.txt allows xxhash to compile correctly, allowing the dependencies to install normally.

In the Discord, about a dozen people were stuck on this single error tonight, and a simple documentation acknowledgement could alleviate a lot of requests on this matter.

Python2.7 on Ubuntu 14.04 VPS, fresh install.

Workers crashes : AttributeError

The worker throw an exception "AttributeError"

Expected Behavior

Map work fine :P

Current Behavior

Each worker crash with an exception

2016-08-08 10:07:41,618 [ MainThread][ runserver][ INFO] Parsed location is: 43.6184/3.9145/0.0000 (lat/lng/alt)
2016-08-08 10:07:41,621 [ MainThread][ models][ INFO] Connecting to local SQLite database
2016-08-08 10:07:41,621 [ MainThread][ runserver][ INFO] Clearing database
2016-08-08 10:07:44,066 [ search_thread][ search][ INFO] Search overseer starting
2016-08-08 10:07:44,066 [ search_thread][ search][ INFO] Starting search worker threads
2016-08-08 10:07:44,070 [ search_thread][ search][ INFO] New location caught, moving search grid
2016-08-08 10:07:44,070 [ search_worker_0][ search][ INFO] Search step 1 beginning (queue size is 1)
2016-08-08 10:07:44,071 [ search_worker_2][ search][ INFO] Search step 2 beginning (queue size is 2)
2016-08-08 10:07:44,071 [ search_worker_1][ search][ INFO] Search step 3 beginning (queue size is 2)
2016-08-08 10:07:44,071 [ search_worker_2][ search][ ERROR] Exception in search_worker:
Traceback (most recent call last):
File "/home/pokemap/pogom/search.py", line 219, in search_worker_thread
check_login(args, account, api, step_location)
File "/home/pokemap/pogom/search.py", line 266, in check_login
api.set_authentication(provider = account['auth_service'], username = account['username'], password = account['password'])
File "/home/pokemap/src/pgoapi/pgoapi/pgoapi.py", line 89, in getattr
raise AttributeError
AttributeError

Context

I'm on debian x64, python 2.7, running the exact same command line than the previous repository.
The old version run fine (but does not got any information from server ofc)
I tried to update the old local repo with the new URL, and to checkout a brand new clone, both fail same way

Steps to perform "grunt build" properly

[ MainThread][ runserver][CRITICAL] Please run "grunt build" before starting the server
I can't find what folder I'm supposed to do that in. I am not aware of any particular step by step process to go through this such that I can actually type "grunt build" and get it to work. Its not in the wiki. Anyone who can help me go through this process?

Blank page after update

Expected Behavior

See a map with pokemons or without

Current Behavior

A blank page (tested multiple browsers), see screenshot.

This happend after I did a git pull and restarted the run server.py.
schermafbeelding 2016-08-08 om 12 16 20

I'm running on Ubuntu Server 16.04.1

example.py ?

C:\Python27\python.exe: can't open file 'example.py': [Errno 2] No such file or directory

i tried using the old one and it gives me a error in line 19. so is there a new example.py ? where can i get it?

Error in windows installation

I followed the installation steps of the wiki and still I get the following error:

2016-08-07 21:36:23,346 [ MainThread][ runserver][CRITICAL] It seems pgoapi is not installed. You must run pip install -r requirements.txt again

But, when I run pip install -r requirements.txt I get this:

Requirement already satisfied (use --upgrade to upgrade): six==1.10.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): Flask==0.11.1 in c:\python27\lib\site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): Jinja2==2.8 in c:\python27\lib\site-packages (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe==0.23 in c:\python27\lib\site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): Werkzeug==0.11.10 in c:\python27\lib\site-packages (from -r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): configargparse==0.10.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): click==6.6 in c:\python27\lib\site-packages (from -r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): itsdangerous==0.24 in c:\python27\lib\site-packages (from -r requirements.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): peewee==2.8.1 in c:\python27\lib\site-packages (from -r requirements.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in c:\python27\lib\site-packages (from -r requirements.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): geopy==1.11.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): s2sphere==0.2.4 in c:\python27\lib\site-packages (from -r requirements.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): gpsoauth==0.3.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): PyMySQL==0.7.5 in c:\python27\lib\site-packages (from -r requirements.txt (line 14))
Requirement already satisfied (use --upgrade to upgrade): flask-cors==2.1.2 in c:\python27\lib\site-packages (from -r requirements.txt (line 15))
Requirement already satisfied (use --upgrade to upgrade): flask-compress==1.3.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 16))
Requirement already satisfied (use --upgrade to upgrade): LatLon==1.0.1 in c:\python27\lib\site-packages (from -r requirements.txt (line 17))
Requirement already satisfied (use --upgrade to upgrade): pgoapi from git+https://github.com/keyphact/pgoapi.git#egg=pgoapi in c:\python27 (from -r requirements.txt (line 18))
Requirement already satisfied (use --upgrade to upgrade): xxhash in c:\python27\lib\site-packages (from -r requirements.txt (line 19))
Requirement already satisfied (use --upgrade to upgrade): sphinx==1.4.5 in c:\python27\lib\site-packages (from -r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): sphinx-autobuild==0.6.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): recommonmark==0.4.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 22))
Requirement already satisfied (use --upgrade to upgrade): sphinx_rtd_theme==0.1.9 in c:\python27\lib\site-packages (from -r requirements.txt (line 23))
Requirement already satisfied (use --upgrade to upgrade): future in c:\python27\lib\site-packages (from s2sphere==0.2.4->-r requirements.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): pycryptodomex>=3.0 in c:\python27\lib\site-packages (from gpsoauth==0.3.0->-r requirements.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): requests in c:\python27\lib\site-packages (from gpsoauth==0.3.0->-r requirements.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): pyproj in c:\python27\lib\site-packages (from LatLon==1.0.1->-r requirements.txt (line 17))
Requirement already satisfied (use --upgrade to upgrade): protobuf>=3.0.0a3 in c:\python27\lib\site-packages (from pgoapi->-r requirements.txt (line 18))
Requirement already satisfied (use --upgrade to upgrade): docutils>=0.11 in c:\python27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): snowballstemmer>=1.1 in c:\python27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): alabaster<0.8,>=0.7 in c:\python27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): Pygments>=2.0 in c:\python27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): imagesize in c:\python27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): colorama>=0.3.5; sys_platform == "win32" in c:\python27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): babel!=2.0,>=1.3 in c:\python27\lib\site-packages (from sphinx==1.4.5->-r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.10 in c:\python27\lib\site-packages (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): port-for==0.3.1 in c:\python27\lib\site-packages (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): watchdog>=0.7.1 in c:\python27\lib\site-packages (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): pathtools>=0.1.2 in c:\python27\lib\site-packages (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): livereload>=2.3.0 in c:\python27\lib\site-packages (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): argh>=0.24.1 in c:\python27\lib\site-packages (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): tornado>=3.2 in c:\python27\lib\site-packages (from sphinx-autobuild==0.6.0->-r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): commonmark<=0.5.4 in c:\python27\lib\site-packages (from recommonmark==0.4.0->-r requirements.txt (line 22))
Requirement already satisfied (use --upgrade to upgrade): setuptools in c:\python27\lib\site-packages (from protobuf>=3.0.0a3->pgoapi->-r requirements.txt (line 18))
Requirement already satisfied (use --upgrade to upgrade): pytz>=0a in c:\python27\lib\site-packages (from babel!=2.0,>=1.3->sphinx==1.4.5->-r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): singledispatch in c:\python27\lib\site-packages (from tornado>=3.2->sphinx-autobuild==0.6.0->-r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): certifi in c:\python27\lib\site-packages (from tornado>=3.2->sphinx-autobuild==0.6.0->-r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): backports-abc>=0.4 in c:\python27\lib\site-packages (from tornado>=3.2->sphinx-autobuild==0.6.0->-r requirements.txt (line 21))

What it's wrong?

ARM64 Compatability

Hi,

When attempting to run on ARM64 platform, there is no libencrypt-linux-arm-64.so

Expected Behavior

Need a libencrypt-linux-arm-64.so file available

Current Behavior

2016-08-08 10:10:39,572 [ search_worker_0][ search][ WARNING] Exception while downloading map: /home/user/PokemonGo-Map/
pogom/libencrypt-linux-x86-64.so: cannot open shared object file: No such file or directory

Possible Solution

Compile and link an arm64 version of libencrypt
Alter pogmon/util.py to include:

elif os.uname()[4].startswith("aarch") if platform.architecture()[0] == '32bit': lib_path = os.path.join(os.path.dirname(__file__), "libencrypt-linux-aarch-32.so") elif platform.architecture()[0] == '64bit': lib_path = os.path.join(os.path.dirname(__file__), "libencrypt-linux-aarch-64.so")

Building Docker Problem

The building of the docker stops at grunt build. I think is similar to this issue #93

docker build -t pogomap
...

> [email protected] build /usr/src/app
> grunt build

Running "eslint:src" (eslint) task
Warning: No ESLint configuration found. Use --force to continue.

Aborted due to warnings.

npm ERR! Linux 3.10.35
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run-script" "build"
npm ERR! node v6.2.0
npm ERR! npm  v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `grunt build`
npm ERR! Exit status 6
npm ERR! 
npm ERR! Failed at the [email protected] build script 'grunt build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pogomap package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     grunt build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs pogomap
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls pogomap
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/src/app/npm-debug.log
INFO[0369] The command [/bin/sh -c apk add --no-cache build-base nodejs  && npm install -g grunt-cli  && npm install  && npm run-script build  && npm uninstall -g grunt-cli  && rm -rf node_modules  && apk del build-base nodejs] returned a non-zero code: 1

cannot update

$ git pull origin master
error: Pull is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm '
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.

Add command-line arguments for Map settings

It would be cool if we could set the map settings (show gyms, hidden pokemons, map theme, etc) from the command line.

Expected Behavior

We could run a PokemonGo Map with dark theme, with the option "Show scanned location" set to true and hiding pidgey and weedle from the command-line:
python2 runserver.py -a ptc -u username [....] --mapopt show-scanned-location:false --mapopt hide:pidgey,weedle --mapopt theme:Dark

However, the syntax here is just a suggestion.

Current Behavior

We can't set any of the map options from the command line. Every time a server is started, the settings needs to be configured again.

Context

I've created a pogomap server "manager" for my friends, and i would like to add the possibility to save their own map preferences. It can be done by just passing thoses args to command line, but i'm also willing to discuss any other solution.

glibc_2.14

Has anyone else gotten this error?

2016-08-07 22:30:34,785 [ search_worker_0][ auth_ptc][ INFO] Request PTC Access Token...
2016-08-07 22:30:34,887 [ search_worker_0][ auth_ptc][ INFO] PTC Access Token successfully retrieved.
2016-08-07 22:30:34,907 [ search_worker_0][ search][ WARNING] Exception while downloading map: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/src/new/PokemonGo-Map-develop/pogom/libencrypt-linux-x86-64.so)
2016-08-07 22:30:34,908 [ search_worker_0][ search][ ERROR] Search step 1 area download failed, retyring request in 10 seconds
201

TIA for any help you can provide.

Exception while downloading map

On a fresh server with a brand new Google Maps API key I'm getting the following exception when running my server:

[ search_worker_1][      auth_ptc][    INFO] PTC Access Token successfully retrieved.
[ search_worker_3][      auth_ptc][    INFO] PTC Access Token successfully retrieved.
[ search_worker_0][      auth_ptc][    INFO] PTC Access Token successfully retrieved.
[ search_worker_2][      auth_ptc][    INFO] PTC Access Token successfully retrieved.
[ search_worker_4][      auth_ptc][    INFO] PTC Access Token successfully retrieved.
[ search_worker_5][      auth_ptc][    INFO] PTC Access Token successfully retrieved.
[ search_worker_1][        search][ WARNING] Exception while downloading map: Seems your IP Address is banned or something else went badly wrong...
[ search_worker_1][        search][   ERROR] Search step 4 area download failed, retrying request in 5.5 seconds

Expected Behavior

Search should complete successfully.

Current Behavior

Search returns an exception stating my IP address is banned or something else went badly wrong.

Steps to Reproduce (for bugs)

  1. Start server
  2. Returns exception

Your Environment

  • Version used: Latest develop branch
  • Environment name and version: Python 2.7
  • Operating System and version: Ubuntu LTS 16.04

Any ideas where to look?

CPU Usage

High CPU usage while using huge amount of accounts, because all threads are scanning at same moment. In my opinion it can be much more effective use CPU whole time and not 100% every 10s.

Expected Behavior

I have sd set to 11s so I will execpt distribution of threads to that 11s.

Current Behavior

My CPU is under 100% load few seconds and sleep another 8s

Your Environment

VPS Ubuntu 16.04

Add option to increase scan point distance

It would be great to be able to influence the spacing of the scanned map points, or to toggle the distance from the pokemon detection radius to that of gyms and pokestops. That way one could have a separate scanning task keeping a large area of gyms up to date.

Multi user front end

Expected Behavior

Possibility to run a mock server that stores multiple user locations

Current Behavior

Would like for the ability for each user visiting the website to be able to use the "Start at user's location", "Scan follows location", and "Search" functions on the website. WITHOUT affecting one another.

Possible Solution

This server wouldn't control the background scanning but rather act similar to pokevision with a wider area of use. And allow for users to open their mobile device without scrolling to their location. This shouldn't affect scanning therefore it may need an extra argument to have it enabled. Or only enable it when running with "-ns".

Context

Trying to create a multi user system that allows for more than one user to add to a database. And tracks the individual users without affecting one another.

Error after starting

I got an error when i start the script:

TypeError: sequence index must be integer, not 'str'
2016-08-08 11:13:42,148 [ search_worker_0][ search][ INFO] Search step 38 beginning (queue size is 359)
2016-08-08 11:13:42,148 [ search_worker_0][ auth_ptc][ INFO] PTC User Login for: p****
2016-08-08 11:13:42,470 [ search_worker_0][ auth_ptc][ ERROR] Could not retrieve token: Account is not yet active, please redirect.
2016-08-08 11:13:42,479 [ search_worker_0][ search][ ERROR] Exception in search_worker: sequence index must be integer, not 'str'
Traceback (most recent call last):
File "/data/www/default/test2/PokemonGo-Map/pogom/search.py", line 236, in search_worker_thread
parsed = parse_map(response_dict, step_location)
File "/data/www/default/test2/PokemonGo-Map/pogom/models.py", line 296, in parse_map
cells = map_dict['responses']['GET_MAP_OBJECTS']['map_cells']
TypeError: sequence index must be integer, not 'str'
2016-08-08 11:13:42,481 [ search_worker_0][ search][ INFO] Search step 39 beginning (queue size is 358)
2016-08-08 11:13:42,481 [ search_worker_0][ auth_ptc][ INFO] PTC User Login for: p****
2016-08-08 11:13:42,804 [ search_worker_0][ auth_ptc][ ERROR] Could not retrieve token: Account is not yet active, please redirect.
2016-08-08 11:13:42,813 [ search_worker_0][ search][ ERROR] Exception in search_worker: sequence index must be integer, not 'str'
Traceback (most recent call last):
File "/data/www/default/test2/PokemonGo-Map/pogom/search.py", line 236, in search_worker_thread
parsed = parse_map(response_dict, step_location)
File "/data/www/default/test2/PokemonGo-Map/pogom/models.py", line 296, in parse_map
cells = map_dict['responses']['GET_MAP_OBJECTS']['map_cells']
TypeError: sequence index must be integer, not 'str'
2016-08-08 11:13:42,815 [ search_worker_0][ search][ INFO] Search step 40 beginning (queue size is 357)
2016-08-08 11:13:42,815 [ search_worker_0][ auth_ptc][ INFO] PTC User Login for: p****
2016-08-08 11:13:43,142 [ search_worker_0][ auth_ptc][ ERROR] Could not retrieve token: Account is not yet active, please redirect.
2016-08-08 11:13:43,151 [ search_worker_0][ search][ ERROR] Exception in search_worker: sequence index must be integer, not 'str'
Traceback (most recent call last):
File "/data/www/default/test2/PokemonGo-Map/pogom/search.py", line 236, in search_worker_thread
parsed = parse_map(response_dict, step_location)
File "/data/www/default/test2/PokemonGo-Map/pogom/models.py", line 296, in parse_map
cells = map_dict['responses']['GET_MAP_OBJECTS']['map_cells']
TypeError: sequence index must be integer, not 'str'
...
...
...

[HELP] cant install npm...

tried both commands
npm install and npm install -g grunt-cli both failed.. :(

E:\PokemonGo-Map.git\trunk>npm install
npm WARN optional Skipping failed optional dependency /babel-plugin-transform-es
2015-block-scoping/babel-template:
npm WARN Failed to parse json
npm WARN Unexpected token '\u0000' at 1:1
npm WARN

npm WARN ^
npm WARN File: C:\Users\AT\AppData\Roaming\npm-cache\babel-template\6.9.0\pa
ckage\package.json
npm WARN optional Skipping failed optional dependency /babel-plugin-transform-es
2015-block-scoping/babel-types:
npm WARN Failed to parse json
npm WARN Unexpected token '\u0000' at 1:1
npm WARN

npm WARN ^
npm WARN File: C:\Users\AT\AppData\Roaming\npm-cache\babel-types\6.13.0\pack
age\package.json
npm WARN optional Skipping failed optional dependency /babel-plugin-transform-es
2015-block-scoping/lodash:
npm WARN Failed to parse json
npm WARN Unexpected token '\u0000' at 1:1
npm WARN

npm WARN ^
npm WARN File: C:\Users\AT\AppData\Roaming\npm-cache\lodash\4.14.1\package\p
ackage.json
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs
node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! file C:\Users\AT\AppData\Roaming\npm-cache\babel-traverse\6.13.0\pa
ckage\package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0000' at 1:1
npm ERR!

npm ERR! ^
npm ERR! File: C:\Users\AT\AppData\Roaming\npm-cache\babel-traverse\6.13.0\p
ackage\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request:
npm ERR! E:\PokemonGo-Map.git\trunk\npm-debug.log

Cannot read property 'getBounds' of undefined

When I run the map, I have
map.built.js:676 Uncaught TypeError: Cannot read property 'getBounds' of undefined
in my browser console.

Steps to Reproduce (for bugs)

# Authentication settings
auth-service: google          # ptc (default) or google
username: [email protected]
password: some-password

# Database settings
#db-type: sqlite        # sqlite (default) or mysql
#db-host:               # required for mysql
#db-name:               # required for mysql
#db-user:               # required for mysql
#db-pass:               # required for mysql

# Search settings
location: some-lat, some-long
#no-gyms:               # disables gym scanning (default false)
#no-pokemon:            # disables pokemon scanning (default false)
#no-pokestops:          # disables pokestop scanning (default false)
scan-delay: 2            # default 5
step-limit: 7            # default 12

# Misc
gmaps-key: some-apikey             # your Google Maps API key
#webhook:               # webhook URL (including http://)

# Webserver settings
host: 0.0.0.0                  # address to listen on (default 127.0.0.1)
port: 5050                  # port to listen on (default 5000)

#Uncomment a line when you want to change its default value (Remove # at the beginning)
#username, password, location and gmaps-key are required

Your Environment

  • Version used: 78fee4a
  • Environment name and version (e.g. Python 2.7): Python 2.7.9
  • Operating System and version (desktop or mobile): Ubuntu

map is undefined after git pull

Expected Behavior

ReferenceError: center_lat is not defined
map.min.js (ligne 5, col. 529)

TypeError: map is undefined
map.min.js (ligne 5, col. 29638)

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Show and open url map

Context

develop

[Fixed location for a local map]

I'm wondering how to make the map be on a fixed location (no chance to move marker and have all the settings pre-defined so it keeps scanning a 500m radius constatly).

This was possible on the older builds before the API change, but can't figure how to make it work again.

map is undefined after git pull

Expected Behavior

ReferenceError: center_lat is not defined

map.min.js (ligne 5, col. 529)
TypeError: map is undefined

map.min.js (ligne 5, col. 29638) 2
TypeError: map is undefined

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Open map url

Context

Your Environment

develop

Worker sometimes fails "Exceeded maximum connections"

Will fill this out tomorrow.

image

image

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

1.Run a worker
2.Wait

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Python 2.7):
  • Operating System and version (desktop or mobile):
  • rPi linux Jessie
  • mariadb

SSL certificate verification failed

Hello,

I've installed the PokemonGo-Map and get this with I try to start the server :

2016-08-08 11:24:50,641 [ search_worker_0][ search][ INFO] Search step 120 beginning (queue size is 151)
2016-08-08 11:24:50,641 [ search_worker_0][ auth_google][ INFO] Google User Login for: [email protected]
2016-08-08 11:24:50,667 [ search_worker_0][ search][ ERROR] Exception in search_worker: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)
Traceback (most recent call last):
File "/root/PokemonGo-Map/pogom/search.py", line 219, in search_worker_thread
check_login(args, account, api, step_location)
File "/root/PokemonGo-Map/pogom/search.py", line 266, in check_login
api.set_authentication(provider = account['auth_service'], username = account['username'], password = account['password'])
File "/usr/lib/python2.7/site-packages/pgoapi/pgoapi.py", line 82, in set_authentication
self._auth_provider.user_login(username, password)
File "/usr/lib/python2.7/site-packages/pgoapi/auth_google.py", line 55, in user_login
user_login = perform_master_login(username, password, self.GOOGLE_LOGIN_ANDROID_ID)
File "/usr/lib/python2.7/site-packages/gpsoauth/init.py", line 66, in perform_master_login
return _perform_auth_request(data)
File "/usr/lib/python2.7/site-packages/gpsoauth/init.py", line 22, in _perform_auth_request
headers={'User-Agent': useragent})
File "/usr/lib/python2.7/site-packages/requests/api.py", line 111, in post
return request('post', url, data=data, json=json, *_kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 57, in request
return session.request(method=method, url=url, *_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 585, in send
r = adapter.send(request, *_kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 477, in send
raise SSLError(e, request=request)
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)

How can I solve this ?

Thanks !

[Windows] Problem with installing map under user account with cyrillic symbols in path

When you do pip install -r requirements.txt, some errors occuring

Steps to Reproduce

  1. Create user account with cyrillic names, for example: C:\Users\ΠœΠΈΡ…Π°ΠΈΠ»
  2. Now login into this account and try to install the map.

My Environment

  • Windows 7 x64 SP1 Professional
  • Python 2.7.12
  • Microsoft Visual C++ Compiler for Python 2.7

Traceback

C:\PortableApps\PokemonGO-Map\PokemonGo-Map>pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): six==1.10.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): Flask==0.11.1 in c:\python27\lib\site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): Jinja2==2.8 in c:\python27\lib\site-packages (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe==0.23 in c:\python27\lib\site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): Werkzeug==0.11.10 in c:\python27\lib\site-packages (from -r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): configargparse==0.10.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): click==6.6 in c:\python27\lib\site-packages (from -r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): itsdangerous==0.24 in c:\python27\lib\site-packages (from -r requirements.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): peewee==2.8.1 in c:\python27\lib\site-packages (from -r requirements.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in c:\python27\lib\site-packages (from -r requirements.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): geopy==1.11.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): s2sphere==0.2.4 in c:\python27\lib\site-packages (from -r requirements.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): gpsoauth==0.3.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): PyMySQL==0.7.5 in c:\python27\lib\site-packages (from -r requirements.txt (line 14))
Requirement already satisfied (use --upgrade to upgrade): flask-cors==2.1.2 in c:\python27\lib\site-packages (from -r requirements.txt (line 15))
Requirement already satisfied (use --upgrade to upgrade): flask-compress==1.3.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 16))
Collecting LatLon==1.0.1 (from -r requirements.txt (line 17))
  Using cached LatLon-1.0.1-py2-none-any.whl
Collecting pgoapi from git+https://github.com/keyphact/pgoapi.git#egg=pgoapi (from -r requirements.txt (line 18))
  Cloning https://github.com/keyphact/pgoapi.git to d:\temp\pip-build-uvbahc\pgoapi
Collecting xxhash (from -r requirements.txt (line 19))
  Downloading xxhash-0.6.1.tar.gz
Collecting sphinx==1.4.5 (from -r requirements.txt (line 20))
  Downloading Sphinx-1.4.5-py2.py3-none-any.whl (1.6MB)
    100% |################################| 1.6MB 253kB/s
Collecting sphinx-autobuild==0.6.0 (from -r requirements.txt (line 21))
  Downloading sphinx_autobuild-0.6.0-py2-none-any.whl
Collecting recommonmark==0.4.0 (from -r requirements.txt (line 22))
  Downloading recommonmark-0.4.0-py2.py3-none-any.whl
Collecting sphinx_rtd_theme==0.1.9 (from -r requirements.txt (line 23))
  Downloading sphinx_rtd_theme-0.1.9-py2-none-any.whl (693kB)
    100% |################################| 696kB 417kB/s
Requirement already satisfied (use --upgrade to upgrade): future in c:\python27\lib\site-packages (from s2sphere==0.2.4->-r requirements.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): requests in c:\python27\lib\site-packages (from gpsoauth==0.3.0->-r requirements.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): pycryptodomex>=3.0 in c:\python27\lib\site-packages (from gpsoauth==0.3.0->-r requirements.txt (line 13))
Collecting pyproj (from LatLon==1.0.1->-r requirements.txt (line 17))
  Using cached pyproj-1.9.5.1.tar.gz
    Complete output from command python setup.py egg_info:
    using bundled proj4..
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "d:\temp\pip-build-uvbahc\pyproj\setup.py", line 72, in <module>
        objects = cc.compile(['nad2bin.c', 'src/pj_malloc.c'])
      File "c:\python27\lib\distutils\msvc9compiler.py", line 473, in compile
        self.initialize()
      File "c:\python27\lib\distutils\msvc9compiler.py", line 383, in initialize
        vc_env = query_vcvarsall(VERSION, plat_spec)
      File "c:\python27\lib\site-packages\setuptools\msvc.py", line 173, in msvc9_query_vcvarsall
        return EnvironmentInfo(arch, ver).return_env()
      File "c:\python27\lib\site-packages\setuptools\msvc.py", line 1135, in return_env
        exists),
      File "c:\python27\lib\site-packages\setuptools\msvc.py", line 1158, in _build_paths
        return os.pathsep.join(unique_paths)
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 9: ordinal not in range(128)

map is undefined after git pull

Expected Behavior

ReferenceError: center_lat is not defined

map.min.js (ligne 5, col. 529)
TypeError: map is undefined

map.min.js (ligne 5, col. 29638) 2
TypeError: map is undefined
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)

Open map url
Context
Your Environment

develop

It seems `pgoapi` is not installed error

Each time i run runserver.py i get this.
python ./runserver.py --help
2016-08-08 09:35:25,101 [ MainThread][ runserver][CRITICAL] It seems pgoapi is not installed. You must run pip install -r requirements.txt again

I have tried:
sudo pip install -r requirements.txt
sudo pip install --upgrade -r requirements.txt

None of these is working. Could you guys help me with this issue?

My environment
Debian GNU/Linux 8 (jessie)
Python 2.7.9 (default, Mar 1 2015, 12:57:24)

Keep getting "KeyError: 'map_cells'

states [ search_worker_0][ search][ ERROR] Search Step 7 map parsing failed, retrying request in ** seconds"

Traceback(most recent call last):
file "c:...pogom\search.py" line 236 in search_worker_thread parsed = parse_map(response_dict, step_location)
file "C:...pogom\models.py", line 296, in parse_map cells = map_dict['responses']['GET_MAP_OBJECTS']['map_cells]
KeyError: 'map_cells'

This happens when running multiple threads (with different usernames), -sd is set to 13.

Error with docker build

When docker container is building
docker build -t pogomap .
.....

(21/21) Installing nodejs (6.2.0-r0)
Executing busybox-1.24.2-r9.trigger
OK: 221 MiB in 49 packages
/usr/bin/grunt -> /usr/lib/node_modules/grunt-cli/bin/grunt
/usr/lib
└─┬ [email protected]
  β”œβ”€β”¬ [email protected]
  β”‚ └─┬ [email protected]
  β”‚   β”œβ”€β”¬ [email protected]
  β”‚   β”‚ └── [email protected]
  β”‚   β”œβ”€β”€ [email protected]
  β”‚   β”œβ”€β”¬ [email protected]
  β”‚   β”‚ └─┬ [email protected]
  β”‚   β”‚   β”œβ”€β”€ [email protected]
  β”‚   β”‚   └── [email protected]
  β”‚   β”œβ”€β”€ [email protected]
  β”‚   └── [email protected]
  β”œβ”€β”€ [email protected]
  β”œβ”€β”¬ [email protected]
  β”‚ └── [email protected]
  └── [email protected]

And after that I've problem

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
Killed
The command '/bin/sh -c apk add --no-cache build-base nodejs  && npm install -g grunt-cli  && npm install  && npm run-script build  && npm uninstall -g grunt-cli  && rm -rf node_modules  && apk del build-base nodejs' returned a non-zero code: 137

or

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN prefer global [email protected] should be installed with -g

> [email protected] install /usr/src/app/node_modules/node-sass
> node scripts/install.js



The command '/bin/sh -c apk add --no-cache build-base nodejs  && npm install -g grunt-cli  && npm install  && npm run-script build  && npm uninstall -g grunt-cli  && rm -rf node_modules  && apk del build-base nodejs' returned a non-zero code: 1

docker images show me

root@dockermap:~/PokemonGo-Map# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
<none>              <none>              7179571a4a75        22 minutes ago      175.3 MB
python              2.7-alpine          54a68be53e15        2 weeks ago         56.45 MB

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.