-
-
Notifications
You must be signed in to change notification settings - Fork 307
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]: The wxGUI crashes at launch #1971
Comments
This looks like a problem in wxPython. I would try newer wxPython version. Not sure why it popped up in your case, maybe it's because newest Python 3.10 version? In main branch this splash screen widget is not used, so there won't be this problem, so we could backport that. |
BTW: the new 7.8.6 is upcoming for Fedora, at time in testing: https://bugzilla.redhat.com/show_bug.cgi?id=2012725 |
I just wanted to drop in and say that I run into the same issue, same system specs as @jmburgos. WxPython is version 4.0.7, I don't think that a newer version is available in the Fedora repos? But I am sure I can work around not having a GUI while waiting for the 7.8.6 release, I find the command line quite workable actually |
On Fedora GRASS GIS 7.8.6 has been published on 2021-11-15. Did you try updating your system? |
Hi Markus, are you sure that's for Fedora 35 and not 36? According to https://src.fedoraproject.org/rpms/grass it's still on 7.8.5, and I did a |
Hi Frank, I overlooked that it didn't migrate automatically to stable in F35... sorry. I just gave it a kick :-) |
Hi Markus, no worries, I mean, you fixed it in the middle of the night. Thanks a ton for your help! |
The problem still persiste after grass have been updated to 7.8.6.2 |
Please add which Fedora version you use along with the wxPython version number. |
Fedora 35 and wxpython4 and python 3.10 |
3.10.0 (default, Oct 4 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] |
I backported #1718 to 7.8 which should fix this problem by using a different wx splash screen widget. I would try wxPython 4.1 (not sure if they fixed it there), or using Python <3.10. |
I have upgraded my system to F35 today and can confirm the bug.
and
|
ok, I see. The new problem is now reported in #2019. |
Note: Installation instruction for Fedora 35 with Python 3.10 version to build a local wxPython 4.1.1 are now found here: |
Info for Fedora 35 users: ---------- Forwarded message --------- https://bugzilla.redhat.com/show_bug.cgi?id=1827788 --- Comment 10 from Scott Talbert --- Once these build successfully in Rawhide, I'll push them to F35 as well. I was able to launch the GRASS GUI on F35 with these changes in place. Please let me know if you find any additional issues. Also, please file a separate bug in the future. |
Version 7.8.7RC1 includes a workaround for a wxPython issue OSGeo/grass#1971 (comment)
Version 7.8.7RC1 includes a workaround for a wxPython issue OSGeo/grass#1971 (comment)
Version 7.8.7RC1 includes a workaround for a wxPython issue OSGeo/grass#1971 (comment)
Version 7.8.7RC1 includes a workaround for a wxPython issue OSGeo/grass#1971 (comment)
Version 7.8.7RC1 includes a workaround for a wxPython issue OSGeo/grass#1971 (comment)
Version 7.8.7RC1 includes a workaround for a wxPython issue OSGeo/grass#1971 (comment)
Version 7.8.7RC1 includes a workaround for a wxPython issue OSGeo/grass#1971 (comment)
Version 7.8.7RC1 includes a workaround for a wxPython issue OSGeo/grass#1971 (comment)
Version 7.8.7RC1 includes a workaround for a wxPython issue OSGeo/grass#1971 (comment)
Describe the bug
I cannot open an existing mapset or create a new one. The wxGUI crashes as soon as I press the "Start GRASS session" button.
To Reproduce
Steps to reproduce the behavior:
Launching GUI in the background, please wait...
GRASS 7.8.5 (newLocation):~/Documents/Kelp > Traceback (most recent call last):
File "/usr/lib64/grass78/gui/wxpython/wxgui.py", line 73, in OnInit
splash = SC.AdvancedSplash(bitmap=introBmp,
File "/usr/lib64/python3.10/site-packages/wx/lib/agw/advancedsplash.py", line 251, in init
self.SetTextFont()
File "/usr/lib64/python3.10/site-packages/wx/lib/agw/advancedsplash.py", line 442, in SetTextFont
self._textfont.SetPointSize(self._textsize)
TypeError: Font.SetPointSize(): argument 1 has unexpected type 'float'
OnInit returned false, exiting...
Expected behavior
Not to have a crash, naturally. :)
System description (please complete the following information):
Details about further software components
version=7.8.5
date=2020
revision=exported
build_date=2021-08-10
build_platform=x86_64-redhat-linux-gnu
build_off_t_size=8
libgis_revision=2021-08-12T05:55:20+00:00
libgis_date=2021-08-12T05:55:20+00:00
proj=8.1.0
gdal=3.3.1
geos=3.9.1
sqlite=3.36.0
3.10.0 (default, Oct 4 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)]
4.0.7 gtk3 (phoenix) wxWidgets 3.0.5
The text was updated successfully, but these errors were encountered: