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

Python language server doesn't load #1

Open
jamesjrg opened this issue Sep 5, 2024 · 9 comments
Open

Python language server doesn't load #1

jamesjrg opened this issue Sep 5, 2024 · 9 comments

Comments

@jamesjrg
Copy link

jamesjrg commented Sep 5, 2024

Type: Bug

The Aide box at the bottom with the button "anchored editing" highlighted shows this message inside the box:

"Loading language server for Python..."

The message never goes away, so presumably the language server never loads.

I have the same extensions installed in vanilla VS Code, and have no issues there, only in Aide.

I tried opening VS code debug tools in Aide, and found this error, though not sure if it's related:

ERR Extension 'ms-python.debugpy' appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): portsAttributes, contribIssueReporter, debugVisualization, contribViewsWelcome
product.json (WINS): portsAttributes, contribIssueReporter, debugVisualization

Aide version: Aide 1.92.2 (ea8520b94b8a3721cbcce2eea97c04e6db4ae002, 2024-08-30T23:53:37.267Z)
OS version: Linux x64 6.8.0-40-generic
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3399)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 2, 2, 2
Memory (System) 31.24GB (19.29GB free)
Process Argv
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE wayland
Extensions (16)
Extension Author (truncated) Version
terraform 4op 0.2.5
githistory don 0.6.20
gitlens eam 15.4.0
terraform has 2.32.3
vsc-python-indent Kev 1.18.0
git-graph mhu 1.30.0
vscode-docker ms- 1.29.2
debugpy ms- 2024.10.0
python ms- 2024.12.3
vscode-pylance ms- 2024.8.2
jupyter ms- 2024.7.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.19
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
remote-containers ms- 0.380.0
@theskcd
Copy link
Contributor

theskcd commented Sep 5, 2024

This is super helpful! Helps us triage as well, can you let us know if the extension you are using was from open vsx or from the Microsoft Store.

We had another user report the same issue so gonna dig into it more.

Will keep you updated

@jamesjrg
Copy link
Author

jamesjrg commented Sep 5, 2024

When I started Aide for the first time it asked if I wanted to copy the extensions from my existing VS Code install, and I clicked yes. I don't know how it goes about copying them, but the original install in VS Code was from the standard MS extension manager, so if the file is physically copied into Aide I guess it's from Microsoft Store.

@theskcd
Copy link
Contributor

theskcd commented Sep 5, 2024

https://open-vsx.org/extension/ms-python/python can you try installing this one and see if the error goes away after that?

@theskcd
Copy link
Contributor

theskcd commented Sep 5, 2024

the microsoft official one does not work on any editor other than VScode, there was a way to get it to work but it doesn't work anymore VSCodium/vscodium#1641

moreover we chagned the migration process to install the extensions from open vsx but looks like that process is not iron clad yet (thats on us to fix)

@jamesjrg
Copy link
Author

jamesjrg commented Sep 5, 2024

Ah installing the .vsix from open-vsx worked, thanks! I downloaded the file with my web browser and then installed it manually, not sure if the extensions window inside Aide also uses that site as a source?

I must admit I still haven't figured out how to actually use the AI box, but that's probably because I'm missing some configuration or misunderstand the UI 😅

@theskcd
Copy link
Contributor

theskcd commented Sep 5, 2024

Oh dang .. I can send over some demos to show you .. I think a walkthrough would make it easier and we should think about our input

@theskcd
Copy link
Contributor

theskcd commented Sep 5, 2024

sharing this post which has an intro kind of into our workflows, and agree on the setup being wonky (ideally we should just check and make sure its setup for you properly)

I have some demo videos but they are on my other disk :(

@jamesjrg
Copy link
Author

jamesjrg commented Sep 6, 2024

Some or all of the issue is that I'm on the waitlist. If I chat in the "Chat" window I get a message about being on the waitlist, as expected. If I try to type some input in "anchored editing" window and press enter nothing happens. Maybe it's just that the error message hasn't been implemented for that window.

@theskcd
Copy link
Contributor

theskcd commented Sep 6, 2024

can you drop me your email at [email protected] (of course I understand that you probably wont want to give it out loud to the world lol) or let me know your waitlist number and I will let you in

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