Forced Nix migration breaks everything

Bug description:
Syntax errors and suggestions (red and orange squigglies) don’t work. Console Error output isn’t red like usual. Debugger doesn’t run giving this error message:

 could not read stderr: Traceback (most recent call last):
File “/nix/store/ann2w0blx5vrc8mw1hwnvb37gry6ci9a-replit-python-dap-wrapper-1.0.0/bin/dap-python”, line 16, in
import debugpy
ModuleNotFoundError: No module named ‘debugpy’
failed to run adapter: could not parse port from adapter: strconv.Atoi: parsing “”: invalid syntax: EOF

Expected vs Current Behavior:
Also wasn’t asked if I wanted more features (I don’t)

Steps to reproduce:

Bug appears at this link:

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Replit Profile:

Try moving your code from this Repl to a fresh Python Repl. Does that help?

yeah it does but I have a couple of hundred Repls so I don’t want to do it for all of them. Something in the migration process breaks all this.

So the LSP is missing. I did make a fix for that, but it’s a lot of effort to use.

Not sure about this one.

pip install debugpy?

1 Like

The only fix we know of at the moment is to regenerate your Repl’s virtual environment by running curl | bash in the shell.


Also your so-called “fix” returns the error + ./venv/bin/poetry install bash: line 48: ./venv/bin/poetry: No such file or directory so thanks for nothing.

1 Like

It has also broken everything for me and no fixes work