Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Project is empty in a non-empty project #309

Open
6 tasks done
dafabulousteach opened this issue Jul 20, 2017 · 11 comments
Open
6 tasks done

Project is empty in a non-empty project #309

dafabulousteach opened this issue Jul 20, 2017 · 11 comments

Comments

@dafabulousteach
Copy link

Prerequisites

Description

Fuzzy Finder reports that Project is empty in a non-empty project

Steps to Reproduce

  1. cmd + p
  2. Wait for project to be indexed
  3. Fuzzy finder reports empty project
  4. Close project
  5. Open project
  6. Type cmd +p
  7. Files are populated

Expected behavior: Typing cmd + P + filename results in a list of matching file names

Actual behavior: Fuzzy Finder reports that Project is Empty

Reproduces how often: 50%

Versions

Atom - 1.18.0
OS - macOS Sierra v 10.12.6
apm 1.18.1
npm 3.10.10
node 6.9.5 x64
python 2.7.11
git 2.7.0

Additional Information

I have have both selected and unselected Exclude VCS Ignored Paths in my Core Settings per suggested

@fredwu
Copy link

fredwu commented Oct 9, 2017

I'm having the same issues lately. Had to close and re-open my projects too to get around this.

@pbgc
Copy link

pbgc commented Nov 15, 2017

I have exactly this problem!

@pbgc
Copy link

pbgc commented Nov 15, 2017

When this happens I have these errors on the console:

Cannot find module 'atom' Error: Cannot find module 'atom'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Users/pbeck/.atom/packages/pigments/lib/tasks/load-paths-handler.coffee:4:19)
at Object. (/Users/pbeck/.atom/packages/pigments/lib/tasks/load-paths-handler.coffee:1:1)
at Object. (/Users/pbeck/.atom/packages/pigments/lib/tasks/load-paths-handler.coffee:1:1)
at Module._compile (module.js:571:32)
at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:234:23)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js:68:17)
at Object. (/Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js:70:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:424:7)
at startup (bootstrap_node.js:147:9)
at bootstrap_node.js:544:3

and

handler is not defined ReferenceError: handler is not defined
at process. (/Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js:51:20)
at emitTwo (events.js:106:13)
at process.emit (events.js:191:7)
at process.nextTick (internal/child_process.js:752:12)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)

@winstliu
Copy link
Contributor

at Object. (/Users/pbeck/.atom/packages/pigments/lib/tasks/load-paths-handler.coffee:4:19)

Thanks for contributing!

It appears that this is being caused by the pigments package, not fuzzy-finder itself. It may be that there is still a bug in fuzzy-finder. If so, we'll need the maintainer of the package that is causing the problem to help track that down. You should file this issue on their repository so they can either fix the problem or tell us where the problem is coming from. The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme.

@pbgc
Copy link

pbgc commented Nov 20, 2017

I filled a bug on atom-pigments rep and they said that they think it's not a problem of pigments.
Indeed ... I disabled pigments ... and the problem persists and I still get the errors but now not referencing pigments:

Cannot find module 'atom' Error: Cannot find module 'atom'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/fuzzy-finder/lib/load-paths-handler.js:4:25)
at Object. (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/fuzzy-finder/lib/load-paths-handler.js:145:3)
at Module._compile (module.js:571:32)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:234:23)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js:68:17)
at Object. (/Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js:70:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:424:7)
at startup (bootstrap_node.js:147:9)
at bootstrap_node.js:544:3

handler is not defined ReferenceError: handler is not defined
at process. (/Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js:51:20)
at emitTwo (events.js:106:13)
at process.emit (events.js:191:7)
at process.nextTick (internal/child_process.js:752:12)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
(anonymous) @ :72912

@pbgc
Copy link

pbgc commented Nov 20, 2017

After concluding that it was not pigments fault, I started to disable all my extensions one by one ... and the one that was causing the problem (at least .. if I disabled it I don't get this problem and the errors in the console when invoking fuzzy-finder) was atom-elixir - https://atom.io/packages/atom-elixir

@creattico
Copy link

I have a similar issue. I store files and projects on google drive file stream. It has worked until now, but from a few weeks when I try to use fuzzy finder, Project is empty appear at bottom. Any suggestions?

@mauricioszabo
Copy link

I have the same problem. On console, these errors appear:

<embedded>:11 Could not connect to indexedDB Event
t.onerror.t @ <embedded>:11
<embedded>:14 Cannot find module 'atom' Error: Cannot find module 'atom'
    at Function.Module._resolveFilename (module.js:543:15)
    at Function.Module._load (module.js:473:25)
    at Module.require (module.js:586:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/fuzzy-finder/lib/load-paths-handler.js:6:25)
    at Object.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/fuzzy-finder/lib/load-paths-handler.js:143:3)
    at Module._compile (module.js:642:30)
    at Object.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:235:23)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (module.js:586:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/share/atom/resources/app.asar/src/task-bootstrap.js:68:17)
    at Object.<anonymous> (/usr/share/atom/resources/app.asar/src/task-bootstrap.js:70:3)
    at Module._compile (module.js:642:30)
    at Object.Module._extensions..js (module.js:653:10)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Function.Module.runMain (module.js:683:10)
    at startup (bootstrap_node.js:196:16)
    at bootstrap_node.js:622:3
(anonymous) @ <embedded>:14
<embedded>:14 handler is not defined ReferenceError: handler is not defined
    at process.<anonymous> (/usr/share/atom/resources/app.asar/src/task-bootstrap.js:51:20)
    at emitTwo (events.js:126:13)
    at process.emit (events.js:214:7)
    at emit (internal/child_process.js:772:12)
    at _combinedTickCallback (internal/process/next_tick.js:141:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)```

@extremepayne
Copy link

Interestingly enough, I have a related problem: My project will report as empty when there are no matches for my search term, but if my search term has matches it displays correctly. Bug persists even when I disable every non-core package. My problem is less annoying (more of a UI error than an actual performance error), but as I thought it might be related, I'm posting it here.

@saivan
Copy link

saivan commented Jul 28, 2019

I don't know if this is the same issue. But upon updating atom, I'm getting the same thing. It seems to be somehow related to the updated fuzzy-finder. I have a few folders in my project, and it insists that my project is empty. Turning off ripgrep seems to fix it

@rsese
Copy link

rsese commented Jul 29, 2019

Since it sounds specific to ripgrep @saivan, can you leave a comment in #379? If you could also share a minimal example and steps to reproduce, that would be super helpful too.

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

No branches or pull requests

9 participants