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

Extension doesn't do anything, produces vague error #80

Closed
daisylb opened this issue Mar 4, 2024 · 2 comments
Closed

Extension doesn't do anything, produces vague error #80

daisylb opened this issue Mar 4, 2024 · 2 comments
Assignees

Comments

@daisylb
Copy link

daisylb commented Mar 4, 2024

Every time I try to use anycode with anycode-python, I get the following:

[Error - 12:06:54] Unhandled exception
[Error - 12:06:54] [object Object]

I'm not quite sure where to start debugging this, since the error message is so vague. I guess that this code here needs to be changed so that it produces a more explanatory output message to start with?

I've tried to edit it locally in order to debug the underlying issue, but I can't find a corresponding file in the ~/.vscode/extensions/ms-vscode.anycode-0.0.72/ directory.

This started happening on a very large Python codebase (the reason I'm using anycode in the first place is because this codebase is so large that Pyright's "go to symbol in workspace" is so slow that it's basically non-functional) but I'm able to reproduce this on a much smaller Python project (a single Python file).

@jrieken jrieken self-assigned this Mar 5, 2024
@jrieken
Copy link
Member

jrieken commented Mar 7, 2024

This should now be fixed with version 0.0.73

@jrieken jrieken closed this as completed Mar 7, 2024
@daisylb
Copy link
Author

daisylb commented Mar 8, 2024

Sweet! Just confirming that this works now.

I do still get an [object Object] being logged (see below), but the root problem of go to symbol not working has been solved :D

[INDEX] using 58999 of 58999 files for **/*.{py,rpy,pyw,cpy,gyp,gypi,pyi,ipy}
[index] initializing index for 58999 files.
[Error - 15:54:04] [object Object]
[index] added FROM CACHE 0 files 11.60ms, all need revalidation, 58999 files are NEW, 0 where OBSOLETE
[index] unleashed files matching: python

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

2 participants