You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
Indexing fails abruptly for a Python codebase #418
I tried indexing a majority-Python codebase locally using the CLI and it failed with this error:
If I directly parse this file with the CLI, I get output with no errors:
But when I index the whole codebase, it fails on this file and stops the indexing process entirely. There appears to be no error-handling. I would have expected the indexing process to simply skip the offending line of code, or the file completely, instead of halting the indexing process.
As a result of this, I can't run queries for every file in the codebase since I'm working with only a partial index.
Any idea why this is the case? Would this behavior change if I used the API instead of the CLI?
Activity
hendrikvanantwerpen commentedon Apr 10, 2024
Hi @shobrook! Thanks for reporting this. I agree this this is not ideal behavior for the CLI. I've opened a PR to fix that (#419).
shobrook commentedon Apr 10, 2024
Thanks for the quick fix!