In case of Python error the traceback log is presented in the Pyton Panel with extraneous lines (empty or with a caret), causing the interpretation of the message difficult, or–worse–the actual error may be overlooked.
Traceback (most recent call last):
File "/dev/grass/dist.aarch64-apple-
darwin23.6.0/gui/wxpython/lmgr/layertree.py", line 1130, in
OnHistogram
win = HistogramPlotFrame(
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
File "/dev/grass/dist.aarch64-apple-
darwin23.6.0/gui/wxpython/wxplot/histogram.py", line 44, in
__init__
BasePlotFrame.__init__(self, parent, giface=giface,
size=size, **kwargs)
File "/dev/grass/dist.aarch64-apple-
darwin23.6.0/gui/wxpython/wxplot/base.py", line 113, in
__init__
self._createColorDict()
File "/dev/grass/dist.aarch64-apple-
darwin23.6.0/gui/wxpython/wxplot/base.py", line 120, in
_createColorDict
for clr in gs.named_colors.keys():
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
AttributeError
:
module 'grass.script' has no attribute 'named_colors'
Describe the bug
In case of Python error the traceback log is presented in the Pyton Panel with extraneous lines (empty or with a caret), causing the interpretation of the message difficult, or–worse–the actual error may be overlooked.
System description
Operating System: all
GRASS GIS version: 8.5 dev
details about further software components