cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Codebase indexing is not working

Open atiakr opened this issue 1 year ago • 10 comments

image image

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

atiakr avatar Apr 02 '24 01:04 atiakr

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.

sualehasif avatar Apr 02 '24 01:04 sualehasif

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.

atiakr avatar Apr 02 '24 04:04 atiakr

same bug on windows 11 fresh installation

Mdev303 avatar Apr 12 '24 17:04 Mdev303

I went back to win 10 and this still happens

Mdev303 avatar Apr 12 '24 17:04 Mdev303

@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

lesmo avatar Apr 12 '24 19:04 lesmo

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 avatar Apr 12 '24 19:04 Mdev303

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

Mdev303 avatar Apr 12 '24 20:04 Mdev303

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

Mdev303 avatar Apr 13 '24 00:04 Mdev303

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!

atiakr avatar Apr 15 '24 05:04 atiakr

@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

lesmo avatar Apr 25 '24 18:04 lesmo

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.

mennovergeer avatar Jun 12 '24 09:06 mennovergeer

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.

chetan2309 avatar Aug 21 '24 06:08 chetan2309