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

bug: list-devices command exits with panic #34

Open
kbdharun opened this issue Jan 17, 2024 · 1 comment
Open

bug: list-devices command exits with panic #34

kbdharun opened this issue Jan 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kbdharun
Copy link
Member

Log:

kbdharun@vanillaos:~$ ikaros list-devices
 ▀ Listing devices and drivers... (0s)panic: interface conversion: interface {} is nil, not string

goroutine 1 [running]:
github.com/vanilla-os/ikaros/core.DriversManager.GetLshw({}, {0x77ae50, 0x7})
	/__w/Ikaros/Ikaros/core/manager.go:42 +0x6b4
github.com/vanilla-os/ikaros/core.DriversManager.GetDisplayDevices(...)
	/__w/Ikaros/Ikaros/core/manager.go:69
github.com/vanilla-os/ikaros/core.DriversManager.GetDevices({})
	/__w/Ikaros/Ikaros/core/manager.go:74 +0x2e
github.com/vanilla-os/ikaros/cmd.listDevices(0xc000140000?, {0x779af0?, 0x4?, 0x779af4?})
	/__w/Ikaros/Ikaros/cmd/list-devices.go:39 +0xd5
github.com/spf13/cobra.(*Command).execute(0xc000004c00, {0xa95640, 0x0, 0x0})
	/__w/Ikaros/Ikaros/vendor/github.com/spf13/cobra/command.go:916 +0x87c
github.com/spf13/cobra.(*Command).ExecuteC(0xc000004300)
	/__w/Ikaros/Ikaros/vendor/github.com/spf13/cobra/command.go:1044 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
	/__w/Ikaros/Ikaros/vendor/github.com/spf13/cobra/command.go:968
github.com/vanilla-os/orchid/cmdr.(*App).Run(0xc000004300?)
	/__w/Ikaros/Ikaros/vendor/github.com/vanilla-os/orchid/cmdr/app.go:97 +0x6d
main.main()
	/__w/Ikaros/Ikaros/main.go:35 +0x405
@kbdharun kbdharun added the bug Something isn't working label Jan 17, 2024
@mirkobrombin
Copy link
Member

mirkobrombin commented Jan 17, 2024

ikaros is no more planned for Orchid, so we can postpone this for the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants