pycharm fails to catch a syntax error in Python, or causes a syntax error even after the error has been fixed.
Take a look at the photo above. In the photo above, the category_id is clearly defined, so there shouldn't be any syntax errors.
However, Pycharm still complains that there is an error.
Pycharm also often says that there are no syntax issues, even though there are clearly syntax errors. This is pretty annoying because you think your app is all done, and you only find out about the problem when you launch it.
The operating system I'm using is shown above.
and this is my PyCharm Version. I don't remember getting that error when I was using version 2022.2.5. But we can't use an outdated version of the program forever, is there any way to fix this?
请先登录再写评论。
If that doesn't help, please submit an issue to https://youtrack.jetbrains.com and provide your logs from **Help | Collect Logs and Diagnostic Data**, so we could analyze it.
Also, does the issue reproduce in a new minimal project?
Andrey Resler
Hi, thank you for your response.
First, the delay settings are as follows.
I haven't touched anything since installing PyCharm, so that's probably not the cause of the problem.
I'm not sure yet if this issue is reproduced with the new minimal project, because it doesn't happen 100% after turning on the project - it seems to happen after turning on the project (which already exists), and working on it for a few hours.
Let's continue in the YouTrack ticket you created recently.
have the same problem, what was the solution? (i am using intellij ultimate with python plugin)
i get no syntax check, or wrong syntax check - after restart at least some wrong errors are gone but syntax is not checked at all.
If i restart intellij the syntax check works for some minutes and then it completely stops again (can add complete garbage nothing is shown)
If it doesn't help, could you please submit an issue to https://youtrack.jetbrains.com/issues/py with the following data?
- logs from **Help | Collect Logs and Diagnostic Data**
- CPU snapshot according to https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems