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

Flatpak electron::socket-exists-error #3551

Open
bajsicki opened this issue Dec 25, 2024 · 1 comment
Open

Flatpak electron::socket-exists-error #3551

bajsicki opened this issue Dec 25, 2024 · 1 comment
Assignees

Comments

@bajsicki
Copy link

Describe the bug

Nyxt fails to open due to existing socket.

I use XMonad, and for virtually all of the times I close programs, I use a keybinding of , ("S-C-M1-q", kill1) (doc: https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Actions-CopyWindow.html#v:kill1)

Not sure if that's the cause of the issue or not, though.

On a different note, it would be nice if Nyxt either provided the location of the socket, or prompted the user for permission to delete the socket and continue.

Precise recipe to reproduce the issue

  1. flatpak install Downloads/nyxt-electron-4.0.0-pre-release-1.flatpak &c.
  2. flatpak run engineer.atlas.Nyxt-Electron
  3. Close browser with a keybind (whatever works in your WM/ DE).
  4. flatpak run engineer.atlas.Nyxt-Electron
  5. See error.

Information

  • OS name+version: Arch Linux, packages fully upgraded as of yesterday.
  • Graphics card and driver: 3060 mobile, nvidia-open 565.77-8
  • Desktop environment / Window manager name+version: XMonad 0.18.0.9
  • Installation method (Flatpak, Guix, package manager, build from source): flatpak
  • Output of nyxt --system-information:
❯ flatpak run engineer.atlas.Nyxt-Electron --system-information
Nyxt version: 4
Web Renderer: Electron
OS: Linux 6.12.6-arch1-1
Lisp implementation: SBCL 2.4.10 (Dynamic space: 3072MB)
ASDF version: 3.3.1
Features: (:NYXT-ELECTRON :NYXT-ELECTRON :NYXT-4 :CLIPBOARD-CONTENT-METHOD :SWANK :SLYNK
 :PLUMP-UTF-32 :PARENSCRIPT :NSYMBOLS :FSET-EXT-STRINGS
 :SBCL+SAFE-STANDARD-READTABLE :NAMED-READTABLES :FLATPAK :GLOBAL-VARS
 :LPARALLEL :21BIT-CHARS :CUSTOM-HASH-TABLE-NATIVE :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)⏎                                                                                          

Output when started from a shell

❯ flatpak run engineer.atlas.Nyxt-Electron
Nyxt version 4
<INFO> [12:55:48] Source location: #P"/app/share/nyxt/"
<WARN> [12:55:48] Warning: Error: Condition ELECTRON::SOCKET-EXISTS-ERROR was signalled.
;
; compilation unit aborted
;   caught 1 fatal ERROR condition
@aadcg aadcg self-assigned this Dec 30, 2024
@aadcg
Copy link
Member

aadcg commented Dec 30, 2024

Thanks for reporting the bug.

Until fixed, please delete the socket manually. The path is /run/user/1000/app/engineer.atlas.Nyxt-Electron/cl-electron/electron.socket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants