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.


You should all be ashamed of yourselves as developers. Forcing an update like this that breaks thousands upon thousands of Repls with no choice for users to test implementation first. Absolutely ridiculous. I have Repls that have been running for years and suddenly this unasked for update breaks everything, and with your poor excuse for support finding fixes like this is like finding a needle in a haystack. Nix breaks even simple Python applications. Come on. Absolutely ridiculous.

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.