posborne / putio-sync

Python daemon that automatically downloads files from put.io
MIT License
29 stars 12 forks source link

Unicode issue with all versions of python #50

Closed joshkerr closed 5 years ago

joshkerr commented 5 years ago

I can consistently cause this error to show up in my log:

2019-02-17 08:59:34,247 | putiosync | ERROR | Unexpected error while performing check/download: 'ascii' codec can't encode characters in position 12-17: ordinal not in range(128)

This happens and then the app stops working. It will still serve the web page but it will no longer download files. I've tried both python 2 and 3.

joshkerr commented 5 years ago

Added a pullrequest with the fix: https://github.com/posborne/putio-sync/pull/51