[GRASS5] Re: [GRASSLIST:10341] i.vpoints can't read temp files

On Thu, 16 Feb 2006 14:29:01 -0200
Carlos "Guâno" Grohmann <carlos.grohmann@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.

Don't know how it is currently. Can you try with most recent CVS?

Maciek

--------------------
W polskim Internecie s± setki milionów stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/

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@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

On Thu, 16 Feb 2006 22:10:24 +0100
Markus Neteler <neteler@itc.it> wrote:

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.

Excleellent. Thanks Markus!

Maciek

--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/

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@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@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

Well, I ewnto to d.m.tcl, and it seems that

$env(HOSTTYPE)

is needed for NVIZ in macs. So i just changed from

set HOSTTYPE $env(HOSTTYPE)

to

set HOSTTYPE “pc”

and it is working now!

See ya

Carlos

On 2/16/06, Carlos “Guâno” Grohmann <carlos.grohmann@gmail.com> 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@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@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


±----------------------------------------------------------+
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

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@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@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

OK, Markus, but there’s another problem now…

i.vpoints starts ok, I select my raster and my vector. If I start by zooming in the vector, it goes well. So I zoom in the raster, select the point in raster, then in vector. so far, so good. Now, when I try to zoom some other area of the vector, it crashes and gives this msg: "WARNING: unable to open raster map [name of my VECTOR here]. and then it stops…

Carlos

On 2/16/06, Markus Neteler <neteler@itc.it> wrote:

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@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@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 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


±----------------------------------------------------------+
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