champe20/Apx

Fedora 37 aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* Fedora 37 (0 downloads) Fedora 38 aarch64 (0)*, i386 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* Fedora 38 (0 downloads) Fedora rawhide aarch64 (0)*, ppc64le (0)*, s390x (0)*, x86_64 (0)* Fedora rawhide (0 downloads)

This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/champe20/apx

Hi, I just installed APX, tried to run it and got this error:

One or more core components are not available. 
Please refer to our documentation at https://documentation.vanillaos.org/
panic: distrobox is not installed

I’m using Fedora Silverblue and distrobox is installed normally

and I have some more logs:

❯ apx
One or more core components are not available. 
Please refer to our documentation at https://documentation.vanillaos.org/
panic: distrobox is not installed

goroutine 1 [running]:
panic({0x557a1c921820, 0xc0001927c0})
	/usr/lib/golang/src/runtime/panic.go:987 +0x3bb fp=0xc0001abea0 sp=0xc0001abde0 pc=0x557a1c4fff5b
github.com/vanilla-os/apx/core.NewStandardApx()
	/builddir/build/BUILD/apx-2.0.0/_build/src/github.com/vanilla-os/apx/core/apx.go:31 +0x97 fp=0xc0001abec8 sp=0xc0001abea0 pc=0x557a1c7d1917
main.main()
	/builddir/build/BUILD/apx-2.0.0/_build/src/github.com/vanilla-os/apx/main.go:28 +0x2b fp=0xc0001abf80 sp=0xc0001abec8 pc=0x557a1c81882b
runtime.main()
	/usr/lib/golang/src/runtime/proc.go:250 +0x212 fp=0xc0001abfe0 sp=0xc0001abf80 pc=0x557a1c502cd2
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0001abfe8 sp=0xc0001abfe0 pc=0x557a1c531e01

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:381 +0xd6 fp=0xc000050fb0 sp=0xc000050f90 pc=0x557a1c503116
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:387
runtime.forcegchelper()
	/usr/lib/golang/src/runtime/proc.go:305 +0xb0 fp=0xc000050fe0 sp=0xc000050fb0 pc=0x557a1c502f50
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000050fe8 sp=0xc000050fe0 pc=0x557a1c531e01
created by runtime.init.7
	/usr/lib/golang/src/runtime/proc.go:293 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:381 +0xd6 fp=0xc000051780 sp=0xc000051760 pc=0x557a1c503116
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:387
runtime.bgsweep(0x0?)
	/usr/lib/golang/src/runtime/mgcsweep.go:278 +0x8e fp=0xc0000517c8 sp=0xc000051780 pc=0x557a1c4ef1ee
runtime.gcenable.func1()
	/usr/lib/golang/src/runtime/mgc.go:178 +0x26 fp=0xc0000517e0 sp=0xc0000517c8 pc=0x557a1c4e44a6
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000517e8 sp=0xc0000517e0 pc=0x557a1c531e01
created by runtime.gcenable
	/usr/lib/golang/src/runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc000076000?, 0x557a1c8db318?, 0x1?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:381 +0xd6 fp=0xc000051f70 sp=0xc000051f50 pc=0x557a1c503116
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:387
runtime.(*scavengerState).park(0x557a1cc3e3c0)
	/usr/lib/golang/src/runtime/mgcscavenge.go:400 +0x53 fp=0xc000051fa0 sp=0xc000051f70 pc=0x557a1c4ed113
runtime.bgscavenge(0x0?)
	/usr/lib/golang/src/runtime/mgcscavenge.go:628 +0x45 fp=0xc000051fc8 sp=0xc000051fa0 pc=0x557a1c4ed6e5
runtime.gcenable.func2()
	/usr/lib/golang/src/runtime/mgc.go:179 +0x26 fp=0xc000051fe0 sp=0xc000051fc8 pc=0x557a1c4e4446
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000051fe8 sp=0xc000051fe0 pc=0x557a1c531e01
created by runtime.gcenable
	/usr/lib/golang/src/runtime/mgc.go:179 +0xaa

goroutine 5 [finalizer wait]:
runtime.gopark(0x1a0?, 0x557a1cc3eb40?, 0x60?, 0x78?, 0xc000050770?)
	/usr/lib/golang/src/runtime/proc.go:381 +0xd6 fp=0xc000050628 sp=0xc000050608 pc=0x557a1c503116
runtime.runfinq()
	/usr/lib/golang/src/runtime/mfinal.go:193 +0x107 fp=0xc0000507e0 sp=0xc000050628 pc=0x557a1c4e34c7
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000507e8 sp=0xc0000507e0 pc=0x557a1c531e01
created by runtime.createfing
	/usr/lib/golang/src/runtime/mfinal.go:163 +0x45
[1]    22268 IOT instruction (core dumped)  apx

Are you on Fedora 38 or 39? I believe the issue may lie in the Distrobox version. I may need to make a newer package of Distrobox to go along with apx.

Fedora 38, sorry for the delay in responding

Try uninstalling Distrobox and then installing it from source by running
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sudo sh.

Sorry for the extreme delay in responding, but I solved the problem, I downloaded the latest version of distrobox and put it in the home page and I was able to start it as you said

hey, could you add these two packages:

vanilla-apx-configs
apx-gui