<div dir="ltr">Very cool! So I took the extra step of self-compiling python-wxpython to 4.1.1 and now GRASS runs super smooth again and no warnings in the console!<div><br></div><div>The key was removing the <span style="color:rgb(36,41,46);font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:11.9px;background-color:rgba(27,31,35,0.05)">--use_syswx </span>part of the build.</div><div><br><div>Thanks for your help and for anyone else, here's some related bug reports that help explain the issue [1][2][3].</div><div><br></div><div>[1] <a href="https://github.com/wxWidgets/Phoenix/issues/1911">https://github.com/wxWidgets/Phoenix/issues/1911</a></div><div>[2] <a href="https://bugs.archlinux.org/task/69393?project=5&string=python-wxpython">https://bugs.archlinux.org/task/69393?project=5&string=python-wxpython</a></div><div>[3] <a href="https://github.com/OSGeo/grass/issues/1261">https://github.com/OSGeo/grass/issues/1261</a></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 3, 2021 at 2:23 AM Maximilian Stahlberg <<a href="mailto:maximilian.stahlberg@tu-berlin.de">maximilian.stahlberg@tu-berlin.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
from what you describe I had the same problem and was able to fix it. I<br>
believe the issue is that wxpython 4.0.7.2 is outdated as the<br>
maintainer never got a more recent version to build. However, you can<br>
obtain version 4.1.1 for your current user via pip:<br>
<br>
pip install --user --update wxpython<br>
<br>
This should allow the GUI to run with no warnings or crashes.<br>
<br>
Best,<br>
Max<br>
<br>
<br>
On Mon, 2021-08-02 at 13:23 -0700, Donovan Cameron wrote:<br>
> My system info:<br>
> <br>
> OS: Arch Linux<br>
> GRASS: 7.8.5<br>
> wxgtk3: 3.0.5.1<br>
> python-wxpython: 1:4.0.7.2<br>
> To compile GRASS I have python-wxpython set as a dependency and it<br>
> builds fine but I always get this warning on startup of GRASS:<br>
> <br>
> > % grass78 --gui<br>
> > Starting GRASS GIS...<br>
> > 12:54:21: Warning: Mismatch between the program and library build<br>
> > versions detected.<br>
> > The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx<br>
> > containers,compatible with 2.8),<br>
> > and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1016,wx<br>
> > containers,compatible with 2.8).<br>
> > <br>
> <br>
> Recently, the GUI started to crash without any error or warning. It<br>
> launches a location/project and as soon as the two windows load (map<br>
> and layer windows) they just crash after a few seconds. No output in<br>
> terminal to indicate the cause. Can still execute command line GRASS<br>
> no problem though, so it doesn't crash the entire program just the<br>
> GUI.<br>
> <br>
> I've never really understood what causes the warning and now this<br>
> crash - do I need to re-compile wxgtk3[1] and python-wxpython[2] to<br>
> fix it? They do take a little bit of time to compile so curious if<br>
> anyone has encountered this as well and has some insight before I<br>
> dive in!<br>
> <br>
> I'm thinking the error is because the compiler used has some<br>
> differences to it as seen from C++ ABI 1014 and 1016.<br>
> <br>
> The wxgtk package in Arch Linux has a 6 year old patch[3] applied<br>
> that has that exact warning in it and the comment for the patch in<br>
> the PKGBUILD is:<br>
> <br>
> > # C++ ABI check is too strict and breaks with GCC 5.1<br>
> > # <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1200611" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1200611</a><br>
> > <br>
> <br>
> <br>
> <br>
> <br>
> Thanks,<br>
> <br>
> Donovan (saultdon)<br>
> <br>
> <br>
> [1] <br>
> <a href="https://github.com/archlinux/svntogit-packages/blob/packages/wxgtk/trunk/PKGBUILD" rel="noreferrer" target="_blank">https://github.com/archlinux/svntogit-packages/blob/packages/wxgtk/trunk/PKGBUILD</a><br>
> [2] <br>
> <a href="https://github.com/archlinux/svntogit-community/blob/packages/python-wxpython/trunk/PKGBUILD" rel="noreferrer" target="_blank">https://github.com/archlinux/svntogit-community/blob/packages/python-wxpython/trunk/PKGBUILD</a><br>
> [3] <br>
> <a href="https://github.com/archlinux/svntogit-packages/blob/packages/wxgtk/trunk/make-abicheck-non-fatal.patch" rel="noreferrer" target="_blank">https://github.com/archlinux/svntogit-packages/blob/packages/wxgtk/trunk/make-abicheck-non-fatal.patch</a><br>
> _______________________________________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div>