-
-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] grass78 --gui crash with wxPython-4.0.7.post2 #1261
Comments
It looks similar to #1123, there was a bug in wxPython with Python 3.9 |
Ok perfect thank you, I will try upgrading to 4.1.1 |
Ok no crash anymore :
Many thanks Anna @petrasovaa ! |
Hm, we don't have a dedicated place for warning users about these issues, they become obsolete quickly. But if we keep releasing broken versions (#1218) it's probably time to start thinking about some "GRASS status". I just don't want this to be the first thing people see on the website. |
I contacted a maintainer of the Arch Linux package for wxPython (which I assume is the same as the Manjaro package) and asked why it hasn't been updated for so long. They said that they didn't get newer versions to compile and didn't have the time to resolve the issue. I'm trying to get the official PKGBUILD updated to version 4.1.1 to open a merge request at the maintainer's personal repository but it proves to be difficult. @kikislater, do you happen to have a working PKGBUILD or did you end up installing via pip? |
I opened a bug as well on archlinux bug reports : https://bugs.archlinux.org/task/69393?project=5&string=python-wxpython [Removed] if you need built package let me know ! |
This looks much better than my attempt (I've tried to glue together a bunch of tarballs from GitHub instead of just sticking to pythonhosted…) but I'm running into the following issue:
I'll see if I can get this to work reliably. |
Catch it ! Sorry I did several tests and previous one was not the correct one
|
Thanks, this one appears to work. I'll propose this for upstream inclusion tomorrow. Do you want to be credited 1) as a contributor in the PKGBUILD and/or 2) as a commit author? Also I'll see if I can identify any changes in the required dependencies. |
Good ! Glad to contribute and help some users ;-) I don't think it will be accepted as I don't use syswx in this PKGBUILD that's why I didn't push commit. In wxPython 4.1 they change some declarations about wx detection and as we have 2 packages for wxgtk (wxgtk2 and wxgtk3) depending on gtk version in archlinux based distributions' it needs some tweak. Replacing wx-config to wx-config-gtk3 in prepare of pkgbuild is indeed needed. Need to explore more if it needs to change more wx-config declarations to get Link to |
Alright, then let's first ask @Foxboron whether upgrading python-wxpython from 4.0.7 to 4.1.1 at the cost of dropping |
Dropping |
Well, as @swt2c said in this post : wxWidgets/Phoenix#1911 (comment) wxWidgets is also outdated since July 2020 and WxPython 4.1.1 rely on this newer version. So may be it needs to focus first on wxWidgets then WxPython .... |
Just a heads-up...I'm now maintaining the wxPython 4.0.x branch, so if you want to stick with 4.0.x, I'm planning to do a release 4.0.8 relatively soon with this fixed. |
Ok ... Am I alone to feel wxWidgets and wxPython released confusing ? |
Admittedly, yes, it is a bit confusing. Back in the wxPython 3.0.x days, the version number corresponded directly to the wxWidgets release version. But for Phoenix, Robin changed it and he no longer follows wxWidgets releases but really tracks the wxWidgets master branch. There is a bit more churn as this wxWidgets branch is not stable/released, so that's why I'm maintaining 4.0.x. |
@kikislater Is anything left open in this report which is directly related to the GRASS GIS code base? |
Describe the bug
GUI crash
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Could use gui without crash
Screenshots
If applicable, add screenshots to help explain your problem.
System description (please complete the following information):
Operating System: Manjaro with PKGBUILD from AUR : https://aur.archlinux.org/packages/grass/
GRASS GIS version: 7.8.5
details about further software components
g.version -rge
in a GRASS GIS terminal session or check inthe GUI menu "Help > About"
python3 -c "import sys, wx; print(sys.version); print(wx.version())"
to print the Python and wxPython version numbers
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: