Closed dhilst closed 8 months ago
Okay, the problem was with the lsp workspace and also I had to install watchman, here is how I did it
In the terminal
# Install watchman
yay -S watchman-bin # I'm using archlinux
# browse to the project folder
cd pyretest
# remove old config
rm -rf .pyre_configuration .pyre .watchmanconfig
# init again
pyre init
# I needed that too
watchman watch .
After this I:
lsp-workspace-folder-add
to add the project folderlsp-workspace-folder-open
lsp
I'm trying to use pyre in a new project but I always get the same error in
pyre::stderr
bufferHow to reproduce:
Create a project
Install
lsp-pyre
in emacsOpen
test.py
Activate the virtual environment using
pyvenv-activate
and selecting~/.venv/pyretest
Activate
lsp
intest.py
bufferAt this point I get an error in the minibuffer saying that the pyre process exited with non-zero code, and ask if I want to restart it, I select "no"
Then go to
pyre::stderr
buffer and I have this stacktracestack trace in
pyre::stderr
bufferrequirements.txt
.pyre_configuration
I tried other variations of configurations but I always had the same error