Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-11-30 Thread Vaclav Petras
On Fri, Nov 28, 2014 at 4:43 AM, wrote: > +env = grass.gisenv() > +mon = env.get('MONITOR', None) > +if not mon: > +grass.fatal(_("No graphics device selected. Use d.mon to select > graphics device.")) > Is this correct? I'm asking because d.shade(dmap) does not work in wxGUI

Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-11-30 Thread Vaclav Petras
On Sun, Nov 30, 2014 at 5:42 PM, Vaclav Petras wrote: > > On Fri, Nov 28, 2014 at 4:43 AM, wrote: > >> +env = grass.gisenv() >> +mon = env.get('MONITOR', None) >> +if not mon: >> +grass.fatal(_("No graphics device selected. Use d.mon to select >> graphics device.")) >> > > Is

Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-12-01 Thread Glynn Clements
Vaclav Petras wrote: > > +env = grass.gisenv() > > +mon = env.get('MONITOR', None) > > +if not mon: > > +grass.fatal(_("No graphics device selected. Use d.mon to select > > graphics device.")) > > > > Is this correct? Not even remotely. I've removed the MONITOR checks from s

Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-12-01 Thread Markus Neteler
On Mon, Dec 1, 2014 at 5:45 PM, Glynn Clements wrote: > Vaclav Petras wrote: > >> > +env = grass.gisenv() >> > +mon = env.get('MONITOR', None) >> > +if not mon: >> > +grass.fatal(_("No graphics device selected. Use d.mon to select >> > graphics device.")) >> > >> >> Is this cor

Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-12-01 Thread Vaclav Petras
On Mon, Dec 1, 2014 at 12:00 PM, Markus Neteler wrote: > On Mon, Dec 1, 2014 at 5:45 PM, Glynn Clements > wrote: > > Vaclav Petras wrote: > > > >> > +env = grass.gisenv() > >> > +mon = env.get('MONITOR', None) > >> > +if not mon: > >> > +grass.fatal(_("No graphics device sele

Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-12-01 Thread Vaclav Petras
On Mon, Dec 1, 2014 at 11:45 AM, Glynn Clements wrote: > (except for the ones which are wxGUI commands pretending to be > display commands; we still need to decide on a suitable prefix for > those). > We should proceed with this. I still don't understand which options are the one pretending. I c

Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-12-02 Thread Glynn Clements
Markus Neteler wrote: > The issue is this: > > GRASS 7.1.svn (nc_spm_08_grass7):~ > g.region rast=lsat7_2002_30 > GRASS 7.1.svn (nc_spm_08_grass7):~ > d.correlate > map=lsat7_2002_30,lsat7_2002_40 > ERROR: No graphics device selected. Use d.mon to select graphics device. > Traceback (most recen

Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-12-02 Thread Vaclav Petras
On Tue, Dec 2, 2014 at 5:09 PM, Glynn Clements wrote: > Markus Neteler wrote: > > > The issue is this: > > > > GRASS 7.1.svn (nc_spm_08_grass7):~ > g.region rast=lsat7_2002_30 > > GRASS 7.1.svn (nc_spm_08_grass7):~ > d.correlate > map=lsat7_2002_30,lsat7_2002_40 > > ERROR: No graphics device sele

Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-12-03 Thread Glynn Clements
Vaclav Petras wrote: > > > The issue is this: > > > > > > GRASS 7.1.svn (nc_spm_08_grass7):~ > g.region rast=lsat7_2002_30 > > > GRASS 7.1.svn (nc_spm_08_grass7):~ > d.correlate > > map=lsat7_2002_30,lsat7_2002_40 > > > ERROR: No graphics device selected. Use d.mon to select graphics device. > >

Re: [GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

2014-12-05 Thread Vaclav Petras
On Wed, Dec 3, 2014 at 12:54 PM, Glynn Clements wrote: > > Vaclav Petras wrote: > > > > > The issue is this: > > > > > > > > GRASS 7.1.svn (nc_spm_08_grass7):~ > g.region rast=lsat7_2002_30 > > > > GRASS 7.1.svn (nc_spm_08_grass7):~ > d.correlate > > > map=lsat7_2002_30,lsat7_2002_40 > > > > ERRO