What happened with PyCharm 2021.2? Numerous issues! Follow
First, a few days ago I tried upgrading from the previous version, but the update crashed. Just now it updated correctly. However, now I'm seeing several issues. I think some of these already started before...
My project uses Django 3.2.3, not 1.5. This may have something to do with the next issue.
That one is new. If I try to regenerate, it just fails again.
Git is not properly recognised anymore.
Also the previous versions of PyCharm got very slow. I've seen someone else mention this, and for a bit it seemed to have gone away in another update. But since previous update this slowness is definitely back. Maybe it's fixed again in 2021.2, will see...
Note: not only templates show errors, it's actually all over the project! I can't work anymore!
I'm guessing the main reason is the skeletons not being recreated, so nothing is properly recognised. I restarted docker, but no effect. I don't know what happened here.
Please sign in to leave a comment.
I tried restarting with invalidating caches, no effect. I tried removing the cache dirs manually, no effect. I tried removing the PyCharm helpers from docker, no effect. Now I reinstalled the previous version of PyCharm (2021.1) and I removed my Interpreter, but I cannot configure the docker-compose interpreter anymore: after I select my docker-compose.yml configuration file, it doesn't find my services. PyCharm only sees: networks, services and volumes.
Now my project is gone and I can't get it back.. :(
Webtweakers I can't help with your other problems, but I managed to fix my docker interpreter in PyCharm by doing the following.
In my case I updated docker and PyCharm at the same time, but it was docker that was causing the issues, not PyCharm.
Hello Webtweakers ,
>Git is not properly recognised anymore.
The path in terminal is /usr/local/bin/git and in PyCharm is /usr/local/git/bin/git .
I am wondering if invalidate caches helped with other issues?
Thanks Gerome Braddock and Antonina Belianskaya. Turning off "Use Docker Compose V2" indeed solved the issue with not being able to select the correct services from the Docker Compose configuration. And yes, I completely overlooked that GIT path.
So I fixed that and upgraded again to 2021.2, but the problems are not gone yet:
This is one example, but all code is like this. Despite PyCharm recognizing correctly that I'm using Python 3.9.6, it's as if it doesn't see Python at all and it doesn't understand the code anymore.
In the PyCharm settings, I set "Editor > Inspections > Python > Code is incompatible with specific Python versions" to version 3.9 only, but that does not make a difference.
I'm not sure what else to do to solve this. Also I have never had such problems when updating PyCharm! And I have been using the PRO version for many years. Ironically just yesterday I received a reminder for the upcoming bill...
I am very sorry you have faced with the 2 main regressions of this release, the issue is known, please see https://youtrack.jetbrains.com/issue/PY-49970 . Please apply the workaround provided, the fix is expected in the next minor update.
I apologize for the inconvenience.
Antonina Belianskaya ah, thanks for pointing out that thread. I've added my 2c, but the last comment was from 2 days ago. I hope this issue is still "active" because the suggested work-around is a bit brute-force.
In my case, the installation went fine.
I started the app, the logo window appears, then I see a box saying 'migrating...', then nothing.
The app doesn't even start at all anymore. Fantastic!
Hello Jpbianchi
Please try to start the IDE with default settings by renaming config folder https://www.jetbrains.com/help/pycharm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html .
Will it help?