condemil / gist

Sublime Text plugin for creating new Gists from selected text
MIT License
725 stars 136 forks source link

when opening gist I get an error. #96

Closed orbanbotond closed 11 years ago

orbanbotond commented 11 years ago

I put his at the begining of gist.py

!/usr/bin/env python

-- coding: utf-8 --

In order to deal with issue #95.

But then when I am opening a new gist I got this error.

Reloading plugin /Users/boti/Library/Application Support/Sublime Text 2/Packages/Gist/gist.py reloading /Users/boti/Library/Application Support/Sublime Text 2/Packages/User/Fetch.sublime-settings Traceback (most recent call last): File "./gist.py", line 104, in _fn return fn(_args, *_kwargs) File "./gist.py", line 583, in run gist_names = filtered[1] + list(map(lambda x: ["★ " + x[0]], filtered_stars[1])) File "./gist.py", line 583, in gist_names = filtered[1] + list(map(lambda x: ["★ " + x[0]], filtered_stars[1])) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) error: Gist: unknown error (please, report a bug!)

condemil commented 11 years ago

Must be fixed in last version.

orbanbotond commented 11 years ago

It worked if I cloned as is listed in the readme. But if I installed gist with the sublimes built in package manager it didn't worked... So maybe it worth an update in the package manager