Skip to content

Instantly share code, notes, and snippets.

@aliou
Created May 31, 2014 12:00
Show Gist options
  • Save aliou/bd76fa7f7e34a7b48cda to your computer and use it in GitHub Desktop.
Save aliou/bd76fa7f7e34a7b48cda to your computer and use it in GitHub Desktop.
Enter the path to store respositories (/Users/alioudiallo/sandbox/gethub if blank):
Your username and password will be used once to obtain a unique
authorization token from GitHub's API, which will be stored in
~/.gethubconfig.
Please enter your GitHub username: aliou
Please enter your GitHub password:
Post https://api.github.com/authorizations: x509: failed to load system roots and no roots provided
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xa code=0x2 addr=0x20 pc=0x41591]
goroutine 1 [running]:
runtime.panic(0x1e3760, 0x468e6d)
/usr/local/go/src/pkg/runtime/panic.c:266 +0x9a
github.com/pearkes/gethub/steps.(*StepAuthorizeGithub).Run(0x470974, 0x518a50, 0x10779300, 0x0)
/Users/pearkes/code/golang/src/github.com/pearkes/gethub/steps/step_authorize_github.go:82 +0x701
github.com/mitchellh/multistep.(*BasicRunner).Run(0x10778940, 0x518a50, 0x10779300)
/Users/pearkes/code/golang/src/github.com/mitchellh/multistep/basic_runner.go:70 +0x278
main.authorizeRunner(0x518a50, 0x10779300)
/Users/pearkes/code/golang/src/github.com/pearkes/gethub/main.go:84 +0x168
main.main()
/Users/pearkes/code/golang/src/github.com/pearkes/gethub/main.go:45 +0x36a
goroutine 3 [runnable]:
github.com/mitchellh/multistep.func·002()
/Users/pearkes/code/golang/src/github.com/mitchellh/multistep/basic_runner.go:53 +0x10e
created by github.com/mitchellh/multistep.(*BasicRunner).Run
/Users/pearkes/code/golang/src/github.com/mitchellh/multistep/basic_runner.go:60 +0x1a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment