[GRASSLIST:10350] Re: [GRASS5] Re: i.vpoints can't read temp files
Markus Neteler
neteler at itc.it
Thu Feb 16 17:06:36 EST 2006
Carlos,
fixed (taken from gis.m) by changing:
-set HOSTTYPE $env(HOSTTYPE)
+if {[info exists env(HOSTTYPE)]} {
+ set HOSTTYPE $env(HOSTTYPE)
+} else {
+ set HOSTTYPE ""
+}
Please update from CVS.
Markus
On Thu, Feb 16, 2006 at 07:52:41PM -0200, Carlos "Guâno" Grohmann wrote:
> Thanks for the fix, Markus. i.vpoists is working, the problem now is that my
> new compilation can't run d.m:
>
> GRASS 6.1.cvs (am_sul_SAD69):~ > Error in startup script: can't read
> "env(HOSTTYPE)": no such variable
> while executing
> "set HOSTTYPE $env(HOSTTYPE)"
> (file "/usr/local/grass-6.1.cvs/etc/dm/d.m.tcl" line 42)
>
>
> Now I only have the terminal.
>
> Carlos
>
>
> On 2/16/06, Markus Neteler <neteler at itc.it> wrote:
> >
> > On Thu, Feb 16, 2006 at 07:02:16PM +0100, Maciek Sieczka wrote:
> > > On Thu, 16 Feb 2006 14:29:01 -0200
> > > Carlos "Guâno" Grohmann <carlos.grohmann at gmail.com> wrote:
> > >
> > > > Hello all, I just compile the last wekk CVS, and tried to rectify a
> > > > raster scanned map with i.vpoints, but when I try to select a vector
> > > > to be used as reference, it crashes and gives this msg at the bottom
> > > > of the window: "ERROR: ask_gis_files: can't read tempfile"
> > > >
> > > > Any ideas?
> > >
> > > Carlos
> > >
> > > For the record: I confirm the behaviour you describe - I had it on my
> > > friend's box with Grass 6.1 CVS from mid December 2005.
> > >
> >
> > I have debugged and found the problem - a wrong positioned
> > G_free() in i.find which is called by i.points and i.vpoints.
> >
> > It's fixed in 6.1-CVS now.
> >
> > Markus
> >
> >
>
>
> --
> +-----------------------------------------------------------+
> Carlos Henrique Grohmann - Guano
> Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
> Linux User #89721 - carlos dot grohmann at gmail dot com
> +-----------------------------------------------------------+
> _________________
> "Good morning, doctors. I have taken the liberty of removing Windows 95 from
> my hard drive."
> --The winning entry in a "What were HAL's first words" contest judged by
> 2001: A SPACE ODYSSEY creator Arthur C. Clarke
--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the grass-user
mailing list