Ki'CAD generates errormessage

Hello all,

I have been running opensuse Tumbleweed since a few months. I migrated the system from LEAP 15.2. In the beginning everything was fine. About three weeks ago, directly after running an update, KiCAD started to generate an error message as soon as I try to open any of my schematics or PCB s. The mesage says: “Loading dynamic Library /usr/bin/_eeschema.kiface failed. /usr/binj/_eeschema.kiface: undefined symbol:_ZNK13wxGLCanvasEGL15ISShownOnScreenEV, version WXU_3.1”. I mailed the error message to KiCAD guys and was told following: There’s a binary file mismatch problem, between KiCad and wxWidgets. This means that one has been updated recently and the other one not. KiCad has been compiled for different wx version. These kinds of things happen with a rolling release. Try updating the system again.
Meantime I got a few hundred updates but KiCAD doesn’t work anymore. Therefore I tried to reinstall KiCAD again but still the same message.

I have one computer left with LEAP 15.2. there KiCAD has no problems.

Does anyone have an idea how to solve that problem?

Regards

Norbert, DL1EBN

Please use Code-Tags:
https://forums.opensuse.org/showthread.php/536143-Using-Code-Tags-Around-Your-Paste

Please also post the complete command-line incl. output in Code-Tags, so that the helping people can see in which directory the command was executed, or with which User the command has executed.

Hello, is this what you need?

NAME=“openSUSE Tumbleweed”

VERSION=“20210904”

ID=“opensuse-tumbleweed”
ID_LIKE=“opensuse suse”
VERSION_ID=“20210904”
PRETTY_NAME=“openSUSE Tumbleweed”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:tumbleweed:20210904”
BUG_REPORT_URL=“https://bugs.opensuse.org
HOME_URL=“https://www.opensuse.org/
DOCUMENTATION_URL=“https://en.opensuse.org/Portal:Tumbleweed
LOGO=“distributor-logo”

First: no that was not the command/output what I mean.
Second: This should also in Code-Tags…
See and my comments

ich@linux64:/home> cat /etc/os-release <------This is the commandline
NAME="openSUSE Leap"
VERSION="15.3"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.3"
PRETTY_NAME="openSUSE Leap 15.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
ich@linux64:/home> <---This is the next line after finishing the command 

This is what I get if I start kicad:

ich@linux64:/home> kicad
No protocol specified
No protocol specified
19:02:39: Error: Unable to initialize GTK+, is DISPLAY set properly?
ich@linux64:/home> 

And that is the right Code-Tag…

PS:
I am not interested in using kicad, so please do not write for my errors, because User ich has not started a graphical session…

Hello,

this is what I get if I start the comman:

norbert@LAB-WKS02:~> cat /etc/os-release
NAME=“openSUSE Tumbleweed”

VERSION=“20210904”

ID=“opensuse-tumbleweed”
ID_LIKE=“opensuse suse”
VERSION_ID=“20210904”
PRETTY_NAME=“openSUSE Tumbleweed”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:tumbleweed:20210904”
BUG_REPORT_URL=“https://bugs.opensuse.org
HOME_URL=“https://www.opensuse.org/
DOCUMENTATION_URL=“https://en.opensuse.org/Portal:Tumbleweed
LOGO=“distributor-logo”
norbert@LAB-WKS02:~>

I get this if I start KiCAD from command line:

[FONT=monospace]norbert@LAB-WKS02:~> kicad

That’s all I see. The KiCAD GUI opens immediately. My problem is not to start KiCAD. That works fine. I can choose a project or generate a new one as well. The problem is, that the projects contain the schematics and PCBs. Since the update described above, I can not open any of the schematics or PCBs. If I try, I get the error message described above. If I generate a new Project, KiCAD generates a new schematic and PCB. I can not open those too. First I thought, that KiCAD itself was damaged. But that is wrong, because I can open all KiCAD Files in LEAP 15.2. I also tried to reinstall KiCAD but that did not change anything.

Regards

[/FONT]

I am also on Tumbleweed 20210904 and I see I can reproduce the problem, see below.

I think you diagnosed the problem already:

I migrated the system from LEAP 15.2. In the beginning everything was fine. About three weeks ago, directly after running an update, KiCAD started to generate an error message as soon as I try to open any of my schematics or PCB s. The mesage says: “Loading dynamic Library /usr/bin/_eeschema.kiface failed. /usr/binj/_eeschema.kiface: undefined symbol:_ZNK13wxGLCanvasEGL15ISShownOnScreenEV, version WXU_3.1”. I mailed the error message to KiCAD guys and was told following: There’s a binary file mismatch problem, between KiCad and wxWidgets. This means that one has been updated recently and the other one not. KiCad has been compiled for different wx version. These kinds of things happen with a rolling release. Try updating the system again.

Found also the problem here: https://build.opensuse.org/package/show/openSUSE:Factory/kicad

i think the way to go is to create a bug report on https://bugzilla.opensuse.org

https://susepaste.org/images/45546646.png

Hello Marel,

this is exactly what happens here. I’ll try a bug report. Thanks for the info.

Regards,

Norbert, DL1EBN

The Bug Report is already there. Hopefully someone takes care about it. I can’t use KiCAD since weeks.

Regards

It is a small service to others reading this to post the URL of the bug report you created (or found) so that those intrested can follow what happens there and eventual contribute to the discussion there.

Built Kicad 5.99 for Opensuse Tumbleweed

Requires wxwidgets GTK 3.1
wx-config --list should say…
Default config is gtk3-unicode-3.1

If KiCad Ngspice error see…
https://www.youtube.com/watch?v=lVi-EeS3Kao

Your mileage may be varied!

Download…
https://mega.nz/file/ZMpEAa5R#72gD5xbw896idozSshLOPlFTpoTyUYMtUuVV9qvDB-w

Satspares.

Built Kicad 5.1.10 on OpenSuse Tumbleweed Version 10-September-2021

requires Python3.8 Wxwidgets WxGTK

Download…
https://mega.nz/file/YNIXzCBR#Z33kI0iHx9H0vZNmf03CUc5KklTvvY2rI08AXEnQ9Qw

Don’t mix 5.99 with 5.1.10 as some of the file formats are different!

Satspares.

Hello Satspares,

I do not understand what you mean. I'm just a Tumbleweed user who knows the basics about LINUX not more. I have the latest version of KiCAD 5.1.10 already installed. It was working fine all the time until the WxWidgeds were updated in Tumbelweed. I tried to reinstall the latest KiCAD package (5.1.10) already without success which means, that the error message did not change. The other link pointed to an NGSpice Problem. I never tried out if I have the same trouble.  


Regards
Norbert, DL1EBN

Norbert,

Updated Kicad 5 (16th September) is available now in the Opensuse Electronics Repo.
The 5.99 version I posted earlier in the thread had a problem finding 3D Models I have fixed this and will post it later.

Regards,
Satspares.

Thank you Satspares,

it works. I did not try 3D Models but the main function is there. So hopefully I can finish my Projects. Thanks again.

Regards
Norbert

19-September-2021 Kicad 5.99
Fix unable to find 3DModels
Download…
https://drive.google.com/file/d/1ECK-HbL5W_YHziNfpCRWfyVefqOCJNPH/view?usp=sharing

Regards,
Satspares.