Skip to content

tk init currently fails due to jsonnet-bundler issue #1894

@juliajohannesen

Description

@juliajohannesen

See the associated jsonnet-bunder issue- tk init currently panics with the following:

goroutine 1 [running]:
github.com/jsonnet-bundler/jsonnet-bundler/pkg.(*GitPackage).Install(0xc00007a338, {0x91fbf0, 0xc34440}, {0xc000026990, 0x2a}, {0xc000014e00, 0x10}, {0x7ffe06e5f838, 0x4})
	/home/julia/.go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.6.0/pkg/git.go:228 +0x1ee8
github.com/jsonnet-bundler/jsonnet-bundler/pkg.download({{0xc0000243c0, 0x0}, {0x7ffe06e5f838, 0x4}, {0x0, 0x0}, 0x0, {0x0, 0x0}}, {0xc000014e00, ...}, ...)
	/home/julia/.go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.6.0/pkg/packages.go:316 +0x383
github.com/jsonnet-bundler/jsonnet-bundler/pkg.ensure(0xc0000f2bd0, {0xc000014e00, 0x10}, {0x0, 0x0}, 0xc0000f2c40)
	/home/julia/.go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.6.0/pkg/packages.go:239 +0x74f
github.com/jsonnet-bundler/jsonnet-bundler/pkg.Ensure({0xc0000f2bd0?, 0x0?}, {0xc000014e00, 0x10}, 0x0?)
	/home/julia/.go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.6.0/pkg/packages.go:55 +0x48
main.installCommand({0xc0000140e4?, 0x89283e?}, {0x87b961, 0x6}, {0xc0000a2400, 0x3, 0x458135?}, 0x0, {0x0, 0x0})
	/home/julia/.go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.6.0/cmd/jb/install.go:86 +0xa14
main.Main()
	/home/julia/.go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.6.0/cmd/jb/main.go:87 +0xd65
main.main()
	/home/julia/.go/pkg/mod/github.com/jsonnet-bundler/jsonnet-bundler@v0.6.0/cmd/jb/main.go:39 +0x13
Installing k.libsonnet: exit status 2
Directory structure set up! Remember to configure the API endpoint:
`tk env set environments/default --server=https://127.0.0.1:6443`
Errors occurred while initializing the project. Check the above logs for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions