I thought I had found a minor issue in Magit forge, and before reporting a bug I wished to update to the latest version. In the process I seem to have borked my installation.
The value of my package-archives
variable is
(("gnu" . "https://elpa.gnu.org/packages/")
("melpa-stable" . "http://stable.melpa.org/packages/")
("melpa" . "http://melpa.org/packages/"))
and the value of my package-archive-priorities
variable is
(("melpa-stable" . 10) ("melpa" . 0))
To reach my current state I ran
M-x package-refresh-packages
M-x package-list-packages
U
(mark packages to be updated to the latest version)x
(execute the update)M-x exit-emacs
and start a new one
In trying to get Magit and Forge to work again, I've tried three scenarios:
If I start Emacs with my usual
.emacs
loaded, and I try to runmagit-status
, it fails with this message:slot-missing: Invalid slot name: "#<forge-database forge-database-1589f0c0434c>", :file
If I disable a good chunk of my
.emacs
, I can start Emacs and can runmagit-status
in a buffer, getting a display. But when I hit the'
key to start a Forge command, it fails with these two messages:Cannot insert ("'" "Forge" forge-dispatch) into magit-dispatch; % not found transient-setup: Invalid slot name: "#<forge-database forge-database-158b9206ce84>", :file
If I run the command given by
M-x magit-emacs-Q-command
, I can load and use Magit just fine, but I cannot getforge
to load. (It has a ton of additional dependencies.)
My question: How can I get Forge commands working again?
I found two questions that look related, but did not glean any answers there: