Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open Gists that had been named. ST3 #99

Open
ghost opened this issue Aug 15, 2013 · 9 comments
Open

Can't open Gists that had been named. ST3 #99

ghost opened this issue Aug 15, 2013 · 9 comments
Labels

Comments

@ghost
Copy link

ghost commented Aug 15, 2013

No errors in console. Nothing.

I can open Gists if i don't specify a name when i create them (they are named as "gistfile1" for example) , but i can't open files that have names (for example "reset.css", "template.html" etc). I can use "Gist: Insert Gist" without problem though.

I tried installing plugin through Package Control and through "git clone".

Sublime Text 3: 3047 windows x64 channel

@beshur
Copy link

beshur commented Aug 18, 2013

same for me

@miguelprada
Copy link

Same here, I can create, insert, delete, but I cannot open gists.

@kuddl
Copy link

kuddl commented Aug 22, 2013

YUP, same here.
As soon as I name a GIST, I can't reopen it!
=> UPDATE : if I name it "test" it works just fine. If I name it "test.css" it fails. Hope that helps
=> UPDATE: if I name it ".alias" ist works fine

@condemil
Copy link
Owner

Thank you for detailed description. This issue must be fixed in last version.

@harmo
Copy link

harmo commented Aug 27, 2013

Same here, can do everything else open existing gists.

Traceback (most recent call last):
File "gist in /home/david/.config/sublime-text-3/Installed Packages/Gist.sublime-package", line 103, in _fn
File "gist in /home/david/.config/sublime-text-3/Installed Packages/Gist.sublime-package", line 632, in run
File "/opt/sublime_text_3/sublime.py", line 313, in show_quick_panel
items_per_row, on_select, on_highlight, flags, selected_index)
TypeError: String required
error: Gist: unknown error (please, report a bug!)

@gnrlbzik
Copy link

can't open still, try to update gist package from package manager, no luck

@beshur
Copy link

beshur commented Sep 14, 2013

btw, seems to work in Sublime Text 3

@gnrlbzik
Copy link

I am using ST3. And if i create gist without naming it. I can open it after. All existing gist, I cant.

@shapov
Copy link
Contributor

shapov commented Sep 25, 2013

I was facing a similar issue. There is a check in gist.py that only allows files of type "/text" to be opened, which means if you create a gist and name it something like "test.js" the type of the file will not be "/text" anymore, and will not be opened.

I fixed the issue in #107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants