Hi,
I don’t use any Proxy.
deleting C:\User… \pcm: did not help
I tried the python row from previous message, I shows the print screens of that. I got no reaction on this.
I turned of all my protections, antivirus, firewalls, etc… dit not help.
I also installed 7.0 on a complete other computer, W10, whit other configs… Did not work aswell
Opening Plugin manager gives this dialog for hours…
When i close this not responding dialog, Kicad closes completely, losing my not saved work…
As I showed in previous message. I only get that dialog window, which give a no responding message.
After all actions I did on all advices.
So as a result I don’t get to the plug in manager at all. in no case. I only know the plugin manager from the manuals, how it should look like…
On my question, how I can install plugins without this manager, and how I can do that, I did not get an answere
It would also help if there is a log-file? a message? a fault-error code? now it seems impossibel to trace where the systems stops its program. Aren’t there exception handlers?
I guess I didn’t make my question clear. Here is what I asked you to try in more details:
Delete everything in C:\Users\<your username>\AppData\Local\kicad\7.0\pcm
Launch kicad and try to open plugin manager.
Check what shows up in C:\Users\<your username>\AppData\Local\kicad\7.0\pcm
On a properly working kicad installation plugin manager will download cache of the official repository which will look like a folder with name 46f88614eade3439 and 3 files within it: repository.json, packages.json and resources.zip. Plugin manager downloads them in that specific order.
I’m asking about this because based on what shows up there we will be able to determine some things:
If nothing shows up there then we will know that plugin manager can not download anything at all. But I don’t think that’s the case because one of your posts above shows contents of repository.json.
If only one of json files shows up that would be strange. I don’t think it’s likely and don’t know what can cause this.
If both files show up but not the zip file then it is likely antivirus software interfering with kicad.
If they all show up and have contents (i.e. are not 0 byte files) then the issue is not with downloading files and somewhere else.
There is one more thing you can try to determine if issue is with network or not (but make sure to try the above first, it will give us more information):
Go to C:\Users\<your username>\AppData\Roaming\kicad\7.0 (note the difference in path, this is Roaming, not Local) and open kicad.json in a text editor. You will find a section named pcm in there which should look something like this:
{
"name": "KiCad official repository",
"url": "https://repository.kicad.org/repository.json"
}
So that repositories is just an empty array. That way when you launch kicad manager it will not attempt to download anything at all. If you are able to open the plugin manager window with that this will be another confirmation that issue is likely with network or antivirus preventing you from downloading some things.
Some plugins have a separate downloadable archive for manual installation, check their github/gitlab links in description and follow their installation instructions.
If they don’t have separate archive you can still use archive intended for installation through plugin manager.
If you are able to open the plugin manager window after removing official repository from configuration like I explained above, you will be able to use Install from file... feature to point plugin manager to your downloaded plugin archive and it will do the rest.
If you still can’t open plugin manager then you will have to go full manual route. Open pcb editor, go to Tools -> External Plugins -> Open Plugin Directory. That will open a folder where manually installed plugins should go, it should be C:\Users\<your username>\Documents\KiCad\7.0\scripting\plugins. Extract the plugins subdirectory from the plugin archive you downloaded there and only that subdirectory. So you will end up with following folder: C:\Users\<your username>\Documents\KiCad\7.0\scripting\plugins\plugins. To be able to install multiple plugins that way you should rename plugins after you extract it to something else but make sure to not use spaces, dots or other special characters in the name. So in the end you will end up with C:\Users\<your username>\Documents\KiCad\7.0\scripting\plugins\<someplugin>.
To answer other questions:
There is no log file because your problem is very unusual one. Plugin manager has existed in kicad for more than a year and aside from few reports of issues with antivirus and proxies it works for everyone. So there is generally no need to debug so no unnecessary log files. Of course there are exception handlers but they don’t work when program execution is interfered with by external causes like antivirus.
Of course there still can be a bug and a situation that is not properly handled which is why I’m helping you. As a Kicad contributor who developed most of plugin manager I’m invested in fixing it if there is one.
One last thing: please post full kicad version information by going to Help -> About kicad, pressing Copy version info and then pasting the text here.
1e:
Delete everything in C:\Users<your username>\AppData\Local\kicad\7.0\pcm
Answere= Done
Launch kicad and try to open plugin manager.
Answere= done. It shows the previous hanging dialog, wait hours… Not reponding, so I exit/canceled the Kicad programm.
Check what shows up in C:\Users<your username>\AppData\Local\kicad\7.0\pcm
Answere= Empty (even with all virus protections off)
On a properly working kicad installation plugin manager will download cache of the official repository which will
look like a folder with name 46f88614eade3439 and 3 files within it: repository.json, packages.json and resources.zip.
Plugin manager downloads them in that specific order.
Answere= this (46f88614eade3439) folder I deleted it in step above.
Removing following lines:
{
“name”: “KiCad official repository”,
“url”: “https://repository.kicad.org/repository.json”
}
Answere= Yes, the manager opens.
(Still all my virus protection is off.)
Now I proceed the rest of your answere about manual plugin install
When I enter : https://repository.kicad.org/repository.json
in the chrome adress bar, I get a script file dump.
I’m not able to understand what this is, or what it means, or what it helps…
For your Idea, Im running W10 on a HP Z4, with Norton 360 delux.
java version 8 Update 321.
In an other folder Python 3.10 is installed.
So it did download it at some point but now it will not create it anymore? That’s even weirder.
Try version 7.0.1, it has a fix for kicad not handling corrupted data for plugin manager correctly. That normally resulted in a crash, not hanging program, but maybe it’s something related. You can also try deleting installed_packages.json in Roaming\kicad\7.0 because that one was causing crash if it was malformed.
Hi,
the first yes Weird. Ther were 3 files, the two Json and a zero-byte resources.zip.
2e yes good plan 7.0.1. I’ll do that tomorrow.
many thx so far…