You can clone with
No one assigned
When I try to use the plugin (Open Gist, Save Gist, etc) the following error occurs
Traceback (most recent call last):
File "./gist.py", line 168, in _fn
File "./gist.py", line 571, in run
File "./gist.py", line 279, in get_gists
File "./gist.py", line 339, in api_request_native
File "./gist.py", line 73, in basic_auth_string
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 9: ordinal not in range(128)
error: Gist: unknown error (please, report a bug!)
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!
Fixes issue #76