Ozzy1
1
Codebase indexing not working for me. In the logs it shows that it is picking 0 files for indexing:
2024-10-11 22:22:55.281 [info] Setting indexing intent to should-index
2024-10-11 22:22:55.282 [info] Creating merkle client.
2024-10-11 22:22:55.282 [info] Done creating merkle client.
2024-10-11 22:22:55.282 [info] Doing a startup handshake.
2024-10-11 22:22:55.291 [info] Finished initializing merkle tree in 8.615458011627197 ms.
2024-10-11 22:22:55.291 [info] Doing the initial handshake with hash:
2024-10-11 22:22:55.293 [info] Handshake start
2024-10-11 22:22:55.437 [info] Handshake timing: 145.31791698932648
2024-10-11 22:22:55.437 [info] Handshake result: {“status”:“STATUS_EMPTY”,“repoName”:“de0f9c9a-aec8-4269-8b84-15dd84228281”}
2024-10-11 22:22:55.437 [info] Starting fast remote sync.
2024-10-11 22:22:55.438 [info] Total num embeddable files: 0
2024-10-11 22:22:55.438 [info] Root hash:
2024-10-11 22:22:55.438 [info] Starting repository upload from scratch.
2024-10-11 22:22:55.438 [info] Uploading 0 files.
2024-10-11 22:22:55.561 [info] Finished indexing repository.
2024-10-11 22:22:55.561 [info] Indexing job successfully done or aborted.
Anyone experienced this? Any idea how to resolve this?
Hi @Ozzy1
Try reinstalling Cursor, in 99% of cases, that helps.
The process is described here:
darink
3
hi, @deanrie, I have the same issue:
2024-11-24 19:09:13.984 [info] Repo client: syncing embeddings with backend: https://repo42.cursor.sh
2024-11-24 19:09:13.984 [error] Error: Command failed: git config --get remote.origin.url
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:338:12)
2024-11-24 19:09:14.198 [info] Creating merkle client.
2024-11-24 19:09:14.198 [info] Done creating merkle client.
2024-11-24 19:09:14.198 [info] Doing a startup handshake.
2024-11-24 19:09:14.216 [info] Finished initializing merkle tree in 4.400957999999946 ms.
2024-11-24 19:09:14.217 [info] Doing the initial handshake with hash:
2024-11-24 19:09:14.218 [info] Handshake start
2024-11-24 19:09:16.229 [info] Handshake start
2024-11-24 19:09:16.399 [info] Handshake timing: 171.16545899999983
2024-11-24 19:09:16.400 [info] Handshake result: {"status":"STATUS_EMPTY","repoName":"6a7bb131-cce7-477e-9cef-f1ff622c19f7"}
2024-11-24 19:09:16.400 [info] Starting fast remote sync.
2024-11-24 19:09:16.401 [info] Total num embeddable files: 0
2024-11-24 19:09:16.401 [info] Root hash:
2024-11-24 19:09:16.401 [info] Starting repository upload from scratch.
2024-11-24 19:09:16.401 [info] Uploading 0 files.
2024-11-24 19:09:16.820 [info] Finished indexing repository.
2024-11-24 19:09:16.821 [info] Indexing job successfully done or aborted.
2024-11-24 19:10:19.516 [info] Setting indexing intent to should-index
2024-11-24 19:10:19.518 [info] Creating merkle client.
2024-11-24 19:10:19.518 [info] Done creating merkle client.
2024-11-24 19:10:19.518 [info] Doing a startup handshake.
2024-11-24 19:10:19.532 [info] Finished initializing merkle tree in 1.4410420000058366 ms.
2024-11-24 19:10:19.532 [info] Doing the initial handshake with hash:
2024-11-24 19:10:19.532 [info] Handshake start
2024-11-24 19:10:19.571 [info] Handshake timing: 39.54062500000873
2024-11-24 19:10:19.572 [info] Handshake result: {"status":"STATUS_EMPTY","repoName":"6a7bb131-cce7-477e-9cef-f1ff622c19f7"}
2024-11-24 19:10:19.572 [info] Starting fast remote sync.
2024-11-24 19:10:19.572 [info] Total num embeddable files: 0
2024-11-24 19:10:19.572 [info] Root hash:
2024-11-24 19:10:19.572 [info] Starting repository upload from scratch.
2024-11-24 19:10:19.572 [info] Uploading 0 files.
2024-11-24 19:10:19.605 [info] Finished indexing repository.
2024-11-24 19:10:19.605 [info] Indexing job successfully done or aborted.
2024-11-24 19:10:21.625 [info] Setting indexing intent to should-index
2024-11-24 19:10:21.630 [info] Creating merkle client.
2024-11-24 19:10:21.630 [info] Done creating merkle client.
2024-11-24 19:10:21.630 [info] Doing a startup handshake.
2024-11-24 19:10:21.641 [info] Finished initializing merkle tree in 0.907374999995227 ms.
2024-11-24 19:10:21.641 [info] Doing the initial handshake with hash:
2024-11-24 19:10:21.642 [info] Handshake start
2024-11-24 19:10:21.933 [info] Handshake timing: 291.4956669999956
2024-11-24 19:10:21.933 [info] Handshake result: {"status":"STATUS_EMPTY","repoName":"6a7bb131-cce7-477e-9cef-f1ff622c19f7"}
2024-11-24 19:10:21.933 [info] Starting fast remote sync.
2024-11-24 19:10:21.934 [info] Total num embeddable files: 0
2024-11-24 19:10:21.936 [info] Root hash:
2024-11-24 19:10:21.936 [info] Starting repository upload from scratch.
2024-11-24 19:10:21.936 [info] Uploading 0 files.
2024-11-24 19:10:21.970 [info] Finished indexing repository.
2024-11-24 19:10:21.970 [info] Indexing job successfully done or aborted.
After a fresh reinstall of cursor, deleting everything, clean reinstall.
have had for a year, want to fix. is there any way to set up a call with the team to fix?
my other thread: Codebase Indexing Issue
thank you.
Ozzy1
4
Nothing helped. I am able to use it on one of my laptops, but not the other.