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

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

Closed
mehdi-S opened this issue Aug 17, 2016 · 10 comments

Comments

@mehdi-S
Copy link

mehdi-S commented Aug 17, 2016

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:
96bdbb6
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

@MiniWire
Copy link

MiniWire commented Aug 17, 2016

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

@yweitkemper
Copy link

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

@MiniWire
Copy link

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

@mehdi-S
Copy link
Author

mehdi-S commented Aug 18, 2016

unfortunatly doesnt work for me @MiniWire

@MiniWire
Copy link

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

@chihkang
Copy link

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

@k4n30
Copy link
Contributor

k4n30 commented Aug 18, 2016

@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 k4n30 closed this as completed Aug 18, 2016
@mehdi-S
Copy link
Author

mehdi-S commented Aug 19, 2016

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

@k4n30
Copy link
Contributor

k4n30 commented Aug 20, 2016

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

@Netfreak25
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants