aviaryan / SublimeNotebook

📝 Make Sublime Text your favorite note taking/journal application
MIT License
217 stars 15 forks source link

UnicodeDecodeError: 'ascii' codec can't decode byte 0xb9 in position 0: ordinal not in range(128) #2

Closed serpro69 closed 6 years ago

serpro69 commented 6 years ago

Getting following error when encrypting:

Traceback (most recent call last):
  File "./manager.py", line 33, in <module>
    update_file(encode, get_file_list(), key2)
  File "/Users/.../Documents/SublimeNotes/cryptlib.py", line 62, in update_file
    newData = funcptr(key, data)
  File "/Users/.../Documents/SublimeNotes/cryptlib.py", line 20, in encode
    return ENCODED_IDF + base64.urlsafe_b64encode("".join(enc).encode()).decode()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb9 in position 0: ordinal not in range(128)
aviaryan commented 6 years ago

This project requires Python 3. Are you using Python 3?

aviaryan commented 6 years ago

Closing because of inactivity.