[GRASS-user] error: too many nested evaluations

While importing a polygon with v.in.ogr I've received the following
message on the console:

too many nested evaluations (infinite loop?)
    (procedure "Gronsole::add_data_tag" line 1)
    invoked from within
"Gronsole::add_data_tag $path $ci out"
    (procedure "Gronsole::readout" line 13)
    invoked from within
"Gronsole::readout $path $ci $mark $fh"
    invoked from within
"if [eof $fh] {
                Gronsole::readeof $path $ci $mark $fh
                Gronsole::done_command $path $ci
        } else {
                Gronsole::readout $path $ci $mark $fh
        }"
    (procedure "Gronsole::file_callback" line 2)
    invoked from within
"Gronsole::file_callback .gronsole.gronsole 41 cmdinsert41 file9"

and the process stalls...
This is the output until the crash:
http://www.geospatial.it/allegri/v.in.ogr_console.txt

Giovanni

G. Allegri wrote:

While importing a polygon with v.in.ogr I've received the following
message on the console:

too many nested evaluations (infinite loop?)
    (procedure "Gronsole::add_data_tag" line 1)
    invoked from within
"Gronsole::add_data_tag $path $ci out"
    (procedure "Gronsole::readout" line 13)
    invoked from within
"Gronsole::readout $path $ci $mark $fh"
    invoked from within
"if [eof $fh] {
                Gronsole::readeof $path $ci $mark $fh
                Gronsole::done_command $path $ci
        } else {
                Gronsole::readout $path $ci $mark $fh
        }"
    (procedure "Gronsole::file_callback" line 2)
    invoked from within
"Gronsole::file_callback .gronsole.gronsole 41 cmdinsert41 file9"

and the process stalls...
This is the output until the crash:
http://www.geospatial.it/allegri/v.in.ogr_console.txt

Try removing the "update" call from the end of ProgressBar::_modify,
at the bottom of $GISBASE/bwidget/progressbar.tcl.

--
Glynn Clements <glynn@gclements.plus.com>

I can't see any "*_modify" nor "update" inside progressbar.tcl

2008/9/18 Glynn Clements <glynn@gclements.plus.com>:

G. Allegri wrote:

While importing a polygon with v.in.ogr I've received the following
message on the console:

too many nested evaluations (infinite loop?)
    (procedure "Gronsole::add_data_tag" line 1)
    invoked from within
"Gronsole::add_data_tag $path $ci out"
    (procedure "Gronsole::readout" line 13)
    invoked from within
"Gronsole::readout $path $ci $mark $fh"
    invoked from within
"if [eof $fh] {
                Gronsole::readeof $path $ci $mark $fh
                Gronsole::done_command $path $ci
        } else {
                Gronsole::readout $path $ci $mark $fh
        }"
    (procedure "Gronsole::file_callback" line 2)
    invoked from within
"Gronsole::file_callback .gronsole.gronsole 41 cmdinsert41 file9"

and the process stalls...
This is the output until the crash:
http://www.geospatial.it/allegri/v.in.ogr_console.txt

Try removing the "update" call from the end of ProgressBar::_modify,
at the bottom of $GISBASE/bwidget/progressbar.tcl.

--
Glynn Clements <glynn@gclements.plus.com>

The problem is related to v.in.ogr GUI. It doesn't happen when called
from shell.
It was also reported some years ago [1]

[1] http://intevation.de/rt/webrt?serial_num=2937&display=History

2008/9/17 G. Allegri <giohappy@gmail.com>:

While importing a polygon with v.in.ogr I've received the following
message on the console:

too many nested evaluations (infinite loop?)
   (procedure "Gronsole::add_data_tag" line 1)
   invoked from within
"Gronsole::add_data_tag $path $ci out"
   (procedure "Gronsole::readout" line 13)
   invoked from within
"Gronsole::readout $path $ci $mark $fh"
   invoked from within
"if [eof $fh] {
               Gronsole::readeof $path $ci $mark $fh
               Gronsole::done_command $path $ci
       } else {
               Gronsole::readout $path $ci $mark $fh
       }"
   (procedure "Gronsole::file_callback" line 2)
   invoked from within
"Gronsole::file_callback .gronsole.gronsole 41 cmdinsert41 file9"

and the process stalls...
This is the output until the crash:
http://www.geospatial.it/allegri/v.in.ogr_console.txt

Giovanni