Doom-emacs: Getting errors in terminal related to modeline vcs and checker (and related crash?)

Created on 16 Oct 2020  Â·  6Comments  Â·  Source: hlissner/doom-emacs

What did you expect to happen?
...
No error messages in Messages buffer

I'll add more info when I try again.

What actually happened?
...

Continuous messages being generated, and eventual crash, although crash may not be related

Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-urge$
Error during redisplay: (eval (doom-modeline-segment--vcs)) signaled (wrong-type-argument plistp doom-modeline-info)
Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-urge$
Error during redisplay: (eval (doom-modeline-segment--vcs)) signaled (wrong-type-argument plistp doom-modeline-info)
Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-warn$
Error during redisplay: (eval (doom-modeline-segment--vcs)) signaled (wrong-type-argument plistp doom-modeline-info)
Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-warn$

Additional details:

:ui modeline bug resolved

Most helpful comment

Finally tracked down the issue. As of adff1aa this issue should be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!

All 6 comments

I cannot reproduce this. There isn't enough information to discern anything else about this issue.

In the future, please do not ignore the issue template. It asks you to include steps to reproduce and, at the very least, include your M-x doom/info (alternatively, the output of ~/.emacs.d/bin/doom info). Please edit your original post or this thread will be automatically deleted after a week of inactivity.

Also, https://gitlab.com/asyncmind/doom does not exist.

Sorry about the scarce info, I have a very short attention span ;)

But basically just open doom and check the messages buffer

https://gitlab.com/asyncmind/doom.git

screengrab-2010191753

doom-info:

SYSTEM  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /bin/zsh
        uname      Linux 5.4.69-1-lts #1 SMP Thu, 01 Oct 2020 20:40:59 +0000 x86_64
        path       (~/.emacs.d/bin/ ~/.npm/bin ~/.local/bin ~/.emacs.d/bin/ ~/.bin ~/.zsh/bin/ ~/.gem/ruby/1.9.1/bin /usr/sbin/ /sbin/ ~/.npm/bin/ ~/.gem/ruby/2.2.0/bin /usr/local/bin /usr/local/sbin ~/.npm/bin /usr/bin /opt/cuda/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /var/lib/snapd/snap/bin /usr/lib/emacs/27.1/x86_64-pc-linux-gnu/)
EMACS   dir        ~/.emacs.d/
        version    27.1
        build      Aug 29, 2020
        buildopts  --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
        features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP
        traits     (daemon server-running envvar-file)
DOOM    dir        ~/.doom.d/
        version    2.0.9
        build      HEAD -> refs/heads/develop 8ba2b9eaf 2020-10-15 18:13:42 -0400
        elc-files  0
        modules    (:completion company helm ivy :ui doom doom-dashboard doom-quit hl-todo indent-guides ligatures minimap modeline nav-flash ophints (popup +defaults) unicode vc-gutter vi-tilde-fringe workspaces :editor (evil +everywhere) file-templates fold snippets :emacs dired electric undo vc :term vterm :checkers syntax spell grammar :tools ansible docker (eval +overlay) gist lookup lsp magit pass tmux :os tty :lang data elixir emacs-lisp erlang json (java +meghanada) javascript markdown nix org plantuml qt rst (ruby +rails) rust scala scheme sh swift web yaml :email notmuch :config (default +bindings +smartparens))
        packages   ((helm) (helm-rg) (rg) (projectile) (helm-projectile) (lsp-pyright) (pipenv) (gherkin-mode) (xclip))
        unpin      (n/a)
        elpa       (xclip s pyvenv projectile popup pkg-info pipenv helm-projectile helm-core helm gherkin-mode f epl dash async)

https://gitlab.com/asyncmind/doom.git

Does not exists or is private

I am also getting at least related errors in terminal emacs as well. When I run emacs as emacsclient -t .zprofile for example, I receive many of these errors:

Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-info) [8 times]
Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-info) [2 times]
evil-line-move: End of bufferError during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-info)
Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-info)
Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-info) [4 times]
Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-info) [2 times]
Error during redisplay: (eval (doom-modeline-segment--checker)) signaled (wrong-type-argument plistp doom-modeline-info) [2 times]

