atom / fuzzy-finder

Find and open files quickly
MIT License
274 stars 138 forks source link

Fuzzy search cannot index project #410

Closed stdc105 closed 4 years ago

stdc105 commented 4 years ago

Prerequisites

Description

Unable to index the project when using ctrl-t or ctrl-p to open the file with fuzzy search after upgrading to 1.42.0.

Steps to Reproduce

  1. Open atom with a project.
  2. Press ctrl-t or ctrl-p to open "Fuzzy Finder: Toggle File Finder"
  3. Enter a filename that exist in current project

Expected behavior: After indexing for a while, a list of files with matching filenames should appear and should be able to be selected.

Actual behavior: Showing "Indexing project... 0" for a long time, and never finishing index.

Reproduces how often: All the time. Constantly reproduced on Win10 1809, regardless of project size.

Versions

Atom : 1.42.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0

Additional Information

Reproduced on Win10 1809. Tried with safe mode and after atom --clear-window-state.

lkashef commented 4 years ago

Hi @stdc105, thanks for the report :)

I am unable to reproduce this in 1.42.0.

However it would be helpful if you:

  1. Confirm that you are on safe mode to make sure there are no conflicts
  2. Try is to do the search on a simple/small project just for testing purposes to make sure it's not just an edge case.
stdc105 commented 4 years ago

Hi @stdc105, thanks for the report :)

I am unable to reproduce this in 1.42.0.

However it would be helpful if you:

  1. Confirm that you are on safe mode to make sure there are no conflicts
  2. Try is to do the search on a simple/small project just for testing purposes to make sure it's not just an edge case.

I have tried to index project on safe mode on a small project (a directory with only 4 python files). No luck. For additional information, I'm on Win10 1809. I also tried other fuzzy search (ctrl-shift-b, ctrl-b), seems to work. Only ctrl-b/ctrl-p is affected. Hope these would be useful!

lkashef commented 4 years ago

Hi @stdc105, thanks for the report :) I am unable to reproduce this in 1.42.0. However it would be helpful if you:

  1. Confirm that you are on safe mode to make sure there are no conflicts
  2. Try is to do the search on a simple/small project just for testing purposes to make sure it's not just an edge case.

I have tried to index project on safe mode on a small project (a directory with only 4 python files). No luck. For additional information, I'm on Win10 1809. I also tried other fuzzy search (ctrl-shift-b, ctrl-b), seems to work. Only ctrl-b/ctrl-p is affected. Hope these would be useful!

Thanks for the information, I was testing on Mac, let me try reproducing on Windows.

Meanwhile, if you could confirm:

  1. That you've used both ctrl + p and ctrl + t to reproduce.
  2. The last version you had the functionality working with the same shortcuts.
stdc105 commented 4 years ago

Hi @stdc105, thanks for the report :) I am unable to reproduce this in 1.42.0. However it would be helpful if you:

  1. Confirm that you are on safe mode to make sure there are no conflicts
  2. Try is to do the search on a simple/small project just for testing purposes to make sure it's not just an edge case.

I have tried to index project on safe mode on a small project (a directory with only 4 python files). No luck. For additional information, I'm on Win10 1809. I also tried other fuzzy search (ctrl-shift-b, ctrl-b), seems to work. Only ctrl-b/ctrl-p is affected. Hope these would be useful!

Thanks for the information, I was testing on Mac, let me try reproducing on Windows.

Meanwhile, if you could confirm:

  1. That you've used both ctrl + p and ctrl + t to reproduce.
  2. The last version you had the functionality working with the same shortcuts.
  1. Yes, neither ctrl-t nor ctrl-p works, they essentially produce the exact same prompt, and I did verify both.
  2. Yes, I was using 1.41.1 this morning and last week and I've been using ctrl-p all the time.
Meer255 commented 4 years ago

Easy keys to findout others social activity

8420497955

On Tue, 17 Dec 2019, 1:58 am stdc105, notifications@github.com wrote:

Hi @stdc105 https://github.com/stdc105, thanks for the report :) I am unable to reproduce this in 1.42.0. However it would be helpful if you:

  1. Confirm that you are on safe mode to make sure there are no conflicts
  2. Try is to do the search on a simple/small project just for testing purposes to make sure it's not just an edge case.

I have tried to index project on safe mode on a small project (a directory with only 4 python files). No luck. For additional information, I'm on Win10 1809. I also tried other fuzzy search (ctrl-shift-b, ctrl-b), seems to work. Only ctrl-b/ctrl-p is affected. Hope these would be useful!

Thanks for the information, I was testing on Mac, let me try reproducing on Windows.

Meanwhile, if you could confirm:

  1. That you've used both ctrl + p and ctrl + t to reproduce.

  2. The last version you had the functionality working with the same shortcuts.

  3. Yes, neither ctrl-t nor ctrl-p works, they essentially produce the exact same prompt, and I did verify both.

  4. Yes, I was using 1.41.1 this morning and last week and I've been using ctrl-p all the time.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/atom/atom/issues/20248?email_source=notifications&email_token=AN6HISVMWS5IPTK5KN76433QY7QE7A5CNFSM4J3O6KL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG77MII#issuecomment-566228513, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN6HISU3P6VR3TSJSV7CRJTQY7QE7ANCNFSM4J3O6KLQ .

lkashef commented 4 years ago

I tried to reproducing on both 1.42.0-stable and 1.43.0-beta on both Mac and Windows and they are both working fine and rapidly, even on relatively large projects.

So we will need more details on the reproduction steps.

FYI, this issue belongs to https://github.com/atom/fuzzy-finder, so I am going to transfer the issue to the proper repo.

stdc105 commented 4 years ago

I tried to reproducing on both 1.42.0-stable and 1.43.0-beta on both Mac and Windows and they are both working fine and rapidly, even on relatively large projects.

So we will need more details on the reproduction steps.

  • Specially when it comes of how you open your project or is it a workspace?
  • You mentioned fuzzy search, did you mean fuzzy finder?
  • Can you clarify what did you mean by "open file" on the second step of reproduction?
  • Can you reproduce the bug when you use the command pallet ctrl + shift + p > type "fuzzy" > choose "Toggle File Finder" > type the [file name]
  • You could also try a classic system reboot for your PC that might resolve hidden issues related to memory, cache, buffer, etc.
  • If non of the above worked I would suggest taking a look at this amazing article by our community manager, that might help us reproduce this bug.

FYI, this issue belongs to https://github.com/atom/fuzzy-finder, so I am going to transfer the issue to the proper repo.

Thank you for your reply! Sorry to use some inaccurate words when describing the issue. I'll take a look at the article and find out what other information I could help reproduce the bug.

I'll try to describe information I already have here, and update the issue description accordingly.

I'll also try to reproduce the problem using another computer tonight.

stdc105 commented 4 years ago

Sorry for the late update: I have tried to reproduce the issue on my personal machine but it seems to be good. I have fully deleted all atom installation (including project cache) and reinstall atom, it seems the problem is solved. While upgrading from 1.42 to 1.43 there is no problem any more, so I am not really sure if there is anything wrong before I reinstalled all the data. Anyway, sorry for any inconveniences, and I'll close the issue for now. Thank you for helping! At least I'll know how to better write a bug report next time.