Closed helinb closed 9 years ago
[10/10/2015 - 21:29:42] ERROR: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte [10/10/2015 - 21:29:44] ERROR: [Can't edit the gist] - Code 422 - Validation Failed, File: sync_settings.gistapi in /root/.config/sublime-text-3/Installed Packages/Sync Settings.sublime-package - Line: 60
Thanks!
This issue is caused by the file's encoding
Try with
open(..., encoding='utf-8', errors='replace')
[10/10/2015 - 21:29:42] ERROR: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte [10/10/2015 - 21:29:44] ERROR: [Can't edit the gist] - Code 422 - Validation Failed, File: sync_settings.gistapi in /root/.config/sublime-text-3/Installed Packages/Sync Settings.sublime-package - Line: 60