Closed
Description
Description 
After updating Spacemacs and my packages November 7th 2024, I haven't been able to use magit at all.
Reproduction guide 🪲
- Start Emacs
- Navigate to a directory containing a git repository
- Press
SPC g s
to runmagit-status
and select the current directory, which
contains the repository. Observe the first quoted message. - Run
magit-status
again (SPC g s
); observe the second quoted message.
Alternatively,
- Start Emacs
- Press
SPC g s
to runmagit-status
and select a directory containing a Git
repository using the minibuffer. Observe the first quoted message. - Run
magit-status
again (SPC g s
); observe the second quoted message.
Observed behaviour: 👀 💔
A differnet message is displayed after the first usage of magit-status
and subsequent usages.
- First usage:
Invalid slot name: "#<transient-prefix transient-prefix-8890634>", :transient-switch-frame
. - Subsequent usages:
cl-no-applicable-method: No applicable method: forge-get-repository, :known?
.
Expected behaviour: ❤️ 😄
Magit status buffer should open for the selected repository.
System Info 💻
- OS: gnu/linux
- Emacs: 29.4
- Spacemacs: 0.999.0
- Spacemacs branch: develop (rev. 60dcd8c)
- Graphic display: t
- Running in daemon: nil
- Distribution: spacemacs
- Editing style: vim
- Completion: helm
- Layers:
(csv html sql windows-scripts
(python :variables python-format-on-save t)
meson yaml
(auto-completion :variables auto-completion-idle-delay 0.7 auto-completion-minimum-prefix-length 0 auto-completion-enable-snippets-in-popup t auto-completion-enable-help-tooltip t)
emacs-lisp common-lisp git themes-megapack helm
(ess :variables ess-assign-key "\255" ess-r-backend nil)
markdown info
(java :variables java-backend 'lsp)
(latex :variables latex-view-pdf-in-split-window t latex-refresh-preview t latex-build-engine 'luatex)
org javascript
(shell :variables shell-default-height 30 shell-default-position 'bottom shell-default-shell 'vterm)
syntax-checking)
- System configuration features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB
Backtrace 🐾
Debugger entered--Lisp error: (cl-no-applicable-method forge-get-pullreq :branch)
signal(cl-no-applicable-method (forge-get-pullreq :branch))
cl-no-applicable-method(#s(cl--generic :name forge-get-pullreq :dispatches nil :method-table nil :options nil) :branch)
apply(cl-no-applicable-method #s(cl--generic :name forge-get-pullreq :dispatches nil :method-table nil :options nil) :branch)
forge-get-pullreq(:branch)
forge-topic-at-point()
forge-repository-at-point()
#f(compiled-function (demand &optional remote notatpt) "Return the current forge repository.\n\nFirst check if `forge-buffer-repository', or if that is nil, then\nthe repository for `forge-buffer-topic', satisfies DEMAND. If so,\nthen return that repository.\n\nOtherwise return the repository for `default-directory', if that\nexists and satisfies DEMAND. If that fails too, then return nil\nor signal an error, depending on DEMAND." #<bytecode -0x410bdbfbad0923c>)(:known?)
apply(#f(compiled-function (demand &optional remote notatpt) "Return the current forge repository.\n\nFirst check if `forge-buffer-repository', or if that is nil, then\nthe repository for `forge-buffer-topic', satisfies DEMAND. If so,\nthen return that repository.\n\nOtherwise return the repository for `default-directory', if that\nexists and satisfies DEMAND. If that fails too, then return nil\nor signal an error, depending on DEMAND." #<bytecode -0x410bdbfbad0923c>) :known? nil)
forge-get-repository(:known?)
forge-set-buffer-repository()
run-hooks(change-major-mode-after-body-hook special-mode-hook magit-section-mode-hook magit-mode-hook magit-status-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook special-mode-hook magit-section-mode-hook magit-mode-hook magit-status-mode-hook))
run-mode-hooks(magit-status-mode-hook)
magit-status-mode()
magit-setup-buffer-internal(magit-status-mode nil ((magit-buffer-diff-args ("--no-ext-diff")) (magit-buffer-diff-files nil) (magit-buffer-log-args ("-n256" "--decorate")) (magit-buffer-log-files nil)))
magit-status-setup-buffer("/home/bryce/src/c/TIC-80/")
magit-status("/home/bryce/src/c/TIC-80/" ((8 . 12) (("/home/bryce/src/c/TIC-80/" forge-get-repository :known?)) (("/home/bryce/src/c/TIC-80/" "remote" "get-url" "origin") . "[email protected]:bryce-carson/TIC-80.git") (("/home/bryce/src/c/TIC-80/" . config) . #<hash-table equal 59/65 0x8dbbb39>) (("/home/bryce/src/c/TIC-80/" magit-gitdir) . "/home/bryce/src/c/TIC-80/.git/") (("/home/bryce/src/c/TIC-80/" "rev-parse" "--git-dir") . ".git") (("/home/bryce/src/c/TIC-80/" . magit-toplevel) . "/home/bryce/src/c/TIC-80/") (("/home/bryce/src/c/TIC-80/" "rev-parse" "--show-cdup") . "") (("/home/bryce/src/c/TIC-80/" "rev-parse" "--show-toplevel") . "/home/bryce/Documents/src/c/TIC-80") (("/home/bryce/" "config" "--get-color" "" "reset") . "\33[m") (("/home/bryce/" . magit-toplevel)) (("/home/bryce/" "rev-parse" "--git-dir")) (("/home/bryce/" "rev-parse" "--show-toplevel"))))
funcall-interactively(magit-status "/home/bryce/src/c/TIC-80/" ((8 . 12) (("/home/bryce/src/c/TIC-80/" forge-get-repository :known?)) (("/home/bryce/src/c/TIC-80/" "remote" "get-url" "origin") . "[email protected]:bryce-carson/TIC-80.git") (("/home/bryce/src/c/TIC-80/" . config) . #<hash-table equal 59/65 0x8dbbb39>) (("/home/bryce/src/c/TIC-80/" magit-gitdir) . "/home/bryce/src/c/TIC-80/.git/") (("/home/bryce/src/c/TIC-80/" "rev-parse" "--git-dir") . ".git") (("/home/bryce/src/c/TIC-80/" . magit-toplevel) . "/home/bryce/src/c/TIC-80/") (("/home/bryce/src/c/TIC-80/" "rev-parse" "--show-cdup") . "") (("/home/bryce/src/c/TIC-80/" "rev-parse" "--show-toplevel") . "/home/bryce/Documents/src/c/TIC-80") (("/home/bryce/" "config" "--get-color" "" "reset") . "\33[m") (("/home/bryce/" . magit-toplevel)) (("/home/bryce/" "rev-parse" "--git-dir")) (("/home/bryce/" "rev-parse" "--show-toplevel"))))
command-execute(magit-status)
Metadata
Metadata
Assignees
Labels
No labels
Activity