-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various cl-no-applicable-method errors when trying to load forge #706
Comments
If I then try to load
and so on. If I do
I've search high and low for where this might be getting defined, but can't find it. I even removed a bunch of |
Here are some more:
|
That is (I believe) a known issue (#681), fixed in 03d012a. I'm not sure whether it is enough to update Transient or whether you also have to reinstall packages that use it. Probably the former, but if that doesn't do the trick, then also do the latter.
You are stuck on an old release because all the popular package managers refuse to update built-in packages. See https://irreal.org/blog/?p=12426 and follow the links. |
Thanks so much for the quick and helpful reply. I think I'd already updated Transient but in the end nuking the entire |
OK, I'm still getting this after restarting emacs fresh:
However it gets really weird:
So something is going wrong related to how that I also see:
which seems very weird; not sure if it's related to the problem though. |
Even weirder, I added this immediately after the
and I see that message on startup. So the |
Are you absolutely sure you have done the complete re-installation dance? Uninstall As I have said above, other users experienced the same weirdness with |
I manage my packages via (cl-no-applicable-method forge--repository-ids 'forge-github-repository "git.company.com" "org" "repo" (:stub?) nil)
transient--exit-and-debug(error (cl-no-applicable-method forge--repository-ids 'forge-github-repository "git.company.com" "org" "repo" (:stub?) nil))
signal(cl-no-applicable-method (forge--repository-ids 'forge-github-repository "git.company.com" "org" "repo" (:stub?) nil)) not really sure how to do a more thorough uninstall and reinstall. what's weird is that I can run |
Yeah I ran out of things to clean / reinstall and it was still happening. I don't know what |
I overlooked that before, sorry. Magit and Forge need a newer version than this version, which is built into past Emacs releases. These packages of course declare the Transient version they need. Unfortunately the authors of the popular Emacs package managers have decided to by default ignore that information and just not ever update built-in packages, forcing each and every user to tell them that they indeed want to opt-in to non-broken Magit/Forge/Casual/etc. It is quite frustrating. You will have to manually install the latest Transient release. I am not sure how one does that with Straight. Try to do it in a way that does not get you permanently stuck on whatever version you update to this time around. (While you are at it, also make sure Seq is updated.) Also make sure you do the full re-installation dance for Magit and Forge (and whatever other packages depend on Transient) afterwards. I have just bumped up this task on my todo list: learn more about all the package managers, and set up testing configurations, so that I can experience first hand all the defects and steps to fix them. |
Ahah, that could explain it! I had definitely upgraded Transient to the latest from git, but maybe it was still loading the built-in package... although https://github.com/radian-software/straight.el#how-can-i-use-the-built-in-version-of-a-package seems to imply that the version installed by straight.el should be used by default. At least this gives me something to watch out for next time. |
I use Prelude starter kit, and uninstalling Magit and doing a fresh install fixed it for me. |
M-x load-library forge
has stopped working after updating it to the latestmain
and updating various dependencies to their latest git versions:M-x magit-version RET
returns:I get a similar error if I launch a clean
emacs -q
, bootstrapstraight.el
, doM-x straight-use-package forge RET
, and thenM-x magit-status
:The text was updated successfully, but these errors were encountered: