Thematic map legend for column popden10 of map
tract2010censusdp1_clipped_02@PERMANENT
Value range: 0.0 - 0.0103575
Color(R:G:B) Value
============ ==========
0:255:0 0 - 25000
ERROR: Neither MONITOR (managed by d.mon command) nor
GRASS_RENDER_IMMEDIATE (used for direct rendering) defined
^GTraceback (most recent call last):
File "/opt/yum-packages-installed-on-the-head-
node/tmp/local/grass-7.0.0svn/scripts/d.vect.thematic", line 1105, in
<module>
main()
File "/opt/yum-packages-installed-on-the-head-
node/tmp/local/grass-7.0.0svn/scripts/d.vect.thematic", line 733, in main
color = linecolor, fcolor = themecolor, icon = icon, size = ptsize)
File "/opt/yum-packages-installed-on-the-head-
node/tmp/local/grass-7.0.0svn/etc/python/grass/script/core.py", line 373,
in run_command
return handle_errors(returncode, returncode, args, kwargs)
File "/opt/yum-packages-installed-on-the-head-
node/tmp/local/grass-7.0.0svn/etc/python/grass/script/core.py", line 308,
in handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: Module run None ['d.vect',
'map=tract2010censusdp1_clipped_02@PERMANENT', 'layer=1',
'fcolor=0:255:0', 'color=none', 'type=area', 'icon=basic/circle', 'wher\
e=popden10 >= 0 AND popden10 <= 25000', 'size=5.0'] ended with error
Process ended with non-zero return code 1. See errors in the (error)
output.
}}}
#2521: d.vect.thematic, "Neither MONITOR (managed by d.mon command) nor" error
-----------------------------+----------------------------------------------
Reporter: jamesp670 | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-releasebranch70
Keywords: d.vect.thematic | Platform: Linux
Cpu: x86-64 |
-----------------------------+----------------------------------------------
Comment(by martinl):
You need to enable direct rendering (1) or start graphic monitor (2) to
use d.vect.thematic. Now the module prints the error message without
traceback:
{{{
d.vect.thematic obce_polygon column=statuskod
ERROR: Neither MONITOR (managed by d.mon command) nor
GRASS_RENDER_IMMEDIATE (used for direct rendering) defined)
}}}
Replying to [comment:2 martinl]:
> You need to enable direct rendering (1) or start graphic monitor (2) to
use d.vect.thematic.
I think that the error message is quite informative but it seems that
without documenting this behavior, people just consider this as an bug
rather than wrong usage of interface.