[GRASS-dev] [bug #4915] (grass) gis.m: cannot use v.in.ogr if no monitor is open

Request Tracker grass-bugs at intevation.de
Fri Jul 28 09:06:07 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4915
-------------------------------------------------------------------------

Subject: gis.m: cannot use v.in.ogr if no monitor is open

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs_head_20060724

When there is no display monitor open, launching v.in.ogr via the file menu in gis.m gives me below error. To reproduce just open a new GRASS session, close the Map Display 1 which is opened automatically and then launch v.in.ogr via the file menu.
r.in.gdal seems to work without any problem.

ERROR: region for current mapset is not set
       run "g.region"
ERROR: region for current mapset is not set
       run "g.region"
    while executing
"exec -- $program --tcltk"
    (procedure "run_ui" line 6)
    invoked from within
"run_ui $cmd"
    (procedure "execute" line 3)
    invoked from within
"execute v.in.ogr "
    invoked from within
".tearoff1 invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .tearoff1 1"
    (command bound to event)

Moritz

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list