Fri, Jul 28 2006
15:06:07
|
|
Request created by guest
|
|
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 |
|
Mon, Jul 31 2006
13:35:15
|
|
Mail sent by mneteler
|
|
... are you sure? Did recompilation solve the problem?
For me it works.
Markus |
|
Mon, Jul 31 2006
15:16:34
|
|
Mail sent by mlennert@club.worldonline.be
|
|
Return-Path |
<mlennert@club.worldonline.be>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<44CE02B5.7000008@club.worldonline.be>
|
Date |
Mon, 31 Jul 2006 15:16:37 +0200
|
From |
Moritz Lennert <mlennert@club.worldonline.be>
|
User-Agent |
Thunderbird 1.5.0.4 (X11/20060713)
|
MIME-Version |
1.0
|
To |
Markus Neteler via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #4915] (grass) gis.m: cannot use v.in.ogr if no monitor is open
|
References |
<20060731113515.23F481006D0@lists.intevation.de>
|
In-Reply-To |
<20060731113515.23F481006D0@lists.intevation.de>
|
Content-Type |
text/plain; charset=ISO-8859-15; format=flowed
|
Content-Transfer-Encoding |
7bit
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-4.155 tagged_above=-999 required=3 tests=[AWL=0.845, BAYES_00=-5]
|
X-Spam-Level |
|
Markus Neteler via RT wrote:
> ... are you sure? Did recompilation solve the problem?
No, I still get:
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
".#menubar.#menubar#file.#menubar#file#menu2.#menubar#file#menu2#menu2
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
.#menubar.#menubar#file.#menubar#file#menu2.#menubar#file#menu2#menu2 1"
(command bound to event)
>
> For me it works.
Did you close the map display and launch v.in.ogr from the file menu ?
Can someone else try ?
Moritz
|
|
Thu, Aug 3 2006
18:04:44
|
|
Mail sent by msieczka
|
|
mlennert@club.worldonline.be wrote (Mon, Jul 31 2006 15:16:34):
> Markus Neteler via RT wrote:
> > For me it works.
> Did you close the map display and launch v.in.ogr from the file menu ?
> Can someone else try ?
I confirm:
1. gis.m
2. close map window
3. run v.in.ogr (on anything, no special test case required):
GRASS_INFO_ERROR(13160,1): region for current mapset is not set
GRASS_INFO_ERROR(13160,1): run "g.region"
The differece in my case is that I don't get the tcltk error as Moritz, only
the error about missing region setting.
What's more however, it seems you can't import ANY data: r.in.* and all the
other v.in.* modules don't work either if Map window is closed and the import
module is started from gis.m.
Maciek
|
|
Thu, Aug 3 2006
18:06:02
|
|
Subject changed to gis.m: import modules don't work when no Map window present; due to region no set by msieczka
|
|
Mon, Aug 28 2006
20:17:11
|
|
Mail sent by mbarton
|
|
Is this fixed now?
Michael |
|
Tue, Aug 29 2006
15:08:03
|
|
Mail sent by mlennert@club.worldonline.be
|
|
Return-Path |
<mlennert@club.worldonline.be>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<44F43C44.1010509@club.worldonline.be>
|
Date |
Tue, 29 Aug 2006 15:08:20 +0200
|
From |
Moritz Lennert <mlennert@club.worldonline.be>
|
User-Agent |
Thunderbird 1.5.0.5 (X11/20060812)
|
MIME-Version |
1.0
|
To |
Michael Barton via RT <grass-bugs@intevation.de>
|
Cc |
tutey@o2.pl
|
Subject |
Re: [bug #4915] (grass) gis.m: import modules don't work when no Map window present; due to region no set
|
References |
<20060828181711.056A71005C0@lists.intevation.de>
|
In-Reply-To |
<20060828181711.056A71005C0@lists.intevation.de>
|
Content-Type |
text/plain; charset=ISO-8859-15; format=flowed
|
Content-Transfer-Encoding |
7bit
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-4.542 tagged_above=-999 required=3 tests=[AWL=0.458, BAYES_00=-5]
|
X-Spam-Level |
|
Michael Barton via RT wrote:
> Is this fixed now?
Yes, seems like it. Bug can be closed.
Moritz
|
|
Tue, Aug 29 2006
15:49:14
|
|
Mail sent by msieczka
|
|
I confirm it's fixed for me too.
Closing it.
Maciek
|
|
Tue, Aug 29 2006
15:49:18
|
|
Status changed to resolved by msieczka
|
|