Skip to content

Instantly share code, notes, and snippets.

@b10n1k
Created October 18, 2022 20:12
Show Gist options
  • Save b10n1k/35df5d19f3a31a236043e75d4fc113bd to your computer and use it in GitHub Desktop.
Save b10n1k/35df5d19f3a31a236043e75d4fc113bd to your computer and use it in GitHub Desktop.
Debugger entered--Lisp error: (wrong-type-argument stringp 0)
get-buffer-create(0)
#f(compiled-function (body &rest args) #<bytecode 0x1930268d05dc4592>)((closure (t) (n) (let* ((json-hash (save-current-buffer (set-buffer (url-retrieve-synchronously "https://openqa.opensuse.org/group_overview/1.json")) (goto-char (point-min)) (re-search-forward "^$") (delete-region (point) (point-min)) (json-parse-buffer))) (builds (gethash "build_results" json-hash)) (last-build (aref builds n))) (message "%S" last-build) (list nil (vector (gethash "version" last-build) (number-to-string (gethash "total" last-build)) (number-to-string (gethash "passed" last-build)) (number-to-string (gethash "failed" last-build)) (number-to-string (gethash "unfinished" last-build)))))) 0)
apply(#f(compiled-function (body &rest args) #<bytecode 0x1930268d05dc4592>) (closure (t) (n) (let* ((json-hash (save-current-buffer (set-buffer (url-retrieve-synchronously "https://openqa.opensuse.org/group_overview/1.json")) (goto-char (point-min)) (re-search-forward "^$") (delete-region (point) (point-min)) (json-parse-buffer))) (builds (gethash "build_results" json-hash)) (last-build (aref builds n))) (message "%S" last-build) (list nil (vector (gethash "version" last-build) (number-to-string (gethash "total" last-build)) (number-to-string (gethash "passed" last-build)) (number-to-string (gethash "failed" last-build)) (number-to-string (gethash "unfinished" last-build)))))) 0)
get-nth-opensuse-build(0)
(progn (get-nth-opensuse-build 0))
eval((progn (get-nth-opensuse-build 0)) t)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment