Opened 7 years ago
Closed 6 years ago
#3542 closed defect (fixed)
cannot set default font in preferences
Reported by: | cmbarton | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 7.4.1 |
Component: | wxGUI | Version: | 7.2.2 |
Keywords: | wxgui, font | Cc: | |
CPU: | Unspecified | Platform: | MacOSX |
Description
I cannot set any font in preferences. It raises a GUI python error. The result is that I get no text in some parts of the output (e.g. d.grid). Here is the error:
Traceback (most recent call last):
File "/Applications/GRASS-7.2.2.app/Contents/Resources/gui
/wxpython/gui_core/preferences.py", line 1994, in OnSetOutputFontCustomDialog
type='outputfont')
File "/Applications/GRASS-7.2.2.app/Contents/Resources/gui
/wxpython/gui_core/dialogs.py", line 2474, in init
pos=(2, 0))
File "/Applications/GRASS-7.2.2.app/Contents/Resources/lib
/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_core.py", line 15935, in Add
return _core_.GridBagSizer_Add(*args, kwargs) wx._core . PyAssertionError : C++ assertion "CheckForIntersection(item)" failed at /Users/chris.barker/miniconda/conda-bld/work/wxPython- src-3.0.2.0/src/common/gbsizer.cpp(223) in Add(): An item is already at that position
Change History (4)
comment:1 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 6 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This is still broken in GRASS 7.2.2 for the map display (works for command output font). Here is the error
Traceback (most recent call last):
File "/Applications/GRASS-7.2.2.app/Contents/Resources/gui
/wxpython/gui_core/preferences.py", line 1961, in OnSetFont
type='font')
File "/Applications/GRASS-7.2.2.app/Contents/Resources/gui
/wxpython/gui_core/dialogs.py", line 2489, in init
self.fontlb.SetStringSelection(fontdict_reverse[self.font], True) KeyError : 'Helvetica'
comment:3 by , 6 years ago
This is fixed in 7.4 release branch on up. I don't know if anyone has backported the fix to 7.2
comment:4 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in r72586, backported in r72587, r72588.