Here is my doom config: https://gitlab.com/burrhole/doom-config

This is the output of M-x doom/info:

SYSTEM  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /bin/zsh
        uname      Linux 5.9.1-arch1-1 #1 SMP PREEMPT Sat, 17 Oct 2020 13:30:37 +0000 x86_64
        path       (~/.config/emacs/bin/ ~/.config/emacs/bin/ ~/.config/emacs/bin/ ~/.config/emacs/bin/ ~/.config/emacs/bin/ /usr/local/sbin /usr/local/bin /usr/bin ~/.local/share/flatpak/exports/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl ~/.local/bin/cron ~/.local/bin/statusbar ~/.local/bin/ ~/.config/emacs/bin /var/lib/flatpak/exports/share ~/.local/share/flatpak/exports/share /usr/lib/emacs/27.1/x86_64-pc-linux-gnu/)
EMACS   dir        ~/.config/emacs/
        version    27.1
        build      Aug 28, 2020
        buildopts  --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
        features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP
        traits     (daemon server-running envvar-file)
DOOM    dir        ~/.config/doom/
        version    2.0.9
        build      HEAD -> develop 3907e75c8 2020-10-21 17:16:59 -0400
        elc-files  0
        modules    (:completion company ivy :ui doom doom-dashboard (emoji +unicode) hl-todo indent-guides ligatures modeline ophints (popup +defaults) treemacs unicode vc-gutter vi-tilde-fringe workspaces :editor (evil +everywhere) file-templates fold snippets word-wrap :emacs dired electric undo vc :term vterm :checkers syntax spell :tools (eval +overlay) lookup magit pdf :os tty :lang emacs-lisp lua org python sh :config literate (default +bindings +smartparens))
        packages   ((elpher) (eterm-256color) (simple-mpc))
        unpin      (n/a)
        elpa       (n/a)

Finally tracked down the issue. As of adff1aa this issue should be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!

Got another error now

my config repo is public now

Starting Emacs daemon.
mapc: Loading file /home/steven/.emacs.d/.local/straight/build/with-editor/with-editor.elc failed to provide feature ‘with-editor’
Package cl is deprecated
When done with this frame, type SPC q f
Loading /home/steven/.emacs.d/.local/cache/recentf...done
condition-case: Error in a Doom startup hook: global-git-commit-mode, (error "Loading file /home/steven/.emacs.d/.local/straight/build/with-editor/with-editor.elc failed to provide feature ‘with-editor’")
Beginning of buffer [2 times]
Mark set

~:» doom doctor                                                                                                                                                                                                                                                                                          [0] [master*] 10:51:54
The doctor will see you now...

> Checking your Emacs version...
> Checking for Emacs config conflicts...
> Checking for great Emacs features...
> Checking for private config conflicts...
> Checking for stale elc files...
> Checking Doom Emacs...
Loading xclip...
  ✓ Initialized Doom Emacs 2.0.9
  ✓ Detected 63 modules
  ✓ Detected 233 packages
  > Checking Doom core for irregularities...
    ! Your $HOME is recognized as a project root
      Doom will disable bottom-up root search, which may reduce the accuracy of
      project detection.
    Found font material-design-icons.ttf
    Found font weathericons.ttf
    Found font octicons.ttf
    Found font fontawesome.ttf
    Found font file-icons.ttf
    Found font all-the-icons.ttf
  > Checking for stale elc files in your DOOMDIR...
  > Checking your enabled modules...
    > :lang nix
      ! Couldn't find the nix package manager. nix-mode won't work.
    > :lang plantuml
      ! Couldn't find plantuml.jar. Install it with M-x plantuml-download-jar
Was this page helpful?
0 / 5 - 0 ratings

Related issues

luisenrike picture luisenrike  Â·  3Comments

ashiklom picture ashiklom  Â·  3Comments

gueorgui picture gueorgui  Â·  3Comments

pieterdd picture pieterdd  Â·  3Comments

benjaminbauer picture benjaminbauer  Â·  3Comments