The last time I checked, Project Inspection worked on my machine, it was a year or more ago.
Now it doesn’t start.
If I try to Inspect Memory, I get an error message:
PIO Core Call Error: “DLL load failed: A megadott eljárás nem található.”
The Hungarian part means something like the given procedure cannot be found.
If I try to Check Code, I get an error message:
Bad JSON
What should I do in order to get closer to the root cause?
Now it starts the memory inspection, it reaches 90%, there it becomes slow, takes minutes to increment the percentage one by one. The same happens with the code inspection. Does it make sense to wait several minutes? will it eventually finish?
Again, I get the original message. I am now repeating the uninstall/install procedure to find the weak point. My impression is that there is something strange with the Atmel SAM package, because it seems to be installed but both installing and uninstalling it never ends. I’ll let you know if I find out something.
This time memory inspection did not complain for a missing dll. The progress bar reached 90% in a few seconds. Now, after 17 mintutes it still shows 100% since several minutes.
I am getting closer:
After installing everything, in the same session inspection seems to start but stucks at 100%.
If I close and reopen VS Code, the next time I receive the DLL load failed and Bad JSON messages.
Wow. Yes. This was it.
Now I remember that I heard the same earlier, but I did not realize that somehow I had a miniconda installed. Now I removed it, and voilá.
How can such an installed Python harm PIO? I thought, PIO brings and starts its own python directly. Isn’t it possible to avoid this issue without deinstalling other pythons?