You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where “Updated” is after default-directory has been assigned to the dir. That matches what I expect (although (projectile-project-root) still returns nil here, and I don’t know why yet.
When I call projectile-compile-project, however, I get the following output:
So, projectile-project-root called four times (presumably the value should be cached after the first time – but the failure cache entry isn’t there, since it’s still printing the third output which should be after the cache lookup). The last time it’s called, default-directory is nil, and that call to (file-remote-p nil) is what ultimately errors.
Steps to reproduce the problem
I’m not sure yet. It works for days, then this happens. I’m trying to deduce what’s going wrong, but wanted to open this so that I have a place to put updates (and maybe it sounds familiar in some way).
Environment & Version information
Projectile version information
Projectile 20221118.1035
Emacs version
GNU Emacs 28.2 (build 1, aarch64-apple-darwin22.3.0, NS appkit-2299.40 Version 13.2 (Build 22D49))
Operating system
MacOS Ventura 13.2.1
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed soon if no further activity occurs. Thank you for your contribution and understanding!
Expected behavior
(projectile-compile-project)
executes successfullyActual behavior
I get an error
I added some debugging output to
projectile-project-root
to print mydefault-directory
, so when I call it from the project I getwhere “Updated” is after
default-directory
has been assigned to thedir
. That matches what I expect (although(projectile-project-root)
still returnsnil
here, and I don’t know why yet.When I call
projectile-compile-project
, however, I get the following output:So,
projectile-project-root
called four times (presumably the value should be cached after the first time – but the failure cache entry isn’t there, since it’s still printing the third output which should be after the cache lookup). The last time it’s called,default-directory
is nil, and that call to(file-remote-p nil)
is what ultimately errors.Steps to reproduce the problem
I’m not sure yet. It works for days, then this happens. I’m trying to deduce what’s going wrong, but wanted to open this so that I have a place to put updates (and maybe it sounds familiar in some way).
Environment & Version information
Projectile version information
Emacs version
GNU Emacs 28.2 (build 1, aarch64-apple-darwin22.3.0, NS appkit-2299.40 Version 13.2 (Build 22D49))
Operating system
MacOS Ventura 13.2.1
The text was updated successfully, but these errors were encountered: