lapce-python not working for me in Lapce 0.2.5 on OS X
I installed the plugin (v0.3.2) and I installed python-lsp-server as described in the ReadMe. I also tested that pylsp is reachable in the path. The plugin works when I start Lapce via the terminal: RUST_BACKTRACE=1 /Applications/Lapce.app/Contents/MacOS/lapce. It doesn't work when I start Lapce normally as an app bundle.
Unfortunately I don't have access to a mac platform to test on. I only have Linux and Windows. Are there any error messages on the console when you run via the terminal? Is there a way to simulate running Lapce as an app bundle from the terminal so we might get error messages?
There are no messages at all in the terminal. I also just found out that it's not about opening the app bundle, but opening via terminal vs opening via Dock/Finder. I can open the app bundle in the terminal and the plugin seems to work fine. Could this sth have to do privileges?
I guess it could be privileges related or maybe opening via Dock/Finder having a different path? Is it possible to try simulating running a bundle from the terminal via https://stackoverflow.com/questions/55599363/macos-differences-running-application-in-finder-and-terminal?
That's what I already did. Opening the app bundle from the Terminal via open Lapce.app works fine. Opening via double-click on the app bundle in the Finder makes the plugin not work (but Lapce works fine otherwise).
Autocomplete/LSP also isn't working for me (macOS 13)
@arjpar, do you have the same behavior as @beingalink does with respect to opening from the Terminal vs the Finder?
@arjpar, do you have the same behavior as @beingalink does with respect to opening from the Terminal vs the Finder?
Yeah, autocomplete seems to work when I open lapce from the terminal (with the folder containing python files opened in lapce), but doesn't work if you don't open it from the terminal. Seems like there's a bug.
@superlou This isn't a problem with just the python extension, but for all lsp extensions for lapce on macOS. See here for the relevant issue.
It there anyone can set this up now? i try to install python-lsp-server on my system, in a virtualvenv, it just show not thing to me I'm using Arch Linux and pyenv? Maybe that's the problem?
It there anyone can set this up now? i try to install python-lsp-server on my system, in a virtualvenv, it just show not thing to me I'm using Arch Linux and pyenv? Maybe that's the problem?
@ppvan, I think your issue is different from the OS X issue in the rest of the comments, so I've moved it to https://github.com/superlou/lapce-python/issues/14.