condemil / gist

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

Can't lauch any gist commands #95

Closed orbanbotond closed 11 years ago

orbanbotond commented 11 years ago

I got this in my sublime console:

SyntaxError: Non-ASCII character '\xe2' in file ./gist.py on line 581, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

joshuafredrickson commented 11 years ago

Same issue. Worked great until this week. Now, I receive the following upon startup:

Reloading plugin C:\Users\***\AppData\Roaming\Sublime Text 2\Packages\Gist\gist.py
Traceback (most recent call last):
  File ".\sublime_plugin.py", line 62, in reload_plugin
  File ".\gist.py", line 581
SyntaxError: Non-ASCII character '\xe2' in file .\gist.py on line 581, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

So I added the following at the top of Packages\Gist\gist.py:

# -*- coding: utf-8 -*-

Working for me so far.

condemil commented 11 years ago

Must be fixed in last version.

orbanbotond commented 11 years ago

It is... fixed. but if I install the gist with package manager probably it installs the old version... So please check it.