kraftkit icon indicating copy to clipboard operation
kraftkit copied to clipboard

`catalog/examples/python3.12-flask3.0-sqlite`: gives: `panic: assignment to entry in nil map`

Open cosmin1805 opened this issue 9 months ago • 1 comments

Describe the bug

Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy Linux unikraft 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Running on a proxmox VM

Steps to reproduce

kraft run --rm -p 8080:8080 --plat qemu --arch x86_64 -M 1024M .

Expected behavior

The example to start

Which architectures were you using or does this bug affect?

x86_64

Which operating system were you using or does this bug affect?

linux/debian

Relevant log output

panic: assignment to entry in nil map

goroutine 321 [running]:
kraftkit.sh/internal/cli/kraft/run.(*RunOptions).prepareRootfs.func1({0x21dc8b8?, 0xc006eef050?})
        /__w/kraftkit/kraftkit/internal/cli/kraft/run/utils.go:401 +0x13b
kraftkit.sh/tui/processtree.(*ProcessTree).Init.(*ProcessTree).waitForProcessCmd.func2()
        /__w/kraftkit/kraftkit/tui/processtree/processtree.go:329 +0xb4
github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1.1()
        /go/pkg/mod/github.com/charmbracelet/[email protected]/tea.go:294 +0x29
created by github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1 in goroutine 316
        /go/pkg/mod/github.com/charmbracelet/[email protected]/tea.go:293 +0x139

cosmin1805 avatar Apr 28 '24 12:04 cosmin1805

Fresh install on osx gives the same error on both the node21-express and http-rust1.75 examples

Nyrox avatar Apr 29 '24 07:04 Nyrox

This is fixed in latest staging 🙏

craciunoiuc avatar May 27 '24 15:05 craciunoiuc