0

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)
  • FYI - I removed tag 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). – Drew May 6 at 4:50
0

See https://github.com/magit/magit/issues/3458 to learn how to figure out what is wrong.

See https://github.com/magit/magit/issues/3444 to learn why you did not get a more useful error message right away and that we are aware of this and will eventually do something about it.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.