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

Error deleting Gist #99

Closed
rgo opened this issue Jul 2, 2012 · 2 comments
Closed

Error deleting Gist #99

rgo opened this issue Jul 2, 2012 · 2 comments

Comments

@rgo
Copy link

rgo commented Jul 2, 2012

Hi,

When I try to delete a gist it gives me this error:

Deleting gist...
Se ha detectado un error al procesar function gist#Gist..<SNR>63_GistDelete:
línea    2
E121: Variable sin definir: gist
E116: Argumentos inválidos para la función: webapi#json#encode(gist), {   "Authorization": s:GetAuthHeader(),   "Content-Type": "application/json",}, 'DELETE')
E116: Argumentos inválidos para la función: webapi#http#post('https://api.github.com/gists/'.a:gistid, '', webapi#json#encode(gist), {   "Authorization": s:GetAuthHeader(),   "Content-Type": 
"application/json",}, 'DELETE')
E15: La expresión no es válida: webapi#http#post('https://api.github.com/gists/'.a:gistid, '', webapi#json#encode(gist), {   "Authorization": s:GetAuthHeader(),   "Content-Type": "application
/json",}, 'DELETE')
línea    7
E121: Variable sin definir: res
E116: Argumentos inválidos para la función: matchstr(res.header, '^Status:'), '^[^:]\+: \zs.*')
E116: Argumentos inválidos para la función: matchstr(matchstr(res.header, '^Status:'), '^[^:]\+: \zs.*')
E15: La expresión no es válida: matchstr(matchstr(res.header, '^Status:'), '^[^:]\+: \zs.*')
línea    8
E121: Variable sin definir: status
E15: La expresión no es válida: status =~ '^2'

To reproduce it I do "gist -l" , select a gist to open it, in his buffer I do "gist -d".

I'm using the latest version from master.

Thanks, regards

@mattn mattn closed this as completed in 3e02137 Jul 3, 2012
@mattn
Copy link
Owner

mattn commented Jul 3, 2012

thank you

@rgo
Copy link
Author

rgo commented Jul 5, 2012

thanks to you :)

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

No branches or pull requests

2 participants