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

graphql-send-query query freezes Emacs #31

Open
shackra opened this issue Jul 9, 2019 · 0 comments
Open

graphql-send-query query freezes Emacs #31

shackra opened this issue Jul 9, 2019 · 0 comments

Comments

@shackra
Copy link

shackra commented Jul 9, 2019

for some reason my requests never finish making Emacs freeze for long periods of time, I have to use C-g to regain control.

This is the backtrace:

Debugger entered--Lisp error: (quit)
  request--curl-sync("https://gitlab.com/api/graphql" :type "POST" :data "{\"variables\":{\"currentGroup\":\"space-empire\"},\"query\":\"query {\\n  group(fullPath: $current) {\\n    id\\n    name\\n  }\\n}\\n\"}" :headers (("Content-Type" . "application/json")) :parser json-read :sync t :complete #f(compiled-function (&rest _) #<bytecode 0x156e48541ef9>) :error #f(compiled-function (&rest args2) #<bytecode 0x156e48542305>) :url "https://gitlab.com/api/graphql" :response #s(request-response :status-code nil :history nil :data nil :error-thrown nil :symbol-status nil :url "https://gitlab.com/api/graphql" :done-p nil :settings (:type "POST" :data "{\"variables\":{\"currentGroup\":\"space-empire\"},\"quer..." :headers (("Content-Type" . "application/json")) :parser json-read :sync t :complete #f(compiled-function (&rest _) #<bytecode 0x156e48541ef9>) :error #f(compiled-function (&rest args2) #<bytecode 0x156e48542305>) :url "https://gitlab.com/api/graphql" :response #19 :encoding utf-8) :-buffer #<buffer  *request curl*> :-raw-header nil :-timer nil :-backend curl :-tempfiles ("/tmp/emacs-requestrZtD9p")) :encoding utf-8)
  apply(request--curl-sync "https://gitlab.com/api/graphql" (:type "POST" :data "{\"variables\":{\"currentGroup\":\"space-empire\"},\"query\":\"query {\\n  group(fullPath: $current) {\\n    id\\n    name\\n  }\\n}\\n\"}" :headers (("Content-Type" . "application/json")) :parser json-read :sync t :complete #f(compiled-function (&rest _) #<bytecode 0x156e48541ef9>) :error #f(compiled-function (&rest args2) #<bytecode 0x156e48542305>) :url "https://gitlab.com/api/graphql" :response #s(request-response :status-code nil :history nil :data nil :error-thrown nil :symbol-status nil :url "https://gitlab.com/api/graphql" :done-p nil :settings #3 :-buffer #<buffer  *request curl*> :-raw-header nil :-timer nil :-backend curl :-tempfiles ("/tmp/emacs-requestrZtD9p")) :encoding utf-8))
  request("https://gitlab.com/api/graphql" :type "POST" :data "{\"variables\":{\"currentGroup\":\"space-empire\"},\"query\":\"query {\\n  group(fullPath: $current) {\\n    id\\n    name\\n  }\\n}\\n\"}" :headers (("Content-Type" . "application/json")) :parser json-read :sync t :complete #f(compiled-function (&rest _) #<bytecode 0x156e48541ef9>))
  graphql-post-request("https://gitlab.com/api/graphql" "query {\n  group(fullPath: $current) {\n    id\n    name\n  }\n}\n" "" ((currentGroup . "space-empire")))
  graphql--query("query {\n  group(fullPath: $current) {\n    id\n    name\n  }\n}\n" "" ((currentGroup . "space-empire")))
  graphql-send-query()
  funcall-interactively(graphql-send-query)
  call-interactively(graphql-send-query nil nil)
  command-execute(graphql-send-query)
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

1 participant