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

UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128)

Open mehdi-S opened this issue 10 years ago • 10 comments

Expected Behavior

bot log in and start doing whatever a bot do normally

Actual Behavior

bot quit after the log in section

Your FULL config.json (remove your username, password, gmapkey and any other private info)

http://pastebin.com/XxUAZ0yQ

Output when issue occurred

http://i.imgur.com/DSU3UZM.jpg

Steps to Reproduce

git pull
./setup.sh -u
complete the config.json
./run.sh

Other Information

OS: Debian x86_x64 Branch: dev Git Commit: 96bdbb698981a6fc544d8064f504fdab48830d06 Python Version: Python 2.7.9 Any other relevant files/configs (eg: path files) the account tested is a fresh one, never used for play or botting

mehdi-S avatar Aug 17 '16 18:08 mehdi-S

I could fix it by using the 32 bit libencrypt. That just worked on Debian x86_64.

I used the following command: python2.7 pokecli.py

EDIT: wasn't a problem with the Lib or anything, my problem was i could only run it as root. Make sure your user has permissions to write/read the Lib or chown

MiniWire avatar Aug 17 '16 23:08 MiniWire

I'm having the same problem, what exactly did you do to fix it?

yweitkemper avatar Aug 18 '16 06:08 yweitkemper

I had to run it with "sudo python2.7 pokecli.py"

MiniWire avatar Aug 18 '16 09:08 MiniWire

unfortunatly doesnt work for me @MiniWire

mehdi-S avatar Aug 18 '16 10:08 mehdi-S

did you run "pip install -r requirements.txt" ? and do you have an encrypt-lib for your platform in your bot-root-directory?

MiniWire avatar Aug 18 '16 10:08 MiniWire

try don't use [CatchPokemon] this task, change it to [CatchVisiblePokemon] and [CatchLuredPokemon]

chihkang avatar Aug 18 '16 12:08 chihkang

@mehdi-S - The log message indicates you have been banned

@chihkang [CatchPokemon] replaced [CatchVisiblePokemon] and [CatchLuredPokemon] recently so that is not an option. Please don't give the wrong advice

k4n30 avatar Aug 18 '16 13:08 k4n30

@k4n30 if you read my issue, i cannot be banned since my account is fresh created from the second before trying to bot

mehdi-S avatar Aug 19 '16 15:08 mehdi-S

IP banned, do you share your ip with anyone else or have botted before or run pokemongo-map? There's lots of ways to be banned

k4n30 avatar Aug 20 '16 05:08 k4n30

i am using a proxy and the servers original IP is banned. from time to time the bot crashes with the same error. Maybe not every connection is using the proxy?

Netfreak25 avatar Nov 27 '17 13:11 Netfreak25