Skip to content
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

exception when IP seems be banned #4908

Closed
aaronsuns opened this issue Aug 29, 2016 · 5 comments
Closed

exception when IP seems be banned #4908

aaronsuns opened this issue Aug 29, 2016 · 5 comments

Comments

@aaronsuns
Copy link

When having the following exception, it seems the IP is banned.

$ git checkout origin/master
M web
HEAD is now at 56339fb... Merge dev to master (#4889)
aaron@laptop:~/PokemonGo-Bot$ ./run.sh
2016-08-29 21:45:45,007 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-29 21:45:45,026 [ cli] [INFO] commit: 56339fb
2016-08-29 21:45:45,053 [ cli] [INFO] Configuration initialized
2016-08-29 21:45:45,054 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-08-29 21:45:45,055 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-08-29 21:45:45,071 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
[2016-08-29 21:45:45] [SleepSchedule] [INFO] [next_sleep] Next sleep at 2016-08-30 12:28:55.259307
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [set_start_location] Setting start location.
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [location_found] Location found: 59.330998,18.071761 (59.330998, 18.071761, 8.0)
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [position_update] Now at (59.330998, 18.071761, 8.0)
[2016-08-29 21:45:45] [PokemonGoBot] [INFO] [login_started] Login procedure started.
Traceback (most recent call last):
File "pokecli.py", line 768, in
main()
File "pokecli.py", line 207, in main
report_summary(bot)
File "pokecli.py", line 253, in report_summary
metrics.capture_stats()
File "/home/aaron/PokemonGo-Bot/pokemongo_bot/metrics.py", line 109, in capture_stats
response_dict = request.call()
File "/home/aaron/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 223, in call
if not self.can_call():
File "/home/aaron/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 128, in can_call
raise NotLoggedInException()
pgoapi.exceptions.NotLoggedInException
[2016-08-29 21:45:45] [sentry.errors] [ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/home/aaron/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 1284, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python2.7/httplib.py", line 1048, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1088, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1044, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 886, in _send_output
msg += message_body
File "/home/aaron/PokemonGo-Bot/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte
[2016-08-29 21:45:45] [sentry.errors.uncaught] [ERROR] [u'NotLoggedInException', u' File "pokecli.py", line 768, in ', u' File "pokecli.py", line 207, in main', u' File "pokecli.py", line 253, in report_summary', u' File "pokemongo_bot/metrics.py", line 109, in capture_stats', u' File "pokemongo_bot/api_wrapper.py", line 223, in call', u' File "pokemongo_bot/api_wrapper.py", line 128, in can_call']
mån 29 aug 2016 21:45:45 CEST Pokebot Stopped.
Press any button or wait 20 seconds to continue.

@mjmadsen
Copy link
Contributor

Try:
git pull
git submodule update --init --recursive
git submodule foreach git pull origin master
source bin/activate (-- do not skip this step --)
pip install -r requirements.txt --upgrade
pip install -r requirements.txt

#4912

@mjmadsen
Copy link
Contributor

@aaronsuns News?

@aaronsuns
Copy link
Author

aaronsuns commented Aug 31, 2016

Still the same, its from a clean installation. update just get the same result. Then I copy the same folder to another server, it works immediately. Seems like my IP is banned.

aaron@laptop:~/PokemonGo-Bot$ git pull
remote: Counting objects: 236, done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 236 (delta 117), reused 95 (delta 95), pack-reused 93
Receiving objects: 100% (236/236), 95.03 KiB | 0 bytes/s, done.
Resolving deltas: 100% (150/150), completed with 35 local objects.
From https://github.com/PokemonGoF/PokemonGo-Bot
8c6a578..a674b26 dev -> origin/dev

  • [new branch] fix_clean_run_issues -> origin/fix_clean_run_issues
    56339fb..42d670a master -> origin/master

  • [new branch] revert-4960-dev -> origin/revert-4960-dev
    Fetching submodule web
    You are not currently on a branch. Please specify which
    branch you want to merge with. See git-pull(1) for details.

    git pull

aaron@laptop:/PokemonGo-Bot$ git submodule update --init --recursive
Submodule path 'web': checked out '6ba5609c6151507b5b832a74e471b6b7b1a182c9'
aaron@laptop:
/PokemonGo-Bot$ git sub^C
aaron@laptop:~/PokemonGo-Bot$ ./run.sh
2016-08-31 18:13:24,343 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-31 18:13:24,349 [ cli] [INFO] commit: 56339fb
2016-08-31 18:13:24,352 [ cli] [INFO] Configuration initialized
[2016-08-31 18:13:24] [SleepSchedule] [INFO] [next_sleep] Next sleep at 2016-09-01 11:36:31.426698
[2016-08-31 18:13:25] [PokemonGoBot] [INFO] [set_start_location] Setting start location.
[2016-08-31 18:13:25] [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
[2016-08-31 18:13:25] [PokemonGoBot] [INFO] [location_found] Location found: 59.330998,18.071761 (59.330998, 18.071761, 8.0)
[2016-08-31 18:13:25] [PokemonGoBot] [INFO] [position_update] Now at (59.330998, 18.071761, 8.0)
[2016-08-31 18:13:25] [PokemonGoBot] [INFO] [login_started] Login procedure started.
Traceback (most recent call last):
File "pokecli.py", line 768, in
main()
File "pokecli.py", line 207, in main
report_summary(bot)
File "pokecli.py", line 253, in report_summary
metrics.capture_stats()
File "/home/aaron/PokemonGo-Bot/pokemongo_bot/metrics.py", line 109, in capture_stats
response_dict = request.call()
File "/home/aaron/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 223, in call
if not self.can_call():
File "/home/aaron/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 128, in can_call
raise NotLoggedInException()
pgoapi.exceptions.NotLoggedInException
ons 31 aug 2016 18:13:25 CEST Pokebot Stopped.
Press any button or wait 20 seconds to continue.
2016-08-31 18:13:28,169 [ cli] [INFO] PokemonGO Bot v1.0
2016-08-31 18:13:28,174 [ cli] [INFO] commit: 56339fb
2016-08-31 18:13:28,177 [ cli] [INFO] Configuration initialized
^Cons 31 aug 2016 18:13:28 CEST Pokebot Stopped.
Press any button or wait 20 seconds to continue.

aaron@laptop:~/PokemonGo-Bot$ git submodule foreach git pull origin master
Entering 'web'
From https://github.com/OpenPoGo/OpenPoGoWeb

  • branch master -> FETCH_HEAD
    Updating 6ba5609..607397a
    Fast-forward
    README.md | 2 ++
    config/userdata.js.example | 6 ++++++
    css/main.css | 3 ++-
    image/forts/img_pokestop_lure.png | Bin 0 -> 4960 bytes
    index.html | 18 +++++++++---------
    js/main.js | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
    6 files changed, 89 insertions(+), 18 deletions(-)
    create mode 100644 image/forts/img_pokestop_lure.png
    aaron@laptop:/PokemonGo-Bot$ source bin/activate
    (PokemonGo-Bot)aaron@laptop:
    /PokemonGo-Bot$ pip install -r requirements.txt --upgrade
    Requirement already up-to-date: numpy==1.11.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already up-to-date: networkx==1.11 in ./lib/python2.7/site-packages (from -r requirements.txt (line 2))
    Obtaining pgoapi from git+https://github.com/joelgreen/pgoapi.git/@fa49ada8570b0817c5a73b9315ba010fa7a47874#egg=pgoapi (from -r requirements.txt (line 3))
    Updating ./src/pgoapi clone (to fa49ada8570b0817c5a73b9315ba010fa7a47874)
    Could not find a tag or branch 'fa49ada8570b0817c5a73b9315ba010fa7a47874', assuming commit.
    Running setup.py (path:/home/aaron/PokemonGo-Bot/src/pgoapi/setup.py) egg_info for package pgoapi

    warning: no previously-included files matching '.dll' found anywhere in distribution
    warning: no previously-included files matching '
    .pyc' found anywhere in distribution
    warning: no previously-included files matching '.pyo' found anywhere in distribution
    warning: no previously-included files matching '
    .so' found anywhere in distribution
    Installing extra requirements: 'egg'
    Requirement already up-to-date: geopy==1.11.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 4))
    Requirement already up-to-date: protobuf==3.0.0b4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 5))
    Requirement already up-to-date: requests==2.10.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 6))
    Requirement already up-to-date: requests-mock==1.0.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 7))
    Requirement already up-to-date: s2sphere==0.2.4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 8))
    Requirement already up-to-date: gpsoauth==0.3.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 9))
    Requirement already up-to-date: protobuf-to-dict==0.1.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 10))
    Requirement already up-to-date: googlemaps==2.4.4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 11))
    Requirement already up-to-date: colorama==0.3.7 in ./lib/python2.7/site-packages (from -r requirements.txt (line 12))
    Requirement already up-to-date: enum34==1.1.6 in ./lib/python2.7/site-packages (from -r requirements.txt (line 13))
    Requirement already up-to-date: pyyaml==3.11 in ./lib/python2.7/site-packages (from -r requirements.txt (line 14))
    Requirement already up-to-date: haversine==0.4.5 in ./lib/python2.7/site-packages (from -r requirements.txt (line 15))
    Requirement already up-to-date: polyline==1.3.1 in ./lib/python2.7/site-packages (from -r requirements.txt (line 16))
    Requirement already up-to-date: python-socketio==1.4.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 17))
    Requirement already up-to-date: flask==0.11.1 in ./lib/python2.7/site-packages (from -r requirements.txt (line 18))
    Requirement already up-to-date: socketIO-client==0.7.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 19))
    Requirement already up-to-date: eventlet==0.19.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 20))
    Requirement already up-to-date: gpxpy==1.1.1 in ./lib/python2.7/site-packages (from -r requirements.txt (line 21))
    Requirement already up-to-date: mock==2.0.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 22))
    Requirement already up-to-date: timeout-decorator==0.3.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 23))
    Requirement already up-to-date: raven==5.23.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 24))
    Requirement already up-to-date: demjson==2.2.4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 25))
    Requirement already up-to-date: greenlet==0.4.9 in ./lib/python2.7/site-packages (from -r requirements.txt (line 26))
    Requirement already up-to-date: yoyo-migrations==5.0.3 in ./lib/python2.7/site-packages (from -r requirements.txt (line 27))
    Requirement already up-to-date: paho-mqtt==1.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 28))
    Requirement already up-to-date: Geohash==1.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 29))
    Requirement already up-to-date: python-telegram-bot==5.0.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 30))
    Requirement already up-to-date: future in ./lib/python2.7/site-packages (from pgoapi->-r requirements.txt (line 3))
    Requirement already up-to-date: six in ./lib/python2.7/site-packages (from pgoapi->-r requirements.txt (line 3))
    Requirement already up-to-date: xxhash in ./lib/python2.7/site-packages (from pgoapi->-r requirements.txt (line 3))
    Requirement already up-to-date: pycryptodomex>=3.0 in ./lib/python2.7/site-packages (from gpsoauth==0.3.0->-r requirements.txt (line 9))
    Requirement already up-to-date: python-engineio>=0.8.0 in ./lib/python2.7/site-packages (from python-socketio==1.4.2->-r requirements.txt (line 17))
    Requirement already up-to-date: websocket-client in ./lib/python2.7/site-packages (from socketIO-client==0.7.0->-r requirements.txt (line 19))
    Requirement already up-to-date: python-slugify in ./lib/python2.7/site-packages (from yoyo-migrations==5.0.3->-r requirements.txt (line 27))
    Requirement already up-to-date: iniherit in ./lib/python2.7/site-packages (from yoyo-migrations==5.0.3->-r requirements.txt (line 27))
    Requirement already up-to-date: docutils>=0.3 in ./lib/python2.7/site-packages (from Geohash==1.0->-r requirements.txt (line 29))
    Requirement already up-to-date: Unidecode>=0.04.16 in ./lib/python2.7/site-packages (from python-slugify->yoyo-migrations==5.0.3->-r requirements.txt (line 27))
    Installing collected packages: pgoapi
    Running setup.py develop for pgoapi

    warning: no previously-included files matching '.dll' found anywhere in distribution
    warning: no previously-included files matching '
    .pyc' found anywhere in distribution
    warning: no previously-included files matching '.pyo' found anywhere in distribution
    warning: no previously-included files matching '
    .so' found anywhere in distribution
    Creating /home/aaron/PokemonGo-Bot/lib/python2.7/site-packages/pgoapi.egg-link (link to .)
    pgoapi 1.1.8 is already the active version in easy-install.pth

    Installed /home/aaron/PokemonGo-Bot/src/pgoapi
    Successfully installed pgoapi
    Cleaning up...
    (PokemonGo-Bot)aaron@laptop:~/PokemonGo-Bot$ pip install -r requirements.txt
    Requirement already satisfied (use --upgrade to upgrade): numpy==1.11.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already satisfied (use --upgrade to upgrade): networkx==1.11 in ./lib/python2.7/site-packages (from -r requirements.txt (line 2))
    Obtaining pgoapi from git+https://github.com/joelgreen/pgoapi.git/@fa49ada8570b0817c5a73b9315ba010fa7a47874#egg=pgoapi (from -r requirements.txt (line 3))
    Updating ./src/pgoapi clone (to fa49ada8570b0817c5a73b9315ba010fa7a47874)
    Could not find a tag or branch 'fa49ada8570b0817c5a73b9315ba010fa7a47874', assuming commit.
    Running setup.py (path:/home/aaron/PokemonGo-Bot/src/pgoapi/setup.py) egg_info for package pgoapi

    warning: no previously-included files matching '.dll' found anywhere in distribution
    warning: no previously-included files matching '
    .pyc' found anywhere in distribution
    warning: no previously-included files matching '.pyo' found anywhere in distribution
    warning: no previously-included files matching '
    .so' found anywhere in distribution
    Installing extra requirements: 'egg'
    Requirement already satisfied (use --upgrade to upgrade): geopy==1.11.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 4))
    Requirement already satisfied (use --upgrade to upgrade): protobuf==3.0.0b4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 5))
    Requirement already satisfied (use --upgrade to upgrade): requests==2.10.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 6))
    Requirement already satisfied (use --upgrade to upgrade): requests-mock==1.0.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 7))
    Requirement already satisfied (use --upgrade to upgrade): s2sphere==0.2.4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 8))
    Requirement already satisfied (use --upgrade to upgrade): gpsoauth==0.3.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 9))
    Requirement already satisfied (use --upgrade to upgrade): protobuf-to-dict==0.1.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 10))
    Requirement already satisfied (use --upgrade to upgrade): googlemaps==2.4.4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 11))
    Requirement already satisfied (use --upgrade to upgrade): colorama==0.3.7 in ./lib/python2.7/site-packages (from -r requirements.txt (line 12))
    Requirement already satisfied (use --upgrade to upgrade): enum34==1.1.6 in ./lib/python2.7/site-packages (from -r requirements.txt (line 13))
    Requirement already satisfied (use --upgrade to upgrade): pyyaml==3.11 in ./lib/python2.7/site-packages (from -r requirements.txt (line 14))
    Requirement already satisfied (use --upgrade to upgrade): haversine==0.4.5 in ./lib/python2.7/site-packages (from -r requirements.txt (line 15))
    Requirement already satisfied (use --upgrade to upgrade): polyline==1.3.1 in ./lib/python2.7/site-packages (from -r requirements.txt (line 16))
    Requirement already satisfied (use --upgrade to upgrade): python-socketio==1.4.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 17))
    Requirement already satisfied (use --upgrade to upgrade): flask==0.11.1 in ./lib/python2.7/site-packages (from -r requirements.txt (line 18))
    Requirement already satisfied (use --upgrade to upgrade): socketIO-client==0.7.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 19))
    Requirement already satisfied (use --upgrade to upgrade): eventlet==0.19.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 20))
    Requirement already satisfied (use --upgrade to upgrade): gpxpy==1.1.1 in ./lib/python2.7/site-packages (from -r requirements.txt (line 21))
    Requirement already satisfied (use --upgrade to upgrade): mock==2.0.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 22))
    Requirement already satisfied (use --upgrade to upgrade): timeout-decorator==0.3.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 23))
    Requirement already satisfied (use --upgrade to upgrade): raven==5.23.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 24))
    Requirement already satisfied (use --upgrade to upgrade): demjson==2.2.4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 25))
    Requirement already satisfied (use --upgrade to upgrade): greenlet==0.4.9 in ./lib/python2.7/site-packages (from -r requirements.txt (line 26))
    Requirement already satisfied (use --upgrade to upgrade): yoyo-migrations==5.0.3 in ./lib/python2.7/site-packages (from -r requirements.txt (line 27))
    Requirement already satisfied (use --upgrade to upgrade): paho-mqtt==1.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 28))
    Requirement already satisfied (use --upgrade to upgrade): Geohash==1.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 29))
    Requirement already satisfied (use --upgrade to upgrade): python-telegram-bot==5.0.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 30))
    Requirement already satisfied (use --upgrade to upgrade): future in ./lib/python2.7/site-packages (from pgoapi->-r requirements.txt (line 3))
    Requirement already satisfied (use --upgrade to upgrade): six in ./lib/python2.7/site-packages (from pgoapi->-r requirements.txt (line 3))
    Requirement already satisfied (use --upgrade to upgrade): xxhash in ./lib/python2.7/site-packages (from pgoapi->-r requirements.txt (line 3))
    Requirement already satisfied (use --upgrade to upgrade): pycryptodomex>=3.0 in ./lib/python2.7/site-packages (from gpsoauth==0.3.0->-r requirements.txt (line 9))
    Requirement already satisfied (use --upgrade to upgrade): python-engineio>=0.8.0 in ./lib/python2.7/site-packages (from python-socketio==1.4.2->-r requirements.txt (line 17))
    Requirement already satisfied (use --upgrade to upgrade): websocket-client in ./lib/python2.7/site-packages (from socketIO-client==0.7.0->-r requirements.txt (line 19))
    Requirement already satisfied (use --upgrade to upgrade): python-slugify in ./lib/python2.7/site-packages (from yoyo-migrations==5.0.3->-r requirements.txt (line 27))
    Requirement already satisfied (use --upgrade to upgrade): iniherit in ./lib/python2.7/site-packages (from yoyo-migrations==5.0.3->-r requirements.txt (line 27))
    Requirement already satisfied (use --upgrade to upgrade): docutils>=0.3 in ./lib/python2.7/site-packages (from Geohash==1.0->-r requirements.txt (line 29))
    Requirement already satisfied (use --upgrade to upgrade): Unidecode>=0.04.16 in ./lib/python2.7/site-packages (from python-slugify->yoyo-migrations==5.0.3->-r requirements.txt (line 27))
    Installing collected packages: pgoapi
    Running setup.py develop for pgoapi

    warning: no previously-included files matching '.dll' found anywhere in distribution
    warning: no previously-included files matching '
    .pyc' found anywhere in distribution
    warning: no previously-included files matching '.pyo' found anywhere in distribution
    warning: no previously-included files matching '
    .so' found anywhere in distribution
    Creating /home/aaron/PokemonGo-Bot/lib/python2.7/site-packages/pgoapi.egg-link (link to .)
    pgoapi 1.1.8 is already the active version in easy-install.pth

    Installed /home/aaron/PokemonGo-Bot/src/pgoapi
    Successfully installed pgoapi
    Cleaning up...
    (PokemonGo-Bot)aaron@laptop:~/PokemonGo-Bot$ ./run.sh
    2016-08-31 18:14:53,842 [ cli] [INFO] PokemonGO Bot v1.0
    2016-08-31 18:14:53,855 [ cli] [INFO] commit: 56339fb
    2016-08-31 18:14:53,886 [ cli] [INFO] Configuration initialized
    [2016-08-31 18:14:54] [SleepSchedule] [INFO] [next_sleep] Next sleep at 2016-09-01 12:10:24.340869
    [2016-08-31 18:14:54] [PokemonGoBot] [INFO] [set_start_location] Setting start location.
    [2016-08-31 18:14:54] [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
    [2016-08-31 18:14:54] [PokemonGoBot] [INFO] [location_found] Location found: 59.330998,18.071761 (59.330998, 18.071761, 8.0)
    [2016-08-31 18:14:54] [PokemonGoBot] [INFO] [position_update] Now at (59.330998, 18.071761, 8.0)
    [2016-08-31 18:14:54] [PokemonGoBot] [INFO] [login_started] Login procedure started.
    Traceback (most recent call last):
    File "pokecli.py", line 768, in
    main()
    File "pokecli.py", line 207, in main
    report_summary(bot)
    File "pokecli.py", line 253, in report_summary
    metrics.capture_stats()
    File "/home/aaron/PokemonGo-Bot/pokemongo_bot/metrics.py", line 109, in capture_stats
    response_dict = request.call()
    File "/home/aaron/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 223, in call
    if not self.can_call():
    File "/home/aaron/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 128, in can_call
    raise NotLoggedInException()
    pgoapi.exceptions.NotLoggedInException
    ons 31 aug 2016 18:14:54 CEST Pokebot Stopped.
    Press any button or wait 20 seconds to continue.

(PokemonGo-Bot)aaron@laptop:~/PokemonGo-Bot$

@jrjhealey
Copy link

Did anything come of this? Bug?

@ikariya69
Copy link

got same error here
any way to correct ?

@k4n30 k4n30 closed this as completed Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants