Skip to content

Lock and manifest changed from json to toml #50

@elfgoh

Description

@elfgoh
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions