UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1
Hey,
i just got this error while running for some time
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) 2016-08-10 16:29:29,642 [sentry.errors.uncaught] [ERROR] [u'ConnectionError: (\'Connection aborted.\', BadStatusLine("\'\'",))', u' File "pokecli.py", line 530, in <module>', u' File "pokecli.py", line 96, in main', u' File "pokemongo_bot/__init__.py", line 450, in tick', u' File "pokemongo_bot/health_record/bot_event.py", line 65, in heartbeat', u' File "pokemongo_bot/health_record/bot_event.py", line 78, in track_url', u' File "requests/api.py", line 111, in post', u' File "requests/api.py", line 57, in request', u' File "requests/sessions.py", line 475, in request', u' File "requests/sessions.py", line 585, in send', u' File "requests/adapters.py", line 453, in send']
Are you running the latest dev version?
yes same just happened
My guess would be an API error, how should I go about reproducing the effect? Or could you post the logs leading up to this point?
yes, latest dev branch. where is the logs file? i can share it with you or anything else i can do?
Not sure of the bot writes logs by default, truthfully. Id recommend setting "health_record": false, in your config, that may solve your issue
ok, i will try, thnx. it's not urgent bug because after restart it keep on running just thought it might be good to have a record of it.
I get the same error. Sometimes the bot can go on for 10 hours before the bug occurs, some times it's just a matter of minutes.
Not fix for me :/
@Lordedi attach your log
[17:28:34] Going to a new place, ignoring cached location.
[17:28:34] Login procedure started.Traceback (most recent call last):
File "pokecli.py", line 530, in
(I changed health_record: false)
no one has solved this issue ?
NotLoggedIn is usually called when you've entered some part of your login information wrong, or the server is abnormally busy
My login is good maybe server is busy. Thank you to reply me mister
Also, just to be sure. You've used "pip install -r requirements.txt --upgrade" when you run new versions of the bot right? The --upgrade tag is important
Yes I did.
ok thanks I will try this ;)
Still doesn't work
OP is due to a connection error, not related to the bot