Skip to content
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

helm-projectile-rg crashes #172

Open
starenka opened this issue Oct 20, 2022 · 2 comments
Open

helm-projectile-rg crashes #172

starenka opened this issue Oct 20, 2022 · 2 comments

Comments

@starenka
Copy link

Expected behavior

rg is called

Actual behavior

crashes

Steps to reproduce the problem

run helm-projectile-rg

Backtraces if necessary (M-x toggle-debug-on-error)

Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 2) 3)
  helm-rg("" nil ("/home/starenka/.emacs.d/"))
  (let ((helm-rg-prepend-file-name-line-at-top-of-matches nil) (helm-rg-include-file-on-every-match-line t)) (helm-rg (helm-projectile-rg--region-selection) nil (list (projectile-project-root))))
  (if (projectile-project-p) (let ((helm-rg-prepend-file-name-line-at-top-of-matches nil) (helm-rg-include-file-on-every-match-line t)) (helm-rg (helm-projectile-rg--region-selection) nil (list (projectile-project-root)))) (error "You're not in a project"))
  (if (require 'helm-rg nil t) (if (projectile-project-p) (let ((helm-rg-prepend-file-name-line-at-top-of-matches nil) (helm-rg-include-file-on-every-match-line t)) (helm-rg (helm-projectile-rg--region-selection) nil (list (projectile-project-root)))) (error "You're not in a project")) (if (yes-or-no-p "`helm-rg' is not installed. Install? ") (progn (condition-case nil (progn (package-install 'helm-rg) (helm-projectile-rg)) (error "`helm-rg' is not available.  Is MELPA in your `pac...")))))
  helm-projectile-rg()
  funcall-interactively(helm-projectile-rg)
  call-interactively(helm-projectile-rg nil nil)
  command-execute(helm-projectile-rg)

Environment & version information

  • helm-projectile version: 1.0.0
  • helm version (in helm-pkg.el): 3.8.8
  • projectile version (M-x projectile-version): 20221004.1327
  • Emacs version (M-x emacs-version): 27.1
  • OS: Debian
@bwo
Copy link

bwo commented Jul 10, 2024

I also get this.

@pranaysashank
Copy link

you are likely using an older version of helm-rg, use helm-rg from melpa (version: 20200721.725) instead of melpa stable (version: 0.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants