Skip to content

Wrong type argument: listp, nil/Projects/builds/emacs-git/src/emacs-git/ #1939

@Hi-Angel

Description

@Hi-Angel

I am a light projectile-user, so figured I'd report this here in case it may come up for other people as well.

Today after I forcefully closed my KDE session (was testing an effects plugin), which included my Emacs, and then started Emacs back I started getting an error:

Wrong type argument: listp, nil/Projects/builds/emacs-git/src/emacs-git/

I tried updating projectile, but the only difference I got is that before update the error was happening during (projectile-mode 1), whereas now it's upon opening a file under projectile control.

Turning on backtrace gives this output:

Debugger entered--Lisp error: (wrong-type-argument listp nil/Projects/builds/emacs-git/src/emacs-git/)
  cl-remove(nil ("~/Projects/kwin/" . nil/Projects/builds/emacs-git/src/emacs-git/) :if #f(compiled-function (x) #<bytecode 0x116b183d0f88c66b>))
  cl-remove-if(#f(compiled-function (x) #<bytecode 0x116b183d0f88c66b>) ("~/Projects/kwin/" . nil/Projects/builds/emacs-git/src/emacs-git/))
  projectile-difference(("~/Projects/kwin/" . nil/Projects/builds/emacs-git/src/emacs-git/) nil)
  projectile-merge-known-projects()
  projectile-add-known-project("/home/constantine/Projects/kwin/")
  projectile-track-known-projects-find-file-hook()
  projectile-find-file-hook-function()
  run-hooks(find-file-hook)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer main.js> "~/Projects/kwin/src/plugins/fadedesktop/package/contents/code/main.js" nil nil "~/Projects/kwin/src/plugins/fadedesktop/package/contents/code/main.js" (44814766 27))
  find-file-noselect("/home/constantine/Projects/kwin/src/plugins/fadedesktop/package/contents/code/main.js" nil nil)
  ido-file-internal(raise-frame)
  ido-find-file()
  funcall-interactively(ido-find-file)
  call-interactively(ido-find-file nil nil)
  command-execute(ido-find-file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions