"Tried contacting Github, but I can’t understand the result."
Using paradox-version 2.5.1, I get the following error from paradox-upgrade-packages. Also, there is no *Paradox Github* buffer.
Debugger entered--Lisp error: (error "Tried contacting Github, but I can’t understand the result. See *Paradox Github* buffer for the full result")
signal(error ("Tried contacting Github, but I can’t understand the result. See *Paradox Github* buffer for the full result"))
error("Tried contacting Github, but I can't understand the result. See *Paradox Github* buffer for the full result")
paradox--github-parse-response-code()
#f(compiled-function (&optional process event) #<bytecode 0x20be589>)()
paradox--github-action("user/starred?per_page=100" :async nil :callback #f(compiled-function (res) #<bytecode 0x237fb61>) :reader paradox--full-name-reader)
paradox--refresh-user-starred-list(nil)
paradox-list-packages(nil)
paradox-upgrade-packages()
eval((paradox-upgrade-packages) nil)
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)
Thu Nov 8 11:53:41 GMT 2018
Have you tried version 2.5.2 - using Emacs' builtin package system?
It turns out I have the latest version from MELPA. cf https://github.com/Malabarba/paradox/issues/157
Thu Nov 8 13:22:55 GMT 2018
A couple things to try:
- Stop emacs. Remove all
.elcfiles. Restart emacs and try again. - Run
paradox-list-packages
Edit:
Forgot to ask - do you have a github token?
From paradox-github.el:
To generate an access token:
1. Visit the page https://github.com/settings/tokens/new?scopes=public_repo&description=Paradox
and login to github (if asked).
2. Click on \"Generate Token\", copy the generated token, and
save it to this variable by writing
(setq paradox-github-token TOKEN)
somewhere in your configuration and evaluating it (or just
restart emacs).
I do have an access token. I migrated my home directory to a new computer, and perhaps I missed something and that is causing this error, as
(setq paradox-github-token t)
solves it.
Deleting .elc files and re-running paradox-list-packages did not help though.