ksiazkowicz / orphilia-dropbox

Open-source Dropbox daemon alternative.
MIT License
37 stars 8 forks source link

UnicodeEncodeError: 'ascii' codec can't encode characters #14

Open allanlaal opened 9 years ago

allanlaal commented 9 years ago
 + /path/to/file/directory prefix  ☕♡✔ suffix/filename.jpg
 x Unable to remove file path/to/file/directory prefix  ☕♡✔ suffix/filename.jpg
 > Command 'rm' executed
 x Something went wrong. Unable to get file.
Traceback (most recent call last):
  File "/afs/devices/L3/opt/orphilia-dropbox/orphiliaclient/client.py", line 155, in apply_delta
    queue.put(client(tmp))
  File "/afs/devices/L3/opt/orphilia-dropbox/orphiliaclient/client.py", line 416, in client
    client(tmp)
  File "/afs/devices/L3/opt/orphilia-dropbox/orphiliaclient/client.py", line 316, in client
    common.orphiliaNotify(notify,from_path)
  File "/afs/devices/L3/opt/orphilia-dropbox/orphilia/common.py", line 38, in orphiliaNotify
    os.system(notifier + ' ' + method + ' \"'+ string + '\"')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 59-61: ordinal not in range(128)

I use UTF8 characters a lot in my folder names, like ☕♡✔ etc..

by my logic this file should have been downloaded from dropbox to my laptop, however the only thing that happened was that the files Modified date was touched on Dropbox