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

Ctrl+P is not working #329

Closed
5 tasks done
waveletboy opened this issue Jan 16, 2023 · 7 comments
Closed
5 tasks done

Ctrl+P is not working #329

waveletboy opened this issue Jan 16, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@waveletboy
Copy link

Thanks in advance for your bug report!

  • Have you reproduced issue in safe mode?
  • Have you used the debugging guide to try to resolve the issue?
  • Have you checked our FAQs to make sure your question isn't answered there?
  • Have you checked to make sure your issue does not already exist?
  • Have you checked you are on the latest release of Pulsar?

What happened?

ctrl+p the fuzzy finder is always stuck as indexing project (0).

Version:

C:\Users\xxx\AppData\Local\Programs\pulsar>
Pulsar : 1.100.2023011007
Electron: 12.2.3
Chrome : 89.0.4389.128
Node : 14.16.0

Console output:

C:\Users\xxx\AppData\Local\Programs\pulsar\resources\app.asar\node_modules\fuzzy-finder\lib\load-paths-handler.js
(anonymous) @ C:\Users\msa20\AppDa…asar\src\task.js:78
(anonymous) @ C:\Users\msa20\AppDa…sar\src\task.js:156
simpleDispatch @ VM198 C:\Users\msa20…\dist\emitter.js:64
emit @ VM198 C:\Users\msa20…dist\emitter.js:257
(anonymous) @ C:\Users\msa20\AppDa…asar\src\task.js:98
emit @ events.js:315
emit @ internal/child_process.js:903
processTicksAndRejections @ internal/process/task_queues.js:81

Pulsar version

1.100.2023011007

Which OS does this happen on?

🪟 Windows

OS details

22H2 (OS Build 22621.1105)

Which CPU architecture are you running this on?

64-bit(x86_64)

What steps are needed to reproduce this?

  1. Start Pulsar
  2. Load files into project
  3. press ctrl+p to open file

Actual result:
Cannot open any file because it is stuck in indexing project.
Screenshot 2023-01-15 204745

Additional Information:

No response

@waveletboy waveletboy added the bug Something isn't working label Jan 16, 2023
@matt-horwood-mayden
Copy link

I had the same issue on my mac with 1.100, try the new 1.101 version. Testing on mac and nwo works.

@confused-Techie
Copy link
Member

I had the same issue on my mac with 1.100, try the new 1.101 version. Testing on mac and nwo works.

I was hoping the same would be true for Windows on the latest release. But unfortunately that's not the case.

Pulsar 1.101.0-beta on Windows 10 22H2 still presents this same issue.

Still showing only a stack trace with no proper error message:

C:\Users\<user>\AppData\Local\Programs\pulsar\resources\app.asar\node_modules\fuzzy-finder\lib\load-paths-handler.js

(anonymous) @ C:\Users\<user>\AppData\Local\Programs\pulsar\resources\app.asar\src\task.js:78
(anonymous) @ C:\Users\<user>\AppData\Local\Programs\pulsar\resources\app.asar\src\task.js:156
simpleDispatch @ VM198 C:\Users\<user>\AppData\Local\Programs\pulsar\resources\app.asar\node_modules\event-kit\dist\emitter.js:64
emit @ VM198 C:\Users\<user>\AppData\Local\Programs\pulsar\resources\app.asar\node_modules\event-kit\dist\emitter.js:257
(anonymous) @ C:\Users\<user>\AppData\Local\Programs\pulsar\resources\app.asar\src\task.js:98
emit @ events.js:315
emit @ internal/child_process.js:903
processTicksAndRejections @ internal/process/task_queues.js:81

@mauricioszabo
Copy link
Contributor

Testing on Wine, I'm seeing the following error:

internal/fs/utils.js:307 Uncaught Error: EINVAL: invalid argument, lstat 'Z:\'

The smallest offending code is:

const fs = require('fs-plus')
fs.realpathSync('Z:\\Users')

Basically it doesn't like to do a fstat on Z:\. I'm not sure what happens on Windows itself...

@automagisch
Copy link

automagisch commented Feb 20, 2023

Did anyone find a solution on this issue? I am running into the same error but I have no way to seem to fix it. Along with this issue, my packages won't show up in settings too now.

In my case, I am having a new folder with the same name as the previous one, it got deleted and readded, and there was a git repository initialized in it. Could it be some caching bug? Like Pulsar thinking it is indexing the previous folder (which was deleted) and now has some conflicts?

I am on MacOS 13.0.1

EDIT, it was an error on my side.

I seem to have fixed this issue, but unsure if it is related to any of your issues! I happened to run Node.js with the --openssl-legacy-provider flag. Apparently Pulsar doesn't like that (which probably is logical).

So my addition: double check for any flags that could prevent Pulsar from fetching/indexing packages :)

@confused-Techie
Copy link
Member

So I was looking into this last night, and something really interesting, is that locally run dev Pulsar this works!

As in if you download the repo and use:

> yarn install
> yarn build
> yarn start

Then CTRL + P actually properly indexes, so there is something a bit funky going on here that we have to take a look at. But that ideally means this isn't something truly broken, just something a little off. Which as far as I can tell it'd be within the Tasks API or within fuzzy-finder

@mauricioszabo
Copy link
Contributor

I think this was fixed some time ago, when we found out that Windows builds where not generating the right binaries, right?

@confused-Techie
Copy link
Member

@mauricioszabo You were totally right! Looks like I was doing testing with the chocolatey 1.103.0 build by mistake, CTRL + P does in fact work now on 1.106.0!

image

I'll go ahead and close this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants