Skip to content

[Bug]: The wxGUI crashes at launch #1971

@jmburgos

Description

@jmburgos

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:

  1. Start GRASS with the "-gui" option.
  2. Select an existing location and mapset, or create a new one.
  3. Press the "Start GRASS session" button
  4. The wxGUI crashes with the following error:
    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):

  • Operating System: Fedora 35
  • GRASS GIS version 7.8.5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIwxGUI relatedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions