-
Notifications
You must be signed in to change notification settings - Fork 282
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 - vscode-python: Crashing when retreiving 'packageJSON' #1139
Comments
I also could not install the Python VSIX extension, neither with the command-line option |
I think this is due to two issues: No output from the command (which there is a PR for) and an absolute path to the VSIX currently being required (which I can hopefully fix tonight). The second part (i.e. Extension activation failed) is due to the error in the issue title I think. If you run |
There has been some progress: the latest version of onivim (0.3.0) now installs the vsc-de-python extension. This is confirmed, when "--list-extensions" indicates "python". However: I do not see any effect, such as tab-completion, finding the definition of variables or functions, etc. |
I see the same behaviour that @thomas-haslwanter is describing on Mac OS X with Onivim 2 (0.3.0). On the notification tab I see "Extension activation failed, run the 'Developer: Toogle Developer Tools' command for more information. I cannot find that command in the search result list of commands. |
Just wanted to report that the problem is still present with Onivim2 ver 0.4.0 |
I was able to use a older version and it looks like that is working. I used ms-python.python-2020.1.58038.vsix The newer versions I couldn't get to work. And theres certain functionality that isn't available but I assume those are features the extension is trying to use not yet available in oni2. If someone wants a workaround try the older version.
|
@mr-sour - that's great! Thanks for sharing. I recently merged a PR to get past the retrieving That's exciting that the earlier Python extension works, though - might've been before they started relying on the |
Several of the python blockers have been fixed now, in these PRs: And I've added some documentation here: #2121 There is still one blocking bug - microsoft/vscode-python#12465 - but it's been fixed in This version of the extension seems to be working, in the meantime: I'll close this, since the original issue it's tracking has been fixed in #1788 - but please let me know if you're still seeing issues with python support 👍 |
Hello @bryphe The only issue I'm having is that when I write code oni2 will not auto indent code. I've been unable to find any mention of this issue anywhere and I'm unsure if it's already been addressed, or simply not implemented yet. Thanks |
Hi @kevinrohrbach , Thanks for the kind words! I'm glad the highlighting and suggestions are working 👍 It looks like auto-indent is actually somewhat problematic - there are a few github issues logged against the
There was an extension built to try and fix these issues here: https://github.com/kbrose/vsc-python-indent - but unfortunately the API it uses isn't wired up to Onivim, yet |
After #1138 , the python extension is crashing here:
https://github.com/microsoft/vscode-python/blob/f3084f27d141f8792a04df629205d14bc7612de3/src/client/telemetry/index.ts#L62
It may be that our
vscode-exthost
is out-of-date or not giving the extension information in the expected way. We should check to see the extension ID being returned, and whether thepackageJSON
is available.The text was updated successfully, but these errors were encountered: