spacemacs icon indicating copy to clipboard operation
spacemacs copied to clipboard

error in process sentinel: Symbol’s function definition is void: compat-assoc

Open Zlopez opened this issue 3 years ago • 8 comments

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

Zlopez avatar Jun 24 '22 10:06 Zlopez

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.

BenedictHW avatar Jun 27 '22 19:06 BenedictHW

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.

bschwehn avatar Jun 27 '22 20:06 bschwehn

Glad it works. This gets me too sometimes. Even if Spacelpa is looking like the promised land right now, I still have hope.

BenedictHW avatar Jun 27 '22 22:06 BenedictHW

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.

noidi avatar Jun 28 '22 07:06 noidi

@bschwehn advice fixed the issue for me.

Zlopez avatar Jun 28 '22 07:06 Zlopez

I deleted the elpa and reinstalled everything, but the problem still prevailed... @noidi advice above fixed the issue for me.

creasyw avatar Jun 29 '22 17:06 creasyw

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.

tanyabouman avatar May 12 '23 00:05 tanyabouman

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!

github-actions[bot] avatar May 11 '24 00:05 github-actions[bot]