gist icon indicating copy to clipboard operation
gist copied to clipboard

Can't open Gists that had been named. ST3

Open ghost opened this issue 11 years ago • 9 comments

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

ghost avatar Aug 15 '13 19:08 ghost

same for me

beshur avatar Aug 18 '13 17:08 beshur

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

miguelprada avatar Aug 20 '13 08:08 miguelprada

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

kuddl avatar Aug 22 '13 14:08 kuddl

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

condemil avatar Aug 24 '13 19:08 condemil

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!)

harmo avatar Aug 27 '13 16:08 harmo

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

gnrlbzik avatar Sep 13 '13 22:09 gnrlbzik

btw, seems to work in Sublime Text 3

beshur avatar Sep 14 '13 07:09 beshur

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

gnrlbzik avatar Sep 14 '13 13:09 gnrlbzik

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

shapov avatar Sep 25 '13 17:09 shapov