Problems on a fresh installation of KiCad

When reworking my whole system I installed Manjaro-Linux 21.1

(Linux 5.13.19-2 Manjaro x86_64 XFCE 4.16)

KiCad 5.1.10 (wxWidgets 3.0.5 Unicode and Boost 1.76.0

While personalizing KiCad I ran into problems and could use some help.

1. Use another frame

I found a good approach here:

Re: How to edit the schematic templates - the lower right corner?

Last Edit: August 09, 2020, 11:20:22 pm by Benta

Changes to /usr/share/kicad/template/kicad.pro worked fine and
my new frame is now in ~/kicad/templates .

Running up KiCad however is not going really smooth and I get this pop up:

Can somebody tell me what the story about info.html (plus icon.png ) is,
and what I can do to cure it?

2. I would like to use the new frame within the pcb-editor as well

Are there some magic lines to add to kicad.pro ???

3. KiCad throws a mismatch warning

warnung

What should I do to rectify that?

My german is pretty rusty, but I think the first issue is that your template is calling out some files that don’t exist. Do you have a ~/kicad/templates/wks_versions/meta/icon.png and ~/kicad/templates/wks_versions/meta/info.html? If not, you may need to copy those files from /usr/share/kicad/template/meta/icon.png and /usr/share/kicad/template/meta/info.html.

Issue #3 isn’t related to the first issues and can be ignored. You’ll have to click ok every time you start pcbnew, but it won’t cause any problems. It’s a packaging issue out of your control: your packaged kicad was compiled by a different version of gcc than the GUI libraries that kicad relies on (wxwidgets). WxWidgets complains about the mismatch, but it doesn’t cause an issue. This is a packaging annoyance that has come up before, but the packagers for the WxWidgets packages don’t consider it a problem that needs to be solved. It will go away next time the WxWidgets packages are updated by your distribution.

Hi gkeeth,

your german is good, you are looking at the standard error message “Can not open … File not found”.
… and this message is true.

In ~/kicad/templates/ I have pagelayout_default.kicad_wks only (which is my new frame) and a directory wks_versions which holds backups and a portrait version of it.

In /usr/share/kicad/template/ there is mainly my modified kicad.pro and in ~/.config/kicad there is no info.html / icon.png either.

Even searching the whole disk from the CLI does not show it. Only in backups of my older projects I found some of those files which were specific to those projects.

Where are the installation versions of these files???

I did some research, and those files are not provided by the installation. They are user-provided files that determine your new template’s icon and description in the “New Project from Template” dialog.

This is described here: https://docs.kicad.org/5.1/en/kicad/kicad.html#project_templates

The icon is described as optional, but the info.html file is required. They have a sample file in the documentation.

Have you tried that?

On Windows there are some included templates, but they don’t seem to be packaged in my linux installation (Arch Linux, which should be the same package as yours).

Hi gkeeth,

independant from your answer I found the info site from your link and tried out the info.html shown.
Mainly I wanted to see wether I would get a clean start and where I would find traces of this file.

The icon is described as optional, but the info.html file is required.

Not on my system, w/o icon.png I get a “file not found” stop.

With both files the start is clean and within eeschema I have not seen anything different (so far).
My impression is, info.html is setting parameters etc. mainly for the pcb editor.

Those files are not provided by the installation.

… so the package maintainers should add dummies and maybe a readme in KiCad-6

My main problem - a clean start w/o extras - is solved and the thread can be closed.

Nevertheless I shall collect more infos about kicad.pro and info.html. Their options might come in handy some day…

info.html contains the content that is displayed here in the “New Project from Template” dialog:


The intention is for it to to be a description of the template, screenshots, etc.

Templates can optionally contain a pcb file (.kicad_pcb), which would store parameters for the pcb editor.

I see a lot of room for experiments. My plan is to have a closer look at demos and examples to find out how to use the options.

Thank you again, you gave me the right push when I felt being in a dead end road…

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.