I believe the problem to be the wxWidgets libraries installed in the system. But I don’t know how to fix it. I’d imagine that the correct way would be to recompile the source code in the platform that will be used. However, I would like to see if there is any way around this.
I am having a very similar same problem here, but with Debian Testing (Buster) and only when starting PcbNew. (Maybe other parts too, but the KiCad “program chooser” and EEschem seem unaffected)
Did a search and found more similar reports.
I did not report it here because it seemed to more related to wxwidgets, than to KiCad.
Your error message is different though, but still, maybe solved by the same workaround.
In the link above, a (temporary) workaround seems to be to:
It seems to be realted to latest version of python-wxgtk3.0.
When I downgrade this package to 3.0.2.0+dfsg-6 (from buster) pcbnew
starts working again.
Thanks for the info, but I need to reinstall that machine and install Centos. So my problem now is moot. If I have another problem with the Kicad in that machine I will write again.