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: https://replit.com/@gigaclon/Advent-of-Code-2022-Day-16#main.py

Screenshot(s)/Screen Recording:

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

Replit Profile: https://replit.com/@gigaclon

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 https://pythonify.util.repl.co/recreate_python3_venv.sh | bash in the shell.

4 Likes

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.