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

crash : UnicodeDecodeError: #1837

Closed
mehdi-S opened this issue Jul 30, 2016 · 1 comment
Closed

crash : UnicodeDecodeError: #1837

mehdi-S opened this issue Jul 30, 2016 · 1 comment

Comments

@mehdi-S
Copy link

mehdi-S commented Jul 30, 2016

Expected Behavior

work normally

Actual Behavior

Traceback (most recent call last):
  File "pokecli.py", line 464, in <module>
    main()
  File "pokecli.py", line 68, in main
    bot.tick()
  File "/root/bot2/pokemongo_bot/__init__.py", line 84, in tick
    if worker.work() == WorkerResult.RUNNING:
  File "/root/bot2/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 "/root/bot2/pokemongo_bot/logger.py", line 21, in log
    print('[' + time.strftime("%H:%M:%S") + '] ' + string)
  File "/usr/lib/python2.7/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 31: ordinal not in range(128)

Steps to Reproduce

pull, config, launch

Other Information

OS: Debian x86_x64
Git Commit: 2f277fd

@hklcf
Copy link
Contributor

hklcf commented Jul 30, 2016

Duplicate
#1814

@mehdi-S mehdi-S closed this as completed Jul 30, 2016
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

2 participants