benma / visual-regexp.el

A regexp/replace command for Emacs with interactive visual feedback
396 stars 28 forks source link

file-error "Searching for program" "There is no such file or directory" "nil" #19

Closed shackra closed 9 years ago

shackra commented 10 years ago

When I try to visit a python file, this error is yelled by Emacs!

Debugger entered--Lisp error: (file-error "Searching for program" "There is no such file or directory" "nil")
  start-process("Python Internal [b2e281942fc75e5e105f625432830bd1]" #<buffer  *Python Internal [b2e281942fc75e5e105f625432830bd1]*> "nil")
  apply(start-process "Python Internal [b2e281942fc75e5e105f625432830bd1]" #<buffer  *Python Internal [b2e281942fc75e5e105f625432830bd1]*> "nil" nil)
  start-file-process("Python Internal [b2e281942fc75e5e105f625432830bd1]" #<buffer  *Python Internal [b2e281942fc75e5e105f625432830bd1]*> "nil")
  apply(start-file-process "Python Internal [b2e281942fc75e5e105f625432830bd1]" #<buffer  *Python Internal [b2e281942fc75e5e105f625432830bd1]*> "nil" nil)
  comint-exec-1("Python Internal [b2e281942fc75e5e105f625432830bd1]" #<buffer  *Python Internal [b2e281942fc75e5e105f625432830bd1]*> "nil" nil)
  comint-exec(#<buffer  *Python Internal [b2e281942fc75e5e105f625432830bd1]*> "Python Internal [b2e281942fc75e5e105f625432830bd1]" "nil" nil nil)
  make-comint-in-buffer("Python Internal [b2e281942fc75e5e105f625432830bd1]" " *Python Internal [b2e281942fc75e5e105f625432830bd1]*" "nil" nil)
  apply(make-comint-in-buffer "Python Internal [b2e281942fc75e5e105f625432830bd1]" " *Python Internal [b2e281942fc75e5e105f625432830bd1]*" "nil" nil nil)
  python-shell-make-comint("nil " "Python Internal [b2e281942fc75e5e105f625432830bd1]" nil t)
  run-python-internal()
  python-shell-internal-get-or-create-process()
  python-shell-internal-send-string("import sys;print ('\\n'.join(sys.path))")
  semantic-python-get-system-include-path()
  (progn (semantic-python-get-system-include-path))
  (if (and (featurep (quote python)) (not noninteractive)) (progn (semantic-python-get-system-include-path)))
  (when (and (featurep (quote python)) (not noninteractive)) (semantic-python-get-system-include-path))
  eval((when (and (featurep (quote python)) (not noninteractive)) (semantic-python-get-system-include-path)))
  custom-initialize-reset(semantic-python-dependency-system-include-path (when (and (featurep (quote python)) (not noninteractive)) (semantic-python-get-system-include-path)))
  custom-declare-variable(semantic-python-dependency-system-include-path (when (and (featurep (quote python)) (not noninteractive)) (semantic-python-get-system-include-path)) "The system include path used by Python language." :group python :group semantic :type (repeat (directory :tag "Directory")) :set #[(sym val) "\303 \"\210  \304\305\nBC\306\307#\210\310\311\307\"\210\n\210)\312\313!\205\"
 wisent-python-default-setup()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook))
  run-mode-hooks(python-mode-hook)
  python-mode()
  set-auto-mode-0(python-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer src.listener> "~/coders/PPH/clientes/valentina_p/twitter-api-scrapper-quickapp/src/listener.py" nil nil "~/coders/PPH/clientes/valentina_p/twitter-api-scrapper-quickapp/src/listener.py" (20701266 65026))
  find-file-noselect("/home/jorge/coders/PPH/clientes/valentina_p/twitter-api-scrapper-quickapp/src/listener.py" nil nil nil)
  find-file("/home/jorge/coders/PPH/clientes/valentina_p/twitter-api-scrapper-quickapp/src/listener.py")
  projectile-find-file()
  projectile-switch-project-by-name("~/coders/PPH/clientes/valentina_p/twitter-api-scrapper-quickapp/" nil)
  ad-Orig-projectile-switch-project(nil)
  projectile-switch-project(nil)
  call-interactively(projectile-switch-project nil nil)
shackra commented 10 years ago

If I disable CEDET (commenting all its require statements), the error is gone. However, this is not desirable...

benma commented 10 years ago

Does this have anything to do with visual-regexp? Sounds like you need to message the CEDET authors.

shackra commented 10 years ago

I... I don't know, CEDET was installed first, before I ever required visual-regexp-steroids, then this started ti happen...

benma commented 9 years ago

Your error output does not indicate that visual-regexp is at fault. Sounds like a python-mode/CEDET issue.

Does the error disappear when you remove visual-regexp?