I just installed the magit package in emacs 26.3 (using CentOS 7 OS). When I start it with M-x magit
, I get the error below. It works fine for me in an older installation, and the only difference I can see is that the one I just set up is using newer versions of some magit related packages. I don't see any issues posted on GitHub related to this even though it renders magit nonfunctional, so I'm wondering if anyone has a tip on how to resolve the error.
Error:
Turning on magit-auto-revert-mode...done
magit-insert-head-branch-header: Wrong type argument: stringp, nil
Error in post-command-hook (magit-section-update-highlight): (wrong-type-argument number-or-marker-p nil)
crash
. If an error is raised then there's no crash. A crash (core dump, segfault) means there's a real bug in Emacs (C code).