Code Inspection not working
Answered
Hello everybody,
my problem is the following: When I am executing the code inspection PyCharm just says "No suspicious code found", even when I add errors intentionally. I am running PyCharm under Linux (Linux Mint 19) and already tried to reset all configurations and use a new clean project, but this didn't solve the problem. On my second machine it is working under Windows (same Project, synchronization using Git). Does somebody have an idea how to fix it?
Thanks in advance!
Please sign in to leave a comment.
Hi,
Please try File | Invalidate Caches / Restart..., if doesn't help try to delete the system sub-directory (https://intellij-support.jetbrains.com/hc/articles/206544519) and then start PyCharm again.
If nothing helps, please upload your idea.log (Help | Show Log in...) to https://uploads.services.jetbrains.com/ zipped and let me know the name of that zip file.
Invalidating the cache or removing the named directory didn't help.
The log file repeatedly contains the following message:
Thanks!
The NoSuchMethodError usually appears when you unzip new version over the previous one. It seems that something was not quite right with PyCharm during that.
All in all, I kindly ask you to reinstall PyCharm into an empty directory. So, completely uninstall it, download from https://www.jetbrains.com/pycharm/download and install. Please let me know if the problem remains.
Yes, that solved the problem! Thanks!