spacemacs
spacemacs copied to clipboard
error in process sentinel: Symbol’s function definition is void: compat-assoc
Description :octocat:
Magit status window is not being rewritten and instead you will see
error in process sentinel: Symbol’s function definition is void: compat-assoc
Reproduction guide :beetle:
- Start Emacs
- Open any git project
- SPC g s
- b b
- Change to any branch
Observed behaviour: :eyes: :broken_heart:
error in process sentinel: Symbol’s function definition is void: compat-assoc
Expected behaviour: :heart: :smile: Magit status window is changed correctly
System Info :computer:
- OS: gnu/linux
- Emacs: 27.2
- Spacemacs: 0.999.0
- Spacemacs branch: develop (rev. 4eaff2526)
- Graphic display: t
- Running in daemon: nil
- Distribution: spacemacs
- Editing style: vim
- Completion: ivy
- Layers:
(asciidoc shell-scripts ansible systemd html javascript rust yaml python
(auto-completion :variables auto-completion-enable-snippets-in-popup t)
emacs-lisp git markdown multiple-cursors org
(ivy :variables ivy-enable-advanced-buffer-information t)
spell-checking syntax-checking treemacs version-control)
- System configuration features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER GMP
Unable to reproduce on Spacemacs rev. c9db02842. `SPC h d v compat-assoc' shows it's part of a forward comparability package that magit depends on. Check such a package is successfully installed.
Thanks. I deleted my emacs.d/elpa folder. During startup I got the error "Package compat is unavailable. Is the package name misspelled?"
I installed compat manually with package-install.
The error is now gone and SPC h d f finds compat-assoc now.
No idea why the automatic install failed.
Glad it works. This gets me too sometimes. Even if Spacelpa is looking like the promised land right now, I still have hope.
Based on @bschwehn's comment (thanks!) I managed to fix this problem without deleting the elpa directory by running package-reinstall and selecting the compat package.
@bschwehn advice fixed the issue for me.
I deleted the elpa and reinstalled everything, but the problem still prevailed... @noidi advice above fixed the issue for me.
I had the same problem and package-reinstall with compat didn't work. Instead, I got it to work with package-reinstall and magit.
Thanks for the hints in this issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!