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

Trying to connect to github signals error (wrong-type-argument stringp nil) #396

Open
joshuabach opened this issue Dec 20, 2018 · 0 comments

Comments

@joshuabach
Copy link

joshuabach commented Dec 20, 2018

Whatever I do, I get a (wrong-type-argument stringp nil) error. Be it cloning a new repository, or trying to access the dashbord in an existing one. For example:

M-x magithub-clone RET vermiculus/magithub RET yes RET joshuabach RET <password> RET

(the yes is entered at the prompt for "Create such a token?")

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  encode-coding-string(nil utf-8)
  ghub--auth("api.github.com" magithub "joshuabach" nil)
  #f(compiled-function () #<bytecode 0x17ecf25>)()
  ghub--retrieve(nil #s(ghub--req :url #s(url :type "https" :user nil :password nil :host "api.github.com" :portspec nil :filename "/repos/vermiculus/magithub" :target nil :attributes nil :fullness t :silent nil :use-cookies t :asynchronous t) :forge nil :silent nil :method "GET" :headers #f(compiled-function () #<bytecode 0x17ecf25>) :handler ghub--handle-response :unpaginate nil :noerror nil :reader nil :callback nil :errorback nil :value nil :extra nil))
  ghub-request("GET" "/repos/vermiculus/magithub" nil :query nil :payload nil :unpaginate nil :headers nil :username nil :auth magithub :host nil)
  ghubp-request(get "/repos/vermiculus/magithub" nil nil)
  apply(ghubp-request get "/repos/vermiculus/magithub" (nil nil))
  ghubp-get-repos-owner-repo(((owner (login . "vermiculus")) (name . "magithub")))
  byte-code("\302 \303 C\304\030\211\305\306B\002\242B\240\210\307\310\311\312\313\005!\314\"\315$\020\316\002!)\262\001\206:\0\211\317\320\002\236A\236A\321\002\236A\322\323\003\003#\266\202\262\001\324\321\002\"\325\326\011\003\304\005%\002\001D\207" [ghubp-contextualize-function magithub-clone-default-directory magithub-clone--get-repo ghubp-get-context nil auth magithub make-byte-code 0 "\300\242\207" vconcat vector [] 1 ghubp-get-repos-owner-repo login owner name user-error "Repository %s/%s does not exist" alist-get read-directory-name "Destination: "] 9)
  call-interactively(magithub-clone record nil)
  command-execute(magithub-clone record)
  helm-M-x(nil #("magithub-clone" 0 14 (match-part "magithub-clone")))
  funcall-interactively(helm-M-x nil #("magithub-clone" 0 14 (match-part "magithub-clone")))
  call-interactively(helm-M-x nil nil)
  command-execute(helm-M-x)

A similar error is reported in #367, though it originates from an entirely different function, so I don't think it's related.

Versions

  • GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-07-0520181003.1456
    Installed from MELPA:
  • magit: 20181218.2039
  • ghub: 20181003.1456
  • magithub: 20181203.1302
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