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

the nyxt-version throws error #3133

Closed
mmahmoudian opened this issue Aug 22, 2023 · 3 comments
Closed

the nyxt-version throws error #3133

mmahmoudian opened this issue Aug 22, 2023 · 3 comments
Assignees
Labels

Comments

@mmahmoudian
Copy link

Describe the bug

Precise recipe to reproduce the issue

Running nyxt --version in terminal works fine, but doing M-x nyxt-version in nyxt would throw the following error:

WARN - Warning: Error on separate thread: Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {1007ED96B3}>
 with command ("wl-copy")
exited with error code 1

image

Information

  • OS name+version: Manjaro - 6.1.41-1-MANJARO (64-bit)
  • Graphics card and driver: AMD Lexa XT [Radeon PRO WX 3200]
  • Desktop environment / Window manager name+version: KDE Plasma version 5.27.7
  • How you installed Nyxt (Guix pack, package manager, build from source): compiled from source against head (1e6337c)
  • Information from show-system-information:

image

If you can't run show-system-information, try nyxt --system-information from
a shell. It this still does not work, please provide the following:

  • Nyxt version (from the nyxt-version command or nyxt --version from a shell):
./nyxt --version
Nyxt version 4
  • Lisp implementation/version (if built from source): sbcl 2.3.7-1
  • Kernel name+version: 6.1.41-1-MANJARO (64-bit)
  • WebKitGTK+ | QtWebEngine version: python-pyqt5-webengine 5.15.6-2 and webkit2gtk 2.40.5-1

Output when started from a shell

./nyxt
Nyxt version 4
<INFO> [11:27:26] Source location: #P"/home/mehrad/tmp/git_clones/nyxt/nyxt/"
<INFO> [11:27:26] Loading Lisp file #P"/home/mehrad/.config/nyxt/auto-config.4.lisp".
<INFO> [11:27:26] Listening to socket: #P"/run/user/1000/nyxt/nyxt.socket"

** (nyxt:1124737): WARNING **: 11:27:26.144: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory


** (nyxt:1124737): WARNING **: 11:27:26.145: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory


** (nyxt:1124737): WARNING **: 11:27:26.145: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

<INFO> [11:27:26] GTK extensions directory: #P"/home/mehrad/tmp/git_clones/nyxt/nyxt/libraries/web-extensions/"
<INFO> [11:27:26] GTK extensions directory: #P"/home/mehrad/tmp/git_clones/nyxt/nyxt/libraries/web-extensions/"
<INFO> [11:27:26] Loading #P"/home/mehrad/.local/share/nyxt/history/default.lisp".
<INFO> [11:27:26] Restoring 1 buffer from history.
<INFO> [11:27:26] Loading #P"/home/mehrad/.local/share/nyxt/auto-rules.lisp".
<INFO> [11:27:26] Loading "https://nyxt.atlas.engineer/".
<INFO> [11:27:27] Finished loading "https://nyxt.atlas.engineer/".
<WARN> [11:27:30] Warning: Error on separate thread: Subprocess #&lt;UIOP/LAUNCH-PROGRAM::PROCESS-INFO {1007ED96B3}&gt;
 with command (&quot;wl-copy&quot;)
 exited with error code 1
<WARN> [11:35:14] Warning: Error while processing the "nyxt:" URL: Subprocess #&lt;UIOP/LAUNCH-PROGRAM::PROCESS-INFO {1009E7AD63}&gt;
 with command (&quot;wl-copy&quot;)
 exited with error code 1
<INFO> [11:35:14] Failed to load URL nyxt:show-system-information in buffer 9574.
@aadcg
Copy link
Member

aadcg commented Aug 22, 2023

@mmahmoudian it's a known bug, thanks for reporting. See #3101. PR #3126 will fix it.

Let me guess: you're running Xorg and have wl-clipboard installed in your system, correct?

To test the fix, you can try to build Nyxt from the update-trivial-clipboard branch. Otherwise, you may delete wl-clipboard from your system.

@aadcg aadcg self-assigned this Aug 22, 2023
@aadcg aadcg added the bug label Aug 22, 2023
@mmahmoudian
Copy link
Author

mmahmoudian commented Aug 22, 2023

Let me guess: you're running Xorg and have wl-clipboard installed in your system, correct?

Correct. I'm on Plasma x11 and I also have both wl-clipboard and xsel installed.

To test the fix, you can try to build Nyxt from the update-trivial-clipboard branch.

Nice. I confirm that in the 92e041b (currently head of update-trivial-clipboard branch), both nyxt-version and show-system-information work correctly. (I kept both wl-clipboard and xsel installed).

Thanks 🚀

@aadcg
Copy link
Member

aadcg commented Aug 22, 2023

Good, closing!

@aadcg aadcg closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants