projectile icon indicating copy to clipboard operation
projectile copied to clipboard

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

Open FatAndreasbot opened this issue 1 year ago • 1 comments

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

FatAndreasbot avatar Feb 03 '24 14:02 FatAndreasbot

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.

bbatsov avatar Feb 03 '24 20:02 bbatsov