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

Lock and manifest changed from json to toml #50

Closed
elfgoh opened this issue Apr 13, 2017 · 0 comments
Closed

Lock and manifest changed from json to toml #50

elfgoh opened this issue Apr 13, 2017 · 0 comments

Comments

@elfgoh
Copy link
Contributor

elfgoh commented Apr 13, 2017

  • go version go1.8.1 linux/arm
  • error during make install
  • This seems to be the cause as dep now uses TOML
panic: interface conversion: interface {} is *toml.TomlTree, not []*toml.TomlTree

goroutine 1 [running]:
github.com/golang/dep/vendor/github.com/pelletier/go-toml.valueFromToml(0x1664200, 0x13e52a0, 0x1469700, 0xc420133900, 0xc420133900, 0x13e52a0, 0x13d03dd, 0x1d, 0x0)
	/Users/plgl757e/Projects/go/src/github.com/golang/dep/vendor/github.com/pelletier/go-toml/marshal.go:327 +0x223
github.com/golang/dep/vendor/github.com/pelletier/go-toml.valueFromTree(0x1664200, 0x1448480, 0xc4201338a0, 0x0, 0x0, 0x90, 0x0, 0x1657ea0)
	/Users/plgl757e/Projects/go/src/github.com/golang/dep/vendor/github.com/pelletier/go-toml/marshal.go:270 +0x2c6
github.com/golang/dep/vendor/github.com/pelletier/go-toml.Unmarshal(0xc420178000, 0x90, 0x600, 0x13d8760, 0xc42001b3e0, 0x0, 0xc42011b830)
	/Users/plgl757e/Projects/go/src/github.com/golang/dep/vendor/github.com/pelletier/go-toml/marshal.go:245 +0x1d6
github.com/golang/dep.readManifest(0x1658ca0, 0xc42000e140, 0xc42000e140, 0x0, 0x0)
	/Users/plgl757e/Projects/go/src/github.com/golang/dep/manifest.go:49 +0x16b
github.com/golang/dep.(*Ctx).LoadProject(0xc420130e70, 0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/plgl757e/Projects/go/src/github.com/golang/dep/context.go:113 +0x415
main.(*ensureCommand).Run(0xc420133720, 0xc420130e70, 0xc42000c2e0, 0x0, 0x0, 0x0, 0x0)
	/Users/plgl757e/Projects/go/src/github.com/golang/dep/cmd/dep/ensure.go:110 +0x80
main.main()
	/Users/plgl757e/Projects/go/src/github.com/golang/dep/cmd/dep/main.go:125 +0x6df
make: *** [dep] Error 2
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