PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

why always UnicodeDecodeError . i used 3day ago ,it's work .why i pull dev and i pull many time .still not work

Open GucciChen opened this issue 10 years ago • 9 comments

3 days ago. i used it well ,it can work .then i pull dev baranh,when you conmmit i just pull. and always not work !!!

UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) 2016-08-09 16:23:57,564 [sentry.errors.uncaught] [ERROR] [u'KeyboardInterrupt', u' File "pokecli.py", line 521, in ', u' File "pokecli.py", line 74, in main', u' File "pokemongo_bot/health_record/bot_event.py", line 46, in login_success', 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 403, in send', u' File "usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 595, in urlopen', u' File "usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 386, in _make_request', u' File "python2.7/httplib.py", line 1136, in getresponse', u' File "python2.7/httplib.py", line 453, in begin', u' File "python2.7/httplib.py", line 409, in _read_status', u' File "python2.7/socket.py", line 480, in readline', u' File "eventlet/greenio/base.py", line 349, in recv', u' File "eventlet/greenio/base.py", line 343, in _recv_loop', u' File "eventlet/greenio/base.py", line 314, in _read_trampoline', u' File "eventlet/greenio/base.py", line 203, in _trampoline', u' File "eventlet/hubs/init.py", line 162, in trampoline', u' File "eventlet/hubs/hub.py", line 294, in switch', u' File "eventlet/hubs/hub.py", line 346, in run', u' File "eventlet/hubs/poll.py", line 85, in wait', u' File "eventlet/hubs/epolls.py", line 62, in do_poll']

OS: debian 8 Git Commit: e4c54dc593b7202ac95ebd70cfc672e88eb878ee Python Version: Python 2.7.12

GucciChen avatar Aug 09 '16 08:08 GucciChen

Same error Python Version : 2.7.9

YoshiYo avatar Aug 09 '16 08:08 YoshiYo

In PokemonGo-Bot folder, run

wget http://pgoapi.com/pgoencrypt.tar.gz && tar -xf pgoencrypt.tar.gz && cd pgoencrypt/src/ && make && mv libencrypt.so ../../encrypt.so

chrisgzf avatar Aug 09 '16 08:08 chrisgzf

@chrisgzf i did it .it still UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) 3 day ago i used BOT well .why after pull .always UnicodeDecodeError

GucciChen avatar Aug 09 '16 09:08 GucciChen

I cant use the bot since the api changed, It always gives me this error even that i have nevest version of the bot and encrypt.dll. It also seems that noone can help with that - people who have this problem usually fixed it by using encrypt.so or encrypt.dll (depend on OS) but in my case (and few other people) it is still not working. Have to move to another bot i guess :(

Yanush7 avatar Aug 09 '16 09:08 Yanush7

Disable health record in config.json

Lunik avatar Aug 09 '16 09:08 Lunik

Tried disabling healt record too, and with no luck, just getting me different error,

Yanush7 avatar Aug 09 '16 09:08 Yanush7

and i can't git revert which commit i used well .....

GucciChen avatar Aug 09 '16 09:08 GucciChen

I am having the same issue, is there an equivalent command to run for Windows as @chrisgzf posted above?

wget http://pgoapi.com/pgoencrypt.tar.gz && tar -xf pgoencrypt.tar.gz && cd pgoencrypt/src/ && make && mv libencrypt.so ../../encrypt.so

Union1978 avatar Aug 09 '16 11:08 Union1978

You need the encrypt.dll not encrypt.so. Also make sure you get the 32bit encrypt.dll regardless of whether you have 32bit or 64bit windows.

RedViper9 avatar Aug 11 '16 09:08 RedViper9