Skip to content

Instantly share code, notes, and snippets.

@leonklingele
Created July 28, 2017 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leonklingele/ff7fb4d518bf7b24ec1fc29209a49ea3 to your computer and use it in GitHub Desktop.
Save leonklingele/ff7fb4d518bf7b24ec1fc29209a49ea3 to your computer and use it in GitHub Desktop.
pick-self-sync-panic.txt
$ pwd
$HOME/.pick/
$ pick sync pick.safe
Enter your master password for safe '$HOME/.pick/pick.safe'
panic: assignment to entry in nil map
goroutine 1 [running]:
github.com/bndw/pick/commands.Sync(0xc420018cb0, 0x1, 0x1, 0xc420090480, 0x1136b24, 0xc420090480)
/tmp/pick-pass-20170316-81499-1m2r226/pick-0.4.0/vendor/src/github.com/bndw/pick/commands/sync.go:37 +0x157
github.com/bndw/pick/commands.runCommand(0x12c83f0, 0xc42008dd40, 0xc420018cb0, 0x1, 0x1)
/tmp/pick-pass-20170316-81499-1m2r226/pick-0.4.0/vendor/src/github.com/bndw/pick/commands/util.go:17 +0x60
github.com/bndw/pick/commands.init.12.func1(0xc42008dd40, 0xc420018cb0, 0x1, 0x1)
/tmp/pick-pass-20170316-81499-1m2r226/pick-0.4.0/vendor/src/github.com/bndw/pick/commands/sync.go:16 +0x55
github.com/spf13/cobra.(*Command).execute(0xc42008dd40, 0xc420018c70, 0x1, 0x1, 0xc42008dd40, 0xc420018c70)
/tmp/pick-pass-20170316-81499-1m2r226/pick-0.4.0/vendor/src/github.com/spf13/cobra/command.go:648 +0x231
github.com/spf13/cobra.(*Command).ExecuteC(0x1400540, 0x0, 0x19, 0x2)
/tmp/pick-pass-20170316-81499-1m2r226/pick-0.4.0/vendor/src/github.com/spf13/cobra/command.go:735 +0x339
github.com/spf13/cobra.(*Command).Execute(0x1400540, 0x0, 0x0)
/tmp/pick-pass-20170316-81499-1m2r226/pick-0.4.0/vendor/src/github.com/spf13/cobra/command.go:693 +0x2b
github.com/bndw/pick/commands.Execute(0xc42009a5a0, 0x5, 0xc42009a5a0)
/tmp/pick-pass-20170316-81499-1m2r226/pick-0.4.0/vendor/src/github.com/bndw/pick/commands/root.go:20 +0x43
main.main()
/tmp/pick-pass-20170316-81499-1m2r226/pick-0.4.0/main.go:21 +0xb3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment