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

Codebase indexing is not working #1373

Closed
atiakr opened this issue Apr 2, 2024 · 13 comments
Closed

Codebase indexing is not working #1373

atiakr opened this issue Apr 2, 2024 · 13 comments

Comments

@atiakr
Copy link

atiakr commented Apr 2, 2024

image
image

Codebase indexing only outputs loading in window10
Is there a logfile I can check to troubleshoot this error?

@sualehasif
Copy link

Suspect this has something to do with windows. can you run output: focus on output view in cmdshiftp and then focus on the Cursor Indexing & Retrieval logs and send them here or email them to us.

@atiakr
Copy link
Author

atiakr commented Apr 2, 2024

Suspect this has something to do with windows. can you run output: focus on output view in cmdshiftp and then focus on the Cursor Indexing & Retrieval logs and send them here or email them to us.

I just sent it to your email, please confirm.

@Mdev303
Copy link

Mdev303 commented Apr 12, 2024

same bug on windows 11 fresh installation

@Mdev303
Copy link

Mdev303 commented Apr 12, 2024

I went back to win 10 and this still happens

@lesmo
Copy link

lesmo commented Apr 12, 2024

@sualehasif I've been having this issue forever, no obvious error tho:

2024-04-12 13:06:54.924 [info] Repo client: syncing embeddings with backend:  https://repo42.cursor.sh
2024-04-12 13:06:54.924 [info] Creating merkle client.
2024-04-12 13:06:54.924 [info] Done creating merkle client.
2024-04-12 13:06:54.924 [info] Doing a startup handshake.
2024-04-12 13:06:56.364 [info] Finished initializing merkle tree in 2387.0390579998493 ms.
2024-04-12 13:06:56.434 [info] Doing the initial handshake with hash: bb98aa91e84e98320e9cb8bd388d0b502f453866f74d870ff945ae9f479fee12
2024-04-12 13:06:56.475 [info] Handshake start
2024-04-12 13:06:57.651 [info] Handshake timing: 1211.6443099975586
2024-04-12 13:06:57.651 [info] Handshake result:
2024-04-12 13:06:57.652 [info] Starting fast remote sync.
2024-04-12 13:06:57.705 [info] Total num embeddable files: 6177
2024-04-12 13:06:57.826 [info] Root hash: bb98aa91e84e98320e9cb8bd388d0b502f453866f74d870ff945ae9f479fee12
2024-04-12 13:06:57.831 [info] Finished indexing repository.
2024-04-12 13:06:57.831 [info] Indexing job successfully done or aborted.

I'm running this in Windows 11 Pro, repo is running in WSL. Funny thing is the LLM thinks it knows, and just hallucinates a response (this is a Typescript only project, so its response makes no sense):
image

@Mdev303
Copy link

Mdev303 commented Apr 12, 2024

I tried completely uninstalling cursor including deleting all the cache in AppData I also removed auto index in the settings, but I still have this bug, it makes cursor completely unusable
Capture

Can the cursor team at least give us a workaround?

@Mdev303
Copy link

Mdev303 commented Apr 12, 2024

@sualehasif I tried focus on output view but I don't have anything called "Cursor Indexing & Retrieval logs"
1
2

@Mdev303
Copy link

Mdev303 commented Apr 13, 2024

I think I solved this after installing Microsoft Visual C++ https://www.microsoft.com/fr-fr/download/details.aspx?id=48145 let me know if that was the issue

@atiakr
Copy link
Author

atiakr commented Apr 15, 2024

I think I solved this after installing Microsoft Visual C++ https://www.microsoft.com/fr-fr/download/details.aspx?id=48145 let me know if that was the issue

oh. I did what you said and the codebase indexing started working. thx!

@lesmo
Copy link

lesmo commented Apr 25, 2024

@Mdev303 @atiakr the VC Redist fix sounds like an interesting solution, might work for more people.

But it didn't work for me, it's already installed in my device:
image image

@mennovergeer
Copy link

mennovergeer commented Jun 12, 2024

I have the same issue, I commented elsewhere. I also tried this fix, but my machine already had visual c++ 2015 installed so that did not work.

@chetan2309
Copy link

I can also confirm that this is an issue on a windows 11 machine. The view is stuck on indexing. I have tried updating and reinstalling cursor to latest version and across multiple internet connections.

Though it worked flawlessly on my Mac machine.

@danperks
Copy link
Collaborator

danperks commented Oct 8, 2024

Hey, anyone having this issue, could you comment your OS and Cursor info in #2035

@danperks danperks closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2024
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

7 participants