nyxt
nyxt copied to clipboard
Nyxt throws an Uncaught exception into the log every time a website is loaded.
Describe the bug Nyxt's Electron variant throws the same Javascript error whenever a website is loaded.
A JavaScript error occurred in the main process
Uncaught Exception:
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:161:15)
at writeGeneric (node:internal/stream_base_commons:152:3)
at Socket._writeGeneric (node:net:958:11)
at Socket._write (node:net:970:8)
at writeOrBuffer (node:internal/streams/writable:572:12)
at _write (node:internal/streams/writable:501:10)
at Writable.write (node:internal/streams/writable:510:10)
at Socket.<anonymous> (/tmp/tmp1A9PYSBZ-tmp.js:39:24)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
Precise recipe to reproduce the issue Install the Nyxt-Electron pre-release 3 from the flatpak, and try to go to a website.
For website-specific issues: Can you reproduce this issue with Epiphany / GNOME Web (https://wiki.gnome.org/Apps/Web)?
Information
- OS name+version: GNU Guix
- Graphics card and driver: Intel G41, i915
- Desktop environment / Window manager name+version: Swayfx, version 0.4
- Installation method (Flatpak, Guix, package manager, build from source): Flatpak
- Output of
nyxt --system-information:
Nyxt version: 4
Web Renderer: Electron
OS: Linux 6.12.16
Lisp implementation: SBCL 2.4.10 (Dynamic space: 3072MB)
ASDF version: 3.3.1
Features: (:NYXT-ELECTRON :NYXT-4 :CLIPBOARD-CONTENT-METHOD :SWANK :SLYNK :PARENSCRIPT
:NSYMBOLS :FSET-EXT-STRINGS :SBCL+SAFE-STANDARD-READTABLE :NAMED-READTABLES
:FLATPAK :GLOBAL-VARS :LPARALLEL :21BIT-CHARS :PLUMP-UTF-32 :CLOSER-MOP
:CL-PPCRE-UNICODE :CL-UNICODE :CL-JSON-DOUBLE-FLOAT-IS-SUBSUMED
:CL-JSON-SINGLE-FLOAT-IS-SUBSUMED :CHUNGA :FLEXI-STREAMS :CL-PPCRE
:BORDEAUX-THREADS :LPARALLEL.WITH-CLTL2 :LPARALLEL.WITH-CAS
:LPARALLEL.WITH-STEALING-SCHEDULER :SPLIT-SEQUENCE
CFFI-FEATURES:FLAT-NAMESPACE CFFI-FEATURES:X86-64 CFFI-FEATURES:UNIX :CFFI
CFFI-SYS::FLAT-NAMESPACE ALEXANDRIA::SEQUENCE-EMPTYP :FAST-IO-SV :FAST-IO
:CL-JSON-CLOS :CL-JSON :SBCL-USES-SB-ROTATE-BYTE CHIPZ-SYSTEM:GRAY-STREAMS
:THREAD-SUPPORT :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX
:NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :ARENA-ALLOCATOR :X86-64 :GENCGC :64-BIT
:ANSI-CL :COMMON-LISP :ELF :IEEE-FLOATING-POINT :LINUX :LITTLE-ENDIAN
:PACKAGE-LOCAL-NICKNAMES :SB-LDB :SB-PACKAGE-LOCKS :SB-THREAD :SB-UNICODE
:SBCL :UNIX)WARNING: Problem running exit hook ELECTRON:TERMINATE:
There is no applicable method for the generic function
#<STANDARD-GENERIC-FUNCTION ELECTRON::ALIVE-P (1)>
when called with arguments
(NIL).
See also:
The ANSI Standard, Section 7.6.6
Output when started from a shell
Nyxt version 4
<INFO> [20:14:00] Source location: #P"/app/share/nyxt/"
<INFO> [20:14:00] Listening to socket: #P"/run/user/1001/nyxt/nyxt.socket"
> [email protected] start
> zypak-wrapper /app/node_modules/electron/dist/electron /tmp/tmp1A9PYSBZ-tmp.js /run/user/1001/app/engineer.atlas.Nyxt-Electron/cl-electron/electron.socket
[23:0303/201401.155937:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[23:0303/201401.784441:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[23:0303/201401.784789:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
libva error: /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so init failed
<INFO> [20:14:02] Loading #P"/home/hikari/.local/share/nyxt/history/default.lisp".
[64:0303/201405.872413:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
<INFO> [20:14:05] Loading #P"/home/hikari/.local/share/nyxt/bookmarks.lisp".
A JavaScript error occurred in the main process
Uncaught Exception:
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:161:15)
at writeGeneric (node:internal/stream_base_commons:152:3)
at Socket._writeGeneric (node:net:958:11)
at Socket._write (node:net:970:8)
at writeOrBuffer (node:internal/streams/writable:572:12)
at _write (node:internal/streams/writable:501:10)
at Writable.write (node:internal/streams/writable:510:10)
at Socket.<anonymous> (/tmp/tmp1A9PYSBZ-tmp.js:39:24)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
[64:0303/201413.216077:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[64:0303/201415.254672:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
A JavaScript error occurred in the main process
Uncaught Exception:
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:161:15)
at writeGeneric (node:internal/stream_base_commons:152:3)
at Socket._writeGeneric (node:net:958:11)
at Socket._write (node:net:970:8)
at writeOrBuffer (node:internal/streams/writable:572:12)
at _write (node:internal/streams/writable:501:10)
at Writable.write (node:internal/streams/writable:510:10)
at Socket.<anonymous> (/tmp/tmp1A9PYSBZ-tmp.js:39:24)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
... same thing repeating.
It's a known issue of cl-electron, thanks for reporting.