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-find-files #10

Closed
justmytwospence opened this issue Jan 25, 2016 · 5 comments
Closed

helm-projectile-find-files #10

justmytwospence opened this issue Jan 25, 2016 · 5 comments

Comments

@justmytwospence
Copy link

I'm experiencing a lot of issues with helm-projectile-find files. Sometimes all the completions disappear as I am still narrowing them down, never to return, and sometimes even when I do get to execute on a completion, the file does not successfully open, giving me instead the error Wrong type argument: stringp, nil. I think it might(?) have something to do with helm-ff-auto-update, because sometimes when I press C-Backspace it gives me the error helm-ff-run-toggle-auto-update: Wrong type argument: consp, nil

@justmytwospence
Copy link
Author

Heres another person who filed a similar issue in the projectile issue tracker: bbatsov/projectile#920

@justmytwospence
Copy link
Author

Here is another stack trace. This happens after I:

1: Call projectile-persp-switch-project
2: Because projectile-switch-project-action is set to helm-projectile-find-file, this is called.
3: Files from the project pop up.
4. I filter it down my typing a few letters.
5. I move down a few candidates
6. I press enter on the one I want.
7. Error

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  helm-projectile-coerce-file("core/src/main/scala/com/uber/michelangelo/modeling/BatchModelEngine.scala")
  apply(helm-projectile-coerce-file "core/src/main/scala/com/uber/michelangelo/modeling/BatchModelEngine.scala")
  helm-funcall-with-source(((name . "Projectile files") (init #[0 "\301\302\303\300!\203
�\300 \202��\300\"\207" [#[nil "\300\301\302\217\207" [nil (projectile-current-project-files) ((error))] 3] helm-init-candidates-in-buffer global functionp] 4 "\n\n(fn)"]) (candidates . helm-candidates-in-buffer) (keymap keymap (8 . helm-find-files-up-one-level) (right . helm-next-source) (left . helm-previous-source) (127 . #[0 "\306\307\310\311\312\313\305!\314\"\315\316%DC\216\317\302!\210\320\304!\321\211\211����\301=\203+�\317\302!\210\322\202a�\323�\303\"\211\262�\203>�\317�A!\210\322\202a�\313��!\262�\324\300�\"\262�\325�!\203W�\317�!\210\202`�\326\327�\"��\244��\321\266\204\205i�\202��)\207" [(keymap (8 . helm-find-files-up-one-level) (right . helm-execute-persistent-action) (left . helm-find-files-up-one-level) (127 . #3) (18 . helm-find-files-down-last-level) (12 . helm-execute-persistent-action) (C-backspace . helm-ff-run-toggle-auto-update) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (3 keymap (64 . helm-ff-run-insert-org-link) (114 . helm-ff-run-find-file-as-root) (47 . helm-ff-run-find-sh-command) (112 . helm-ff-run-print-file) (1 . helm-ff-run-gnus-attach-files) (127 . helm-ff-run-toggle-auto-update) (104 . helm-ff-file-name-history) (61 . helm-ff-run-ediff-file) (88 . helm-ff-run-open-file-with-default-tool) (24 . helm-ff-run-open-file-externally) (15 . helm-ff-run-switch-other-frame) (111 . helm-ff-run-switch-other-window) (105 . helm-ff-run-complete-fn-at-point) (100 . helm-ff-persistent-delete) (103 . helm-ff-run-gid)) (27 keymap (114 . helm-ff-rotate-right-persistent) (108 . helm-ff-rotate-left-persistent) (105 . helm-ff-properties-persistent) (112 . helm-ff-run-switch-to-history) (61 . helm-ff-run-ediff-merge-file) (37 . helm-ff-run-query-replace-on-marked) (33 . helm-ff-run-eshell-command-on-file) (101 . helm-ff-run-switch-to-eshell) (75 . helm-ff-run-kill-buffer-persistent) (68 . helm-ff-run-delete-file) (72 . helm-ff-run-hardlink-file) (83 . helm-ff-run-symlink-file) (76 . helm-ff-run-load-file) (66 . helm-ff-run-byte-compile-file) (67 . helm-ff-run-copy-file) (82 . helm-ff-run-rename-file) (46 . helm-ff-run-etags) (103 keymap ... ... ... ... ...)) (19 . helm-ff-run-grep) (24 keymap (22 . helm-ff-run-find-alternate-file) (114 keymap ... ...) (4 . helm-ff-run-browse-project) (6 . helm-ff-run-locate)) (29 . helm-ff-run-toggle-basename) keymap (21 . helm-previous-page) (4 . helm-next-page) (escape . helm-keyboard-quit) (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-previous-line) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) ...) 127 helm-ff-delete-char-backward nil nil helm-ff-delete-char-backward--exit-fn funcall make-byte-code 0 "\300\205��\300 \207" vconcat vector [] 1 "\n\n(fn)" call-interactively read-key nil t assoc lookup-key commandp mapcar identity last-command-event unread-command-events] 7 "\n\n(fn)" nil]) (18 . helm-find-files-down-last-level) (12 . helm-execute-persistent-action) (C-backspace . helm-ff-run-toggle-auto-update) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (3 keymap (97 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-dired-files-add-action] 2 nil nil]) (102 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-dired-files-new-action] 2 nil nil]) (64 . helm-ff-run-insert-org-link) (114 . helm-ff-run-find-file-as-root) (47 . helm-ff-run-find-sh-command) (112 . helm-ff-run-print-file) (1 . helm-ff-run-gnus-attach-files) (127 . helm-ff-run-toggle-auto-update) (104 . helm-ff-file-name-history) (61 . helm-ff-run-ediff-file) (88 . helm-ff-run-open-file-with-default-tool) (24 . helm-ff-run-open-file-externally) (15 . helm-ff-run-switch-other-frame) (111 . helm-ff-run-switch-other-window) (105 . helm-ff-run-complete-fn-at-point) (100 . helm-ff-persistent-delete) (103 . helm-ff-run-gid)) (27 keymap (114 . helm-ff-rotate-right-persistent) (108 . helm-ff-rotate-left-persistent) (105 . helm-ff-properties-persistent) (112 . helm-ff-run-switch-to-history) (61 . helm-ff-run-ediff-merge-file) (37 . helm-ff-run-query-replace-on-marked) (33 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-find-files-eshell-command-on-file-action] 2 nil nil]) (101 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-switch-to-eshell] 2 nil nil]) (75 . helm-ff-run-kill-buffer-persistent) (68 . helm-ff-run-delete-file) (72 . helm-ff-run-hardlink-file) (83 . helm-ff-run-symlink-file) (76 . helm-ff-run-load-file) (66 . helm-ff-run-byte-compile-file) (67 . helm-ff-run-copy-file) (82 . helm-ff-run-rename-file) (46 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-ff-etags-select-action] 2 nil nil]) (103 keymap (103 . helm-ff-run-git-grep) (97 . helm-ff-run-grep-ag) (122 . helm-ff-run-zgrep) (112 . helm-ff-run-pdfgrep) (115 . helm-ff-run-grep))) (19 . helm-ff-run-grep) (24 keymap (22 . helm-ff-run-find-alternate-file) (114 keymap (98 . helm-find-files-toggle-to-bookmark) (109 . helm-ff-bookmark-set)) (4 . helm-ff-run-browse-project) (6 . helm-ff-run-locate)) (29 . helm-ff-run-toggle-basename) keymap (21 . helm-previous-page) (4 . helm-next-page) (escape . helm-keyboard-quit) (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth 9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth 8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth 7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth 6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth 5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth 4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth 3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth 2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth 1)) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth -9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth -8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth -7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth -6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth -5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth -4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth -3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth -2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth -1)) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-previous-line) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) ...) (action ("Find File" . helm-find-file-or-marked) ("Find file in Dired" . helm-point-file-in-dired) ("View file" . view-file) ("Checksum File" . helm-ff-checksum) ("Query replace fnames on marked" . helm-ff-query-replace-on-marked) ("Query replace contents on marked" . helm-ff-query-replace) ("Query replace regexp contents on marked" . helm-ff-query-replace-regexp) ("Serial rename files" . helm-ff-serial-rename) ("Serial rename by symlinking files" . helm-ff-serial-rename-by-symlink) ("Serial rename by copying files" . helm-ff-serial-rename-by-copying) ("Open file with default tool" . helm-open-file-with-default-tool) ("Find file in hex dump" . hexl-find-file) ("Insert as org link `C-c @'" . helm-files-insert-as-org-link) ("Open file externally `C-c C-x, C-u to choose'" . helm-open-file-externally) ("Grep File(s) `C-s, C-u Recurse'" . helm-find-files-grep) ("Grep current directory with AG" . helm-find-files-ag) ("Git grep" . helm-ff-git-grep) ("Zgrep File(s) `M-g z, C-u Recurse'" . helm-ff-zgrep) ("Gid" . helm-ff-gid) ("Switch to Eshell `M-e'" . helm-projectile-switch-to-eshell) ("Etags `M-., C-u reload tag file'" . helm-projectile-ff-etags-select-action) ("Eshell command on file(s) `M-!, C-u take all marked as arguments.'" . helm-projectile-find-files-eshell-command-on-file-action) ("Find file as root `C-c r'" . helm-find-file-as-root) ("Find alternate file" . find-alternate-file) ("Ediff File `C-='" . helm-find-files-ediff-files) ("Ediff Merge File `C-c ='" . helm-find-files-ediff-merge-files) ("Delete File(s) `M-D'" . helm-delete-marked-files) ("Copy file(s) `M-C, C-u to follow'" . helm-find-files-copy) ("Rename file(s) `M-R, C-u to follow'" . helm-find-files-rename) ("Symlink files(s) `M-S, C-u to follow'" . helm-find-files-symlink) ("Relsymlink file(s) `C-u to follow'" . helm-find-files-relsymlink) ("Hardlink file(s) `M-H, C-u to follow'" . helm-find-files-hardlink) ("Find file other window `C-c o'" . helm-find-files-other-window) ("Switch to history `M-p'" . helm-find-files-switch-to-hist) ("Find file other frame `C-c C-o'" . find-file-other-frame) ("Print File `C-c p, C-u to refresh'" . helm-ff-print) ("Locate `C-x C-f, C-u to specify locate db'" . helm-ff-locate) ("Create Dired buffer from files `C-c f'" . helm-projectile-dired-files-new-action) ("Add files to Dired buffer `C-c a'" . helm-projectile-dired-files-add-action)) (help-message . helm-ff-help-message) (filtered-candidate-transformer helm-fuzzy-matching-default-sort-fn helm-fuzzy-highlight-matches) (volatile) (match identity) (fuzzy-match) (coerce . helm-projectile-coerce-file) (mode-line . "\\<helm-read-file-map>\\[helm-help]:Help C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct \\[helm-toggle-suspend-update]:Tog.suspend") (header-line . "C-l: Find File (keeping session)") (dont-plug helm-compile-source--candidates-in-buffer helm-compile-source--multi-match helm-compile-source--persistent-help helm-compile-source--migemo) (matchplugin) (data . #[nil "\300\301\302\217\207" [nil (projectile-current-project-files) ((error))] 3]) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)) helm-projectile-coerce-file "core/src/main/scala/com/uber/michelangelo/modeling/BatchModelEngine.scala")
  helm-coerce-selection("core/src/main/scala/com/uber/michelangelo/modeling/BatchModelEngine.scala" ((name . "Projectile files") (init #[0 "\301\302\303\300!\203
�\300 \202��\300\"\207" [#[nil "\300\301\302\217\207" [nil (projectile-current-project-files) ((error))] 3] helm-init-candidates-in-buffer global functionp] 4 "\n\n(fn)"]) (candidates . helm-candidates-in-buffer) (keymap keymap (8 . helm-find-files-up-one-level) (right . helm-next-source) (left . helm-previous-source) (127 . #[0 "\306\307\310\311\312\313\305!\314\"\315\316%DC\216\317\302!\210\320\304!\321\211\211����\301=\203+�\317\302!\210\322\202a�\323�\303\"\211\262�\203>�\317�A!\210\322\202a�\313��!\262�\324\300�\"\262�\325�!\203W�\317�!\210\202`�\326\327�\"��\244��\321\266\204\205i�\202��)\207" [(keymap (8 . helm-find-files-up-one-level) (right . helm-execute-persistent-action) (left . helm-find-files-up-one-level) (127 . #3) (18 . helm-find-files-down-last-level) (12 . helm-execute-persistent-action) (C-backspace . helm-ff-run-toggle-auto-update) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (3 keymap (64 . helm-ff-run-insert-org-link) (114 . helm-ff-run-find-file-as-root) (47 . helm-ff-run-find-sh-command) (112 . helm-ff-run-print-file) (1 . helm-ff-run-gnus-attach-files) (127 . helm-ff-run-toggle-auto-update) (104 . helm-ff-file-name-history) (61 . helm-ff-run-ediff-file) (88 . helm-ff-run-open-file-with-default-tool) (24 . helm-ff-run-open-file-externally) (15 . helm-ff-run-switch-other-frame) (111 . helm-ff-run-switch-other-window) (105 . helm-ff-run-complete-fn-at-point) (100 . helm-ff-persistent-delete) (103 . helm-ff-run-gid)) (27 keymap (114 . helm-ff-rotate-right-persistent) (108 . helm-ff-rotate-left-persistent) (105 . helm-ff-properties-persistent) (112 . helm-ff-run-switch-to-history) (61 . helm-ff-run-ediff-merge-file) (37 . helm-ff-run-query-replace-on-marked) (33 . helm-ff-run-eshell-command-on-file) (101 . helm-ff-run-switch-to-eshell) (75 . helm-ff-run-kill-buffer-persistent) (68 . helm-ff-run-delete-file) (72 . helm-ff-run-hardlink-file) (83 . helm-ff-run-symlink-file) (76 . helm-ff-run-load-file) (66 . helm-ff-run-byte-compile-file) (67 . helm-ff-run-copy-file) (82 . helm-ff-run-rename-file) (46 . helm-ff-run-etags) (103 keymap ... ... ... ... ...)) (19 . helm-ff-run-grep) (24 keymap (22 . helm-ff-run-find-alternate-file) (114 keymap ... ...) (4 . helm-ff-run-browse-project) (6 . helm-ff-run-locate)) (29 . helm-ff-run-toggle-basename) keymap (21 . helm-previous-page) (4 . helm-next-page) (escape . helm-keyboard-quit) (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-previous-line) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) ...) 127 helm-ff-delete-char-backward nil nil helm-ff-delete-char-backward--exit-fn funcall make-byte-code 0 "\300\205��\300 \207" vconcat vector [] 1 "\n\n(fn)" call-interactively read-key nil t assoc lookup-key commandp mapcar identity last-command-event unread-command-events] 7 "\n\n(fn)" nil]) (18 . helm-find-files-down-last-level) (12 . helm-execute-persistent-action) (C-backspace . helm-ff-run-toggle-auto-update) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (3 keymap (97 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-dired-files-add-action] 2 nil nil]) (102 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-dired-files-new-action] 2 nil nil]) (64 . helm-ff-run-insert-org-link) (114 . helm-ff-run-find-file-as-root) (47 . helm-ff-run-find-sh-command) (112 . helm-ff-run-print-file) (1 . helm-ff-run-gnus-attach-files) (127 . helm-ff-run-toggle-auto-update) (104 . helm-ff-file-name-history) (61 . helm-ff-run-ediff-file) (88 . helm-ff-run-open-file-with-default-tool) (24 . helm-ff-run-open-file-externally) (15 . helm-ff-run-switch-other-frame) (111 . helm-ff-run-switch-other-window) (105 . helm-ff-run-complete-fn-at-point) (100 . helm-ff-persistent-delete) (103 . helm-ff-run-gid)) (27 keymap (114 . helm-ff-rotate-right-persistent) (108 . helm-ff-rotate-left-persistent) (105 . helm-ff-properties-persistent) (112 . helm-ff-run-switch-to-history) (61 . helm-ff-run-ediff-merge-file) (37 . helm-ff-run-query-replace-on-marked) (33 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-find-files-eshell-command-on-file-action] 2 nil nil]) (101 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-switch-to-eshell] 2 nil nil]) (75 . helm-ff-run-kill-buffer-persistent) (68 . helm-ff-run-delete-file) (72 . helm-ff-run-hardlink-file) (83 . helm-ff-run-symlink-file) (76 . helm-ff-run-load-file) (66 . helm-ff-run-byte-compile-file) (67 . helm-ff-run-copy-file) (82 . helm-ff-run-rename-file) (46 . #[nil "\300\301!\207" [helm-exit-and-execute-action helm-projectile-ff-etags-select-action] 2 nil nil]) (103 keymap (103 . helm-ff-run-git-grep) (97 . helm-ff-run-grep-ag) (122 . helm-ff-run-zgrep) (112 . helm-ff-run-pdfgrep) (115 . helm-ff-run-grep))) (19 . helm-ff-run-grep) (24 keymap (22 . helm-ff-run-find-alternate-file) (114 keymap (98 . helm-find-files-toggle-to-bookmark) (109 . helm-ff-bookmark-set)) (4 . helm-ff-run-browse-project) (6 . helm-ff-run-locate)) (29 . helm-ff-run-toggle-basename) keymap (21 . helm-previous-page) (4 . helm-next-page) (escape . helm-keyboard-quit) (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth 9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth 8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth 7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth 6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth 5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth 4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth 3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth 2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth 1)) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (4 . helm-delete-current-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth -9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth -8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth -7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth -6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth -5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth -4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth -3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth -2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth -1)) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-previous-line) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) ...) (action ("Find File" . helm-find-file-or-marked) ("Find file in Dired" . helm-point-file-in-dired) ("View file" . view-file) ("Checksum File" . helm-ff-checksum) ("Query replace fnames on marked" . helm-ff-query-replace-on-marked) ("Query replace contents on marked" . helm-ff-query-replace) ("Query replace regexp contents on marked" . helm-ff-query-replace-regexp) ("Serial rename files" . helm-ff-serial-rename) ("Serial rename by symlinking files" . helm-ff-serial-rename-by-symlink) ("Serial rename by copying files" . helm-ff-serial-rename-by-copying) ("Open file with default tool" . helm-open-file-with-default-tool) ("Find file in hex dump" . hexl-find-file) ("Insert as org link `C-c @'" . helm-files-insert-as-org-link) ("Open file externally `C-c C-x, C-u to choose'" . helm-open-file-externally) ("Grep File(s) `C-s, C-u Recurse'" . helm-find-files-grep) ("Grep current directory with AG" . helm-find-files-ag) ("Git grep" . helm-ff-git-grep) ("Zgrep File(s) `M-g z, C-u Recurse'" . helm-ff-zgrep) ("Gid" . helm-ff-gid) ("Switch to Eshell `M-e'" . helm-projectile-switch-to-eshell) ("Etags `M-., C-u reload tag file'" . helm-projectile-ff-etags-select-action) ("Eshell command on file(s) `M-!, C-u take all marked as arguments.'" . helm-projectile-find-files-eshell-command-on-file-action) ("Find file as root `C-c r'" . helm-find-file-as-root) ("Find alternate file" . find-alternate-file) ("Ediff File `C-='" . helm-find-files-ediff-files) ("Ediff Merge File `C-c ='" . helm-find-files-ediff-merge-files) ("Delete File(s) `M-D'" . helm-delete-marked-files) ("Copy file(s) `M-C, C-u to follow'" . helm-find-files-copy) ("Rename file(s) `M-R, C-u to follow'" . helm-find-files-rename) ("Symlink files(s) `M-S, C-u to follow'" . helm-find-files-symlink) ("Relsymlink file(s) `C-u to follow'" . helm-find-files-relsymlink) ("Hardlink file(s) `M-H, C-u to follow'" . helm-find-files-hardlink) ("Find file other window `C-c o'" . helm-find-files-other-window) ("Switch to history `M-p'" . helm-find-files-switch-to-hist) ("Find file other frame `C-c C-o'" . find-file-other-frame) ("Print File `C-c p, C-u to refresh'" . helm-ff-print) ("Locate `C-x C-f, C-u to specify locate db'" . helm-ff-locate) ("Create Dired buffer from files `C-c f'" . helm-projectile-dired-files-new-action) ("Add files to Dired buffer `C-c a'" . helm-projectile-dired-files-add-action)) (help-message . helm-ff-help-message) (filtered-candidate-transformer helm-fuzzy-matching-default-sort-fn helm-fuzzy-highlight-matches) (volatile) (match identity) (fuzzy-match) (coerce . helm-projectile-coerce-file) (mode-line . "\\<helm-read-file-map>\\[helm-help]:Help C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct \\[helm-toggle-suspend-update]:Tog.suspend") (header-line . "C-l: Find File (keeping session)") (dont-plug helm-compile-source--candidates-in-buffer helm-compile-source--multi-match helm-compile-source--persistent-help helm-compile-source--migemo) (matchplugin) (data . #[nil "\300\301\302\217\207" [nil (projectile-current-project-files) ((error))] 3]) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)))
  helm-execute-selection-action-1()
  helm-execute-selection-action()
  #[0 "\311\211\211\211\305\206\n��&�&�'�(�)�*\312\313�+\"\314\315\316\317\320\321��!\322\"\323\324%DC\216\325\303\301\307\300$\210\326�&!\210�,\203?�\327\330!\210\331\332\333\"\210\331\332\334\"\210\335\336!\210\314\337DC\216\340\302\301\304\303\306\307\310&�\210*\210�'?\205g�\341 \335\342\343\344\345\"P!\210-\207" [(helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[michelangelo] Find file: " nil nil "*helm projectile*" nil nil nil nil mapcar #[257 "\211�JB\207" [] 3 "\n\n(fn V)"] funcall make-byte-code 0 "\300\301\211�:\203���@\262��\211A\262�\242\262�\211�L\210�A\262�\202��\266�\302\303!\207" vconcat vector [nil helm-log "restore variables"] 5 "\n\n(fn)" helm-initialize helm-display-buffer helm--remap-mouse-mode 1 add-hook post-command-hook helm--maybe-update-keymap helm--update-header-line helm-log "show prompt" #[0 "\300 \207" [helm-cleanup] 1 "\n\n(fn)"] helm-read-pattern-maybe helm-execute-selection-action "[End session] " make-string 41 45 helm-buffer helm-quit helm-in-persistent-action helm-current-source helm-source-name helm-restored-variables helm-prevent-escaping-from-minibuffer] 9 "\n\n(fn)"]()
  funcall(#[0 "\311\211\211\211\305\206\n��&�&�'�(�)�*\312\313�+\"\314\315\316\317\320\321��!\322\"\323\324%DC\216\325\303\301\307\300$\210\326�&!\210�,\203?�\327\330!\210\331\332\333\"\210\331\332\334\"\210\335\336!\210\314\337DC\216\340\302\301\304\303\306\307\310&�\210*\210�'?\205g�\341 \335\342\343\344\345\"P!\210-\207" [(helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[michelangelo] Find file: " nil nil "*helm projectile*" nil nil nil nil mapcar #[257 "\211�JB\207" [] 3 "\n\n(fn V)"] funcall make-byte-code 0 "\300\301\211�:\203���@\262��\211A\262�\242\262�\211�L\210�A\262�\202��\266�\302\303!\207" vconcat vector [nil helm-log "restore variables"] 5 "\n\n(fn)" helm-initialize helm-display-buffer helm--remap-mouse-mode 1 add-hook post-command-hook helm--maybe-update-keymap helm--update-header-line helm-log "show prompt" #[0 "\300 \207" [helm-cleanup] 1 "\n\n(fn)"] helm-read-pattern-maybe helm-execute-selection-action "[End session] " make-string 41 45 helm-buffer helm-quit helm-in-persistent-action helm-current-source helm-source-name helm-restored-variables helm-prevent-escaping-from-minibuffer] 9 "\n\n(fn)"])
  helm-internal((helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[michelangelo] Find file: " nil nil "*helm projectile*" nil nil nil)
  apply(helm-internal ((helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[michelangelo] Find file: " nil nil "*helm projectile*" nil nil nil))
  helm((helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[michelangelo] Find file: " nil nil "*helm projectile*" nil nil nil)
  apply(helm ((helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[michelangelo] Find file: " nil nil "*helm projectile*" nil nil nil))
  helm(:sources (helm-source-projectile-dired-files-list helm-source-projectile-files-list) :buffer "*helm projectile*" :prompt "[michelangelo] Find file: ")
  helm-projectile-find-file()
  projectile-switch-project-by-name("~/michelangelo/")
  (let ((frame (selected-frame))) (persp-switch name) (projectile-switch-project-by-name project-to-switch) (if (not (equal frame (selected-frame))) (progn (let ((old-frame (selected-frame)) (old-buffer (current-buffer))) (unwind-protect (progn (select-frame frame (quote norecord)) (persp-kill name)) (if (frame-live-p old-frame) (progn (select-frame old-frame ...))) (if (buffer-live-p old-buffer) (progn (set-buffer old-buffer))))))))
  (cond ((and persp (not (equal persp persp-curr))) (persp-switch name)) ((not persp) (let ((frame (selected-frame))) (persp-switch name) (projectile-switch-project-by-name project-to-switch) (if (not (equal frame (selected-frame))) (progn (let ((old-frame ...) (old-buffer ...)) (unwind-protect (progn ... ...) (if ... ...) (if ... ...))))))))
  (let* ((name (file-name-nondirectory (directory-file-name project-to-switch))) (persp (gethash name perspectives-hash))) (cond ((and persp (not (equal persp persp-curr))) (persp-switch name)) ((not persp) (let ((frame (selected-frame))) (persp-switch name) (projectile-switch-project-by-name project-to-switch) (if (not (equal frame (selected-frame))) (progn (let (... ...) (unwind-protect ... ... ...))))))))
  projectile-persp-switch-project("~/michelangelo/")
  call-interactively(projectile-persp-switch-project nil nil)
  command-execute(projectile-persp-switch-project)

@justmytwospence
Copy link
Author

I've figured out a little bit more about the disappearance of the candidates as well. After lots of experimenting, it turns out that I only have about 4-5 seconds to narrow candidates after calling projectile-persp-switch-project and then choosing a project. If I leave the candidates buffer for 6 seconds, all the candidates disappear as soon as I type a single character. Even if I have done narrowing with a few characters right after the candidates appeared, waiting past that ~6 seconds and trying to narrow more causes all the candidates to disapppear.

@justmytwospence
Copy link
Author

Just one more potentially enlightening update. I see the same disappearing candidates issue when I disable helm-projectile and just setq projectile-completion-system 'helm

@xiongtx
Copy link
Collaborator

xiongtx commented Jan 26, 2017

PR #66 eliminates helm-projectile-coerce-file, so this error should no longer occur.

@xiongtx xiongtx closed this as completed Jan 26, 2017
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

2 participants