bbatsov / projectile

Project Interaction Library for Emacs
https://docs.projectile.mx
GNU General Public License v3.0
4k stars 584 forks source link

Projectile appends to the file path "Agent pid <some number>" #1880

Open FatAndreasbot opened 9 months ago

FatAndreasbot commented 9 months ago

Hello, I have an issue whenever i use projectile (open a file, open project, etc) projectile appends to the file path an Agent pid

Setting current directory: No such file or directory, /home/andreasbot/.config/emacs/Agent pid 858649/

How can i fix it, or what may cause this issue? project.el works does not have this issue, unless i activate projectile-mode. my projectile configuration

  (use-package projectile
    :init
    (projectile-mode +1)
    :diminish projectile-mode
    :custom ((projectile-completion-system 'ivy))
    :bind
    (:map projectile-mode-map
      ("M-SPC p" . projectile-command-map))
    (:map evil-normal-state-map
      ("SPC p" . projectile-command-map))
  )

Expected behavior

Open a file

Actual behavior

Get an error

Steps to reproduce the problem

Install projectile

Environment & Version information

emacs-wayland

Projectile version information

Projectile 20240123.1424

Emacs version

GNU Emacs 29.2

Operating system

Arch-linux

bbatsov commented 9 months ago

It'd be great if you can share the backtrace for this error or check in the debugger step-by-step where exactly the error originates. There are some pointers for troubleshooting here https://docs.projectile.mx/projectile/troubleshooting.html

I'm guessing that if you just exclude this folder from the indexing things will work fine, as likely the transient folder is messing up something, but you don't really want to do much with it.