-
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
Decode ASCII Error when display fort names in some lanaguages #1814
Comments
same here |
|
@CapCap waiting for your PR 👍 |
Confirmed, having this issue too.
|
Got this same error on a Mac. Tried doing a clean installation of the latest dev 2f277fd but no luck. It ran for a couple of mins and then crashed. |
Confirmed, happened to me too..
|
already an issue and a pr has been submitted: #1806 |
Does this affect older commits too or can we just revert back while waiting for a fix? |
@Simbe90 not all old commits, but you'll probably have to figure out yourself at which commit this was introduced |
same here: 2f277fd |
Reverted back to 93dbca6 from earlier today with |
confirmed
|
I also have this issue
GIT Commit: 2f277fd |
For those impatient to get the fix, I can confirm that @CapCap solution works. Adding the following lines in
|
Needs Verification:
Traceback (most recent call last):
File "pokecli.py", line 464, in
main()
File "pokecli.py", line 68, in main
bot.tick()
File "/Users/mike/repos/fun/PokemonGo-Bot/pokemongo_bot/init.py", line 84, in tick
if worker.work() == WorkerResult.RUNNING:
File "/Users/mike/repos/fun/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_fort_worker.py", line 43, in work
logger.log('Moving towards fort {}, {} left'.format(fort_name, format_dist(dist, unit)))
File "/Users/mike/repos/fun/PokemonGo-Bot/pokemongo_bot/logger.py", line 21, in log
print('[' + time.strftime("%H:%M:%S") + '] ' + string)
File "/Users/mike/repos/fun/PokemonGo-Bot/lib/python2.7/codecs.py", line 369, in write
data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 31: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: