adoc-mode icon indicating copy to clipboard operation
adoc-mode copied to clipboard

Flycheck complaining about non existing file

Open hhemied opened this issue 1 year ago • 0 comments

Expected behavior

The adoc-mode, highlight and work as expected

Actual behavior

it's working to highlight the text but always shows the following error

Suspicious state from syntax checker asciidoctor: Flycheck checker asciidoctor returned 1, but its output contained no errors: dlopen(/Users/hazemhemied/.gem/ruby/3.3.0/gems/strscan-3.1.0/lib/strscan.bundle, 0x0009): Library not loaded: /Users/hazemhemied/.asdf/installs/ruby/3.3.4/lib/libruby.3.3.dylib
  Referenced from: <F5A5144D-A791-3F9C-AE36-AC67081FD15E> /Users/hazemhemied/.gem/ruby/3.3.0/gems/strscan-3.1.0/lib/strscan.bundle
  Reason: tried: '/Users/hazemhemied/.asdf/installs/ruby/3.3.4/lib/libruby.3.3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/hazemhemied/.asdf/installs/ruby/3.3.4/lib/libruby.3.3.dylib' (no such file), '/Users/hazemhemied/.asdf/installs/ruby/3.3.4/lib/libruby.3.3.dylib' (no such file) - /Users/hazemhemied/.gem/ruby/3.3.0/gems/strscan-3.1.0/lib/strscan.bundle
  Use --trace to show backtrace

The interesting part, I deleted asdf ruby version and all other default version, I also deleted asciidoctor and reinstalled it.

Steps to reproduce the problem

All I did is adding adoc-mode to my doom package.el file.

Environment & Version information

OSX 15.0 asciidoctor --version

Asciidoctor 2.0.23 [https://asciidoctor.org]
Runtime Environment (ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [arm64-darwin24]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

Doom Info

generated  Sep 25, 2024 13:04:08
system     MacOS 15.0 Darwin 24.0.0 arm64
emacs      29.4 EMACSDIR=~/.config/emacs/
           EMACS=/opt/homebrew/Cellar/emacs-plus@29/29.4/Emacs.app/Contents/MacOS/Emacs
doom       3.0.0-pre PROFILE=_@0 grafted, HEAD -> master, origin/master,
           origin/HEAD c8a5e6ec 2024-09-17 17:30:57 -0400 ~/.config/doom/
shell      /opt/homebrew/bin/bash
features   ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
           NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF
           TOOLKIT_SCROLL_BARS TREE_SITTER XIM ZLIB
traits     batch server-running envvar-file
modules    :config use-package :completion (corfu +orderless) vertico :ui doom
           doom-dashboard hl-todo modeline ophints (popup +defaults) treemacs
           (vc-gutter +pretty) vi-tilde-fringe workspaces :editor (evil
           +everywhere) file-templates fold snippets :emacs dired electric (undo
           +tree) vc :term eshell vterm :checkers syntax :tools (eval +overlay)
           lookup magit terraform tmux :os macos :lang emacs-lisp json
           javascript lua markdown org sh yaml :config (default +bindings
           +smartparens)
packages   (adoc-mode)

Adoc-Mode version information

adoc-mode, version 0.8.0-snapshot

Emacs version

emacs      29.4 EMACSDIR=~/.config/emacs/

Operating system

MacOS 15.0 Darwin 24.0.0 arm64

hhemied avatar Sep 25 '24 11:09 hhemied