[GRASS-dev] [GRASS GIS] #2494: d.vect.thematic broken

#2494: d.vect.thematic broken
--------------------------------------+-------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-releasebranch70
Keywords: d.vect.thematic, d.graph | Platform: Linux
      Cpu: Unspecified |
--------------------------------------+-------------------------------------
Using the NC Example from

http://grass.osgeo.org/grass70/manuals/d.vect.thematic.html#examples

one gets:
{{{
... [all ok]...

GRASS 7.1.svn (nc_spm_08_grass7):~ > v.univar -e elev_sample col=diff
type=point
number of features with non NULL attribute: 200
number of missing attributes: 0
number of NULL attributes: 0
minimum: -26.8796
maximum: 21.2874
range: 48.167
...

GRASS 7.1.svn (nc_spm_08_grass7):~ > d.mon wx0
GRASS 7.1.svn (nc_spm_08_grass7):~ > d.vect.thematic -l elev_sample
column=diff type=point
Thematic map legend for column diff of map elev_sample
Value range: -26.8796 - 21.2874
Mapped by 4 intervals of 12.04175
Color(R:G:B) Value
============ ==========
0:0:255 -26.8796 - 21.2874
d.vect complete.
85:0:170 -26.8796 - 21.2874
d.vect complete.
170:0:85 -26.8796 - 21.2874
d.vect complete.
GRASS 7.1.svn (nc_spm_08_grass7):~ > Command 'd.graph color=black
input=/home/neteler/grassdata/nc_spm_08_grass7/user1/.tmp/oboe.localdomain/23342.0'
failed
Details: Graph file
</home/neteler/grassdata/nc_spm_08_grass7/user1/.tmp/oboe.localdomain/23342.0>
not found
}}}

The file names are indeed different:

{{{
ls /home/neteler/grassdata/nc_spm_08_grass7/user1/.tmp/oboe.localdomain/
23101.0.cmd 23101.0.env 23101.0.ppm.ppm
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2494&gt;
GRASS GIS <http://grass.osgeo.org>

#2494: d.vect.thematic broken
--------------------------------------+-------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-releasebranch70
Keywords: d.vect.thematic, d.graph | Platform: Linux
      Cpu: Unspecified |
--------------------------------------+-------------------------------------

Comment(by mlennert):

Replying to [ticket:2494 neteler]:
> Using the NC Example from
>
> http://grass.osgeo.org/grass70/manuals/d.vect.thematic.html#examples
>
> one gets:
> {{{
> ... [all ok]...
>
> GRASS 7.1.svn (nc_spm_08_grass7):~ > v.univar -e elev_sample col=diff
type=point
> number of features with non NULL attribute: 200
> number of missing attributes: 0
> number of NULL attributes: 0
> minimum: -26.8796
> maximum: 21.2874
> range: 48.167
> ...
>
> GRASS 7.1.svn (nc_spm_08_grass7):~ > d.mon wx0
> GRASS 7.1.svn (nc_spm_08_grass7):~ > d.vect.thematic -l elev_sample
column=diff type=point
> Thematic map legend for column diff of map elev_sample
> Value range: -26.8796 - 21.2874
> Mapped by 4 intervals of 12.04175
> Color(R:G:B) Value
> ============ ==========
> 0:0:255 -26.8796 - 21.2874
> d.vect complete.
> 85:0:170 -26.8796 - 21.2874
> d.vect complete.
> 170:0:85 -26.8796 - 21.2874
> d.vect complete.
> GRASS 7.1.svn (nc_spm_08_grass7):~ > Command 'd.graph color=black
input=/home/neteler/grassdata/nc_spm_08_grass7/user1/.tmp/oboe.localdomain/23342.0'
failed
> Details: Graph file
</home/neteler/grassdata/nc_spm_08_grass7/user1/.tmp/oboe.localdomain/23342.0>
not found
> }}}

I see the same message without the '-l' flag and am a bit stumped about
where this comes from. In d.vect.thematic.py the only call to d.graph
happens if the '-l' flag is set, so this message do not seem to come from
the module itself. <wild guess>Could it be the wx0 monitor that tries to
call the file after d.vect.thematic itself has closed and erased its temp
files ?</wild guess>

Moritz

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2494#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>