nyxt icon indicating copy to clipboard operation
nyxt copied to clipboard

The value NIL is not of type SB-KERNEL:CODE-COMPONENT

Open oatmealm opened this issue 3 years ago • 3 comments

Describe the bug Nyxt crashes when launched from command line on Fedora+Wayland from Guix installtion.

Precise recipe to reproduce the issue

  1. Install Fedroa 34 with default GNOME 40.
  2. Install guix (currently nyxt 2-pre-release-3 → 2-pre-release-6)
  3. Launch ``nyxtornyxt --system-information`

Information

  • Fedora 34:
  • Intel:
  • GNOME 40:
  • Guix
  • Information from command copy-system-information: [can't produce]

Output when started from a shell

(sbcl:7971): GLib-GIO-ERROR **: 10:29:50.373: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                    {10007380D3}>:
  Problem running initialization hook GLIB::RUN-INITIALIZERS:
  The value
    NIL
  is not of type
    SB-KERNEL:CODE-COMPONENT

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10007380D3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SIMPLE-ERROR "Problem running ~A hook ~S:~%  ~A" {1005DCED53}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SIMPLE-ERROR "Problem running ~A hook ~S:~%  ~A" {1005DCED53}>)
2: (INVOKE-DEBUGGER #<SIMPLE-ERROR "Problem running ~A hook ~S:~%  ~A" {1005DCED53}>)
3: (ERROR #<SIMPLE-ERROR "Problem running ~A hook ~S:~%  ~A" {1005DCED53}>)
4: (SB-KERNEL:WITH-SIMPLE-CONDITION-RESTARTS ERROR NIL "Problem running ~A hook ~S:~%  ~A" "initialization" GLIB::RUN-INITIALIZERS #<TYPE-ERROR expected-type: SB-KERNEL:CODE-COMPONENT datum: NIL>)
5: (SB-INT:CALL-HOOKS "initialization" (GLIB::RUN-INITIALIZERS LOG4CL-IMPL::INIT-HOOK) :ON-ERROR :ERROR)
6: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
7: ((FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-IMPL::START-LISP))
8: (SB-IMPL::START-LISP)

unhandled condition in --disable-debugger mode, quitting

oatmealm avatar May 24 '21 08:05 oatmealm

+1

meatpi avatar Jun 06 '21 20:06 meatpi

Which version of Guix do you have? (Share your guix describe) Can you try again on a recent Guix with Nyxt 2.0? This might be a grafting issue which was fixed in recent Guix.

Could you also try to run Nyxt in a container see if it's not a conflict with Fedora's system libraries. Try this:

guix environment --container --network --share=/PATH/TO/YOUR/NYXT/CHECKOUT=/nyxt --preserve='^DISPLAY$' --expose=/etc/ssl/certs --ad-hoc nss-certs glib glib-networking gsettings-desktop-schemas nyxt -- nyxt

Ambrevar avatar Jun 10 '21 07:06 Ambrevar

I haven't heard of the CODE-COMPONENT error in a while. Has it disappeared?

aartaka avatar Aug 03 '22 07:08 aartaka

Stale. Lack of feedback.

aadcg avatar May 28 '23 19:05 aadcg