Closed florianeckerstorfer closed 11 years ago
Hi, I've got the same failure too, although my 'UnicodeDecodeError' was caused by some 'utf-8' decoding:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc1 in position 8: invalid start byte error: Gist: UnicodeDecodeError returnded 'utf8' codec can't decode byte 0xc1 in position 8: invalid start byte
This error raises only for some of my Gists. I do not know how to avoid that, as I cannot find any special characters within these files. I just added an 'UnicodeDecodeError' exception to 'gist.py' at line 198:
except UnicodeDecodeError as err: sublime.error_message("Gist: This failure seems to be based on an empty 'response' between line 409-421 \n UnicodeDecodeError returned %s" % err)
Does not help, but gives a better indication of the error that happened.
Hey...I recognized, that I get this failure only when I want to open a Gist that contains a 'thumbnail.png'! So...seems it is unable to import *.png files...but I haven't found a solution!
When I try to use the plugin (Open Gist, Save Gist, etc) the following error occurs