-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python error ./run.sh #5469
Comments
Same issue on my side, on raspbian. |
Same here on raspian (Ubuntu xenial) |
Same here. Did a clean install, just to be sure. And getting this on Ubuntu and Python 2.7 : ~/PokemonGo-Bot$ ./run.sh |
Me too on Debian after today update. |
yes, it resolved when a8ee312 |
Still an issue here, even after cloning everything in a new folder. Any idea ? root@raspberrypi:/home/pi/pokebot/PokemonGo-Bot# ./run.sh |
Certificate to access google looks to be corrupted, have i forget something ? |
Do ./setup.sh -r, try to clear the config file and recreating a new one. Also use apt-get to upgrade if anything needs to be updated. See if that will fix it. |
Issue is resolved. Closing. @dameketo your issue is not the same thing. See #5450. |
## Expected Behavior
Use the bot
## Actual Behavior
Bot crashing
Config.json FULL
}
`
Output when issue occurred
root@Nexus:~/PokemonGo-Bot# ./run.sh
2016-09-16 05:24:07,347 [ cli] [INFO] PokemonGO Bot v1.0
2016-09-16 05:24:07,387 [ cli] [INFO] commit: 11123a8
2016-09-16 05:24:07,399 [ cli] [INFO] Configuration initialized
2016-09-16 05:24:07,400 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-09-16 05:24:07,400 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-09-16 05:24:07,411 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
(22674) wsgi starting up on http://127.0.0.1:4000
2016-09-16 05:24:07,525 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): 127.0.0.1
[2016-09-16 05:24:07] [SleepSchedule] [INFO] Next sleep at 11:59:32, for a duration of 5:46:15
[2016-09-16 05:24:07] [PokemonGoBot] [INFO] Setting start location.
[2016-09-16 05:24:07] [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
[2016-09-16 05:24:07] [PokemonGoBot] [INFO] Location found: 40.758895,-73.9873197 (40.758895, -73.9873197, 8.0)
[2016-09-16 05:24:07] [PokemonGoBot] [INFO] Now at (40.758895, -73.9873197, 8.0)
[2016-09-16 05:24:07] [PokemonGoBot] [INFO] Login procedure started.
Traceback (most recent call last):
File "pokecli.py", line 802, in
main()
File "pokecli.py", line 238, in main
report_summary(bot)
File "pokecli.py", line 286, in report_summary
metrics.capture_stats()
File "/root/PokemonGo-Bot/pokemongo_bot/metrics.py", line 105, in capture_stats
self.dust['latest'] = self.bot.stardust
File "/root/PokemonGo-Bot/pokemongo_bot/init.py", line 72, in stardust
return filter(lambda y: y['name'] == 'STARDUST', self._player['currencies'])[0]['amount']
AttributeError: 'PokemonGoBot' object has no attribute '_player'
[2016-09-16 05:24:08] [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 "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 66, in urlopen
return opener.open(url, data, timeout)
File "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 494, in open
response = self._open(req, data)
File "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 512, in _open
'_open', req)
File "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/future/backports/urllib/request.py", line 466, in _call_chain
result = func(*args)
File "/root/PokemonGo-Bot/local/lib/python2.7/site-packages/raven/utils/http.py", line 46, in https_open
return self.do_open(ValidHTTPSConnection, req)
File "/root/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 1057, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1097, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 895, in _send_output
msg += message_body
File "/root/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-09-16 05:24:08] [sentry.errors.uncaught] [ERROR] [u"AttributeError: 'PokemonGoBot' object has no attribute '_player'", u' File "pokecli.py", line 802, in ', u' File "pokecli.py", line 238, in main', u' File "pokecli.py", line 286, in report_summary', u' File "pokemongo_bot/metrics.py", line 105, in capture_stats', u' File "pokemongo_bot/init.py", line 72, in stardust']
Fri Sep 16 05:24:08 UTC 2016 Pokebot Stopped.
Press any button or wait 20 seconds to continue.
`
Steps to Reproduce
./run.sh
Other Information
Operacional System: Ubuntu x64
Python 2.7.5
The text was updated successfully, but these errors were encountered